简体   繁体   中英

Moved Joomla from subdirectory to root and suddenly get “Strict Standards” error…?

I upgraded from Joomla 1.5 to 2.3 and after moving it from a sub-directory to root, I could not access the administrator page (which previously worked fine). After logging in, I was presented with a blank page. I modified configuration.php, changing $error_reporting to maximum to try and track down the problem. Now, after logging in, I am presented with:

Strict Standards: Non-static method LoginController::login() should not be called statically in /home/diamonde/public_html/administrator/components/com_login/admin.login.php on line 21 Fatal error: Call to a member function login() on a non-object in /home/diamonde/public_html/administrator/components/com_login/admin.login.php on line 64

I am baffled. Where do I even begin to resolve this problem?

Thank you in advance for any assistance!

SOLUTION!!!!!!

I had simply copied over my old Joomla 1.5 with my new 2.5 thinking it would over-write all files (and, well, it did). HOWEVER, there were also old 1.5 files still hanging around which were causing problems. I have no idea how or why—it doesn't make sense that the mere presence of unused files could cause issue—but nonetheless, that is the case. Deleting the ENTIRE public_html directory FIRST, THEN copying in the new 2.5 fixed all my problems.

Hope this is helpful to someone who makes the same mistake!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM