Can't get into admin section
Posted: Wed May 04, 2005 4:01 pm
I installed cms 0.9.2 on my local computer for testing, and installation went great, I could view the new site. Wonderful... until I tried to get into the admin section. :/ It showed the login screen, and I logged in properly. It said it was redirecting me to admin/index.php, and then I got this blank page. Looking at the source, it contained the skeleton of an html page with the contents of admin/tab.php and admin/style.php inside it, but with the "php" stripped from the open tags. Very odd. Yes, PHP works properly on my system. I've been testing several other CMSs this last couple weeks, and of course, the front page worked fine.
Here's the Apache log for that error:
I tried replacing $userid with get_userid() in tab.php, but that didn't change anything.
Ok, so after reinstalling and still getting the problem, I decided to try a beta. So now I've installed 0.10-beta2. I'm getting almost the same problem. Admin page is still blank, but now I'm not getting a login screen, and the page source doesn't contain anything except the html skeleton. And here's the Apache error log for this one:
System stats:
WinXP SP2
Apache 2.0.53/PHP 4.3.10
MySQL 4.1
Help? :/
Here's the Apache log for that error:
Code: Select all
[client 127.0.0.1] PHP Notice: Undefined variable: userid in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\cms\\admin\\tab.php on line 6, referer: http://localhost/cms/admin/
Ok, so after reinstalling and still getting the problem, I decided to try a beta. So now I've installed 0.10-beta2. I'm getting almost the same problem. Admin page is still blank, but now I'm not getting a login screen, and the page source doesn't contain anything except the html skeleton. And here's the Apache error log for this one:
Code: Select all
[client 127.0.0.1] PHP Parse error: parse error in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\cms\\admin\\index.php on line 142
WinXP SP2
Apache 2.0.53/PHP 4.3.10
MySQL 4.1
Help? :/