PEQ DB Editor, index.php blank.
Ok, I'll tell ya what you guys want to know, 127.0.0.1 via Firefox displays my c:/web directory with all the items from the DB editor.
I goto index.php......Just a blank page. Apache / PHP ver: Apache/2.0.64 (Win32) PHP/5.2.17 Any thoughts? |
Inside your php.ini check for:
short_open_tag = On |
Yeah got that, guess there was 2 places for it. Still blank :(
|
Post your editor's config (use **** over the password)
|
PHP Code:
|
What happens when you view-source the blank page?
|
Shows nothing.
|
And in case it gets asked if I checked if php is set up correctly:
Quote:
|
Have you tried creating a basic .php file to see if it is compiling php code?
|
Turn on display_errors and log_errors in your php.ini. If they're off, a fatal error could be occurring and it not getting displayed. Also, check your php error log (not sure where this is by default on windows).
|
Guess there was a fatal error:
Fatal error: Call to undefined function mysql_connect() in C:\web\classes\mysql.php on line 6 |
Yeah, definitely something wrong with your setup. That is a basic function in php.
|
After a bunch of searches, it appears php isn't recognizing mysql. By that I mean the phpinfo page isn't spitting out any info about mysql.
Now the question is, where to start from, if not from scratch. |
Maybe reinstall php? You should check in your php folder to see if the libmysql.dll is present and in your php.ini there is an extension for mysql, mysqli, and pdo. Also check the ini for the default mysql socket. Then check the mysql section to ensure everything is present.
|
Wow....really....extension=php_mysql.dll was commented out....
Read, fixt! Now to see what to do about fixing the invalid login issue, I saw a bunch of stuff on that, Im sure I'll figure that out.....I hope |
All times are GMT -4. The time now is 05:51 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.