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 |
So...doesn't like the root password I put in config.php...but it'll take a default admin / password
|
The username/password are stored in the database under peq_admin. The password for root is just your database root password, not your editor password. If you fill in the username/password in the config, it just auto fills in the username/password you select just so you don't have to type it.
EDIT: Just in case you ask - Code:
UPDATE peq_admin SET login = "new_username", password = MD5("new_password") WHERE id = 1; |
I actually changed it via the user manager in the PEQ editor.
Now my only little quirk is after I sumbit any DB changes I get a page of undefined errors, although the changes still goes through. Tolerable, but mildly annoying. |
Then you still have some things wrong. If you want to troubleshoot, post the errors. Maybe post your php.ini and we might find more.
|
All times are GMT -4. The time now is 08:58 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.