简体   繁体   中英

Joomla 1.7 - blank administator page

Until few weeks after installing and configuring Joomla, administrator panel stopped working. After going to http://xxx.pl/administrator or .../administrator/index.php there is nothing but blank page. It's weird, but when I moved all content of configured Joomla to subfolder, let's say "abc" everything was OK. I've searched many times on many forums but all answers was like "Try to reinstall it". Is there any other way to fix it?
EDIT: I'll add here what I wrote in comments below.

  • Cleaning browser cache changes nothing
  • Problem exists on Firefox, Chrome, IE 8-9
  • Logs are empty

Really annoying thing is that everything works fine after copying whole Joomla into its subfolder. Maybe re-configurating .htaccess file? If yes, how to redirect all the pages to their copy in its subfolder? I mean:

  • example.com => example.com/abc
  • example.com/administrator => example.com/abc/administrator
  • etc.

What is the HTTP status code when you try accessing it?

(If you are unsure how to see this information, please take a look at: View HTTP headers in Google Chrome? )

If the status code is 500, add:

ini_set('display_errors', 1);
error_reporting(E_ALL);

at the top of your /administrator/index.php and see if any error shows up.

If the error you receive is something else, are you sure your Apache DocumentRoot or your vhost configuration is OK?

I suddenly started getting a blank page on all the administrator backend login pages on my sites, could not access the admin section when only the day before it was all working, I had changed nothing server side.

Fortunately after a little testing and checking with other browsers (that were working fine) I notice at some point I must have disabled the java script in firefox, once I enabled it again all went back to normal, logging in again was a back to normal, no blank page.

Hope this helps someone with their issue.

  1. Check if PHP is broken. Put a very simple script (eg <?php echo '1'; ?> ) in your document root, navigate to it with a web browser, and observe whether or not PHP is working.
  2. What happens if you execute the index.php script directly from the command-line? Eg $ /path/to/php /path/to/joomla/administrator/index.php Do you get reasonable output or errors? You might want to redirect the output to a file (eg > test.html ) and navigate to that file in your web browser to see if it contains anything useful.

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