Page 1 of 3

Blank Backend Page

Posted: Mon Apr 02, 2012 4:41 am
by ogtp
Hi,

Its strange. I got blank page in the backend, I can see only the logout butoon, please see the picture attached, only for any user who has: Manager or Administrator access level.

Its fine when the user has: Super Power access level.

Please help.

Thanks

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 4:34 pm
by ShMaunder
At a guess, the access level 'Special' only had the 'Super Users' group ticked?

Check by logging into backend with super user then Users->Access Levels. Click on Special and see if "Manager", "Author" and "Super Users" are all ticked.

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:04 pm
by richardtuttle
I am having the same issue since upgrading this morning. The frontend appears just fine, but when I try to access the Admin section it givens a blank screen (except for the header/footer graphics) and no login entry availability at all -- just as the image in the first post above.

I have attempted accessing it via other browsers, clearing my cache, etc. all to no avail!

Ugh ... any suggestions on being able to access the Admin backend once again?!?

:-\

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:08 pm
by ShMaunder
richardtuttle wrote:I am having the same issue since upgrading this morning. The frontend appears just fine, but when I try to access the Admin section it givens a blank screen (except for the header/footer graphics) and no login entry availability at all -- just as the image in the first post above.

I have attempted accessing it via other browsers, clearing my cache, etc. all to no avail!

Ugh ... any suggestions on being able to access the Admin backend once again?!?

:-\
So its automatically logging you into Joomla's backend without authentication?

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:11 pm
by richardtuttle
It's not logging in at all. I attempt to get to the login screen (where it usually asks for the username/password) and it's simply a blank page ... it looks just like the image that was attached in the originating post here. ???

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:15 pm
by ShMaunder
Hmm, can you access /administrator/index.php?option=com_users ?

Obviously if you can then thats a security problem. The other thread in http://forum.joomla.org/viewtopic.php?f=624&t=707759 has exactly the same problem.

Can you list your extensions please.

Edit: link was wrong

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:19 pm
by richardtuttle
ShMaunder wrote:Hmm, can you access /administrator/index.php?option=com_users ?

Obviously if you can then thats a security problem. The other thread in http://forum.joomla.org/viewtopic.php?f=624&t=707759 has exactly the same problem.

Can you list your extensions please.

Edit: link was wrong
Yes I can see the complete list of users. However, there is no menu icons and no direct way to access anything else (control panel or otherwise). :( I know that we don't have very many extensions currently installed but don't know the list offhand and cannot access the Control Panel in order to give you a listing...

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:23 pm
by ShMaunder
richardtuttle wrote:
ShMaunder wrote:Hmm, can you access /administrator/index.php?option=com_users ?

Obviously if you can then thats a security problem. The other thread in http://forum.joomla.org/viewtopic.php?f=624&t=707759 has exactly the same problem.

Can you list your extensions please.

Edit: link was wrong
Yes I can see the complete list of users. However, there is no menu icons and no direct way to access anything else (control panel or otherwise). :( I know that we don't have very many extensions currently installed but don't know the list offhand and cannot access the Control Panel in order to give you a listing...
OK, it is essential to get this list of extensions. There appears to be 4 users now affected by this (or something similar).

If you took a backup before the upgrade, roll back.

You can get a list of the extensions by looking in your SQL database (plugins table).

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:28 pm
by richardtuttle
List of extensions installed:
* Xmap
* Modules Anywhere
* Phoca PDF
* Phoca Gallery
* Phoca Maps
* Fox Contact
* DirectPHP
* Simple File Upload

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:38 pm
by ShMaunder
richardtuttle wrote:List of extensions installed:
* Xmap
* Modules Anywhere
* Phoca PDF
* Phoca Gallery
* Phoca Maps
* Fox Contact
* DirectPHP
* Simple File Upload
Cool, i'll post that in the other threads in a moment.

Also, is anything listed in <Joomla>/logs/error.php OR your web server logs (e.g. Apache logs) during the upgrade?

Edit: here is the other thread with it in http://forum.joomla.org/viewtopic.php?f=615&t=707758

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:43 pm
by richardtuttle
ShMaunder wrote:Also, is anything listed in <Joomla>/logs/error.php OR your web server logs (e.g. Apache logs) during the upgrade?
No, nothing in the Joomla error log file at all.

And in the Apache error log file I just found the following entry: "[Mon Apr 02 11:26:15 2012] [error] File does not exist: /home/atavolab/public_html/administrator/sys_cpanel, referer: http://108.60.141.4/~atavolab/administrator/login.php"

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 6:56 pm
by ShMaunder
I believe the only way you'll fix this is to follow this link http://docs.joomla.org/Upgrading_from_a ... ng_version (look at Method C).

You may want to post/follow in http://forum.joomla.org/viewtopic.php?f ... &p=2779328 as well.

Edit: Make sure you backup your site before doing anything more. If the above fails then restore back to the backup you hopefully took before the initial upgrade. You should be good from a security POV (2 low priority security fixes in 2.5.4) until this issue can be resolved.

Re: Blank Backend Page

Posted: Mon Apr 02, 2012 9:35 pm
by DeltaCreative
I have the same blank back end Admin page as well. I went as far as nuking the administrator folder and uploading new files from the full package. No Change.

Re: Blank Backend Page

Posted: Tue Apr 03, 2012 2:29 am
by FrogButt22
I am having the same issue with my website when I log into the backend. No menu bar no icons nothing Please help I am under a deadline and I have no way to rollback my website. Please tell me there is an easy fix.

Re: Blank Backend Page

Posted: Tue Apr 03, 2012 5:37 am
by tripthelight
Interesting, I'm having the same problem and described in the exact same way... I can also access my users list via access /administrator/index.php?option=com_users. Hmmm... going to try the manual installation of the upgrade and then, if that doesn't work, roll it back.

Re: Blank Backend Page

Posted: Tue Apr 03, 2012 7:53 pm
by DeltaCreative
This problem is popping up under several different topics... I would urge users to read the topic titles before adding a new one. Together we may have a better chance of getting to the bottom of this bug...

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 4:48 pm
by richardtuttle
Finally, a solution that worked for me: I replaced the controller.php with the version from 2.5.3 and also replacing line 30 of helper.php (path: administrator/includes) from
if (!$user->authorise('core.login.admin')) {
to
if ($user->get('guest')) {

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 6:04 pm
by jeffhicks
I tried this and it didn't work. Any other suggestions?

Jeff

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 6:09 pm
by tiranianu
What exactly controller.php want replace ?

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 6:28 pm
by gdarnton
Thanks richardtuttle. That worked for me. :)
It is worth mentioning that the controller.php I replaced is located in administrator/components/com_admin. Others may be looking for it. I found the helper.php where you indicated.

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 6:45 pm
by tiranianu
Not work for me , again : Username and password do not match or you do not have an account yet.
PLEASE HELP

Re: Blank Backend Page

Posted: Wed Apr 04, 2012 6:58 pm
by jeffhicks
OK, I went back and retyped the new code in the helper.php and it worked! Thanks so much all!!!

Re: Blank Backend Page

Posted: Thu Apr 05, 2012 6:48 pm
by cojackpilot
richardtuttle wrote:Finally, a solution that worked for me: I replaced the controller.php with the version from 2.5.3 and also replacing line 30 of helper.php (path: administrator/includes) from
if (!$user->authorise('core.login.admin')) {
to
if ($user->get('guest')) {
It worked for me!!! I don't know how you came up with this solution, but it's BRILLIANT! thanks a lot..

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 4:12 pm
by Structures
Sorry guys newbie here. Where is controller?

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 4:19 pm
by Structures
OK I found the controller folder Do I swap, overwrite the whole (Profile.php) file?

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 4:52 pm
by Structures
OK I have replaced the Controller.php and replaced line 30
Still no joy

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 9:06 pm
by ShMaunder
http://joomlacode.org/gf/project/joomla ... m_id=28354

The issue described in this thread has been "fixed" in the latest trunk.

---

Symptoms

This fix addresses the following symptoms (all of these must be a symptom):
  • Automatic login to backend
  • Attempting to logout of backend fails
  • Backend login form never shows
  • The admin modules such as main menu are missing or the backend is blank
  • List of users are shown when browsed to /administrator/index.php?option=com_users&view=users
  • Upgraded to Joomla! 2.5.4

Why is this happening

The Global Configuration's permissions for "Admin Login" has been set to allowed for the Public group. This could occur through a bad default or a user misconfiguration.


How to fix

There are two methods that should fix this. The first method doesn't require any modifications to core files and fixes the root cause of the problem (recommended). The second method requires a core file change and should only be attempted if the first method failed.

First Method
1) Browse to /administrator/?option=com_login
2) At the login form, enter a super user's username and password
3) Go to Site->Global Configuration then click on the "Permissions" tab
4) Under the Public drop down, set the "Admin Login" to "Not Set". Note: you should set all values in this Public drop down list to "Not Set" (http://forum.joomla.org/viewtopic.php?f ... 8#p2785053).
5) Click Save & Close
6) Try to log out and if the login form appears, this method worked and your site should be fixed.

Assumption: the "Guest User Group" setting located in the "User Manager" options is set to 'Public'.

Second Method
Replace the contents of /administrator/includes/helper.php with the contents on https://raw.github.com/joomla/joomla-cm ... helper.php. This fix will be included in J! 2.5.5.

After regaining access, you should go to the Global Configuration->Permissions then set the Public "Admin Login" to "Not Set". It might be a good idea to check all the permissions in this section to ensure it has the correct settings.

Update: several people have confirmed this fixes the issues as outlined in the symptoms.

Post Edits
07/04 21:44 - Added a better fix to the post
07/04 22:11 - Made the fix clearer
10/04 21:20 - Added assumptions to fix and tidied method 2

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 9:53 pm
by Structures
It has not fixed it for me. I just tried the steps again.

Re: Blank Backend Page

Posted: Fri Apr 06, 2012 9:57 pm
by ShMaunder
OK, so you cannot logout of the backend, correct?

Did you also try to replace all the files (i.e. method C from the upgrade Wiki)?

Basically, we need to establish this is the same problem and not something like a module or access level problem.

Edit: @Structures - I've edited the post above, it now contains symptoms. Do you get all of those symptoms? If not then you have a different problem.

Re: Blank Backend Page

Posted: Sat Apr 07, 2012 2:33 am
by NorfolkBroad
I have this problem too. After the upgrade to 2.5.4 a couple of days ago everything seemed fine. I've only uploaded a few photos and videos via the frontend (which is working fine) in the meantime, but I tried to log in to the backend because I wanted to add a menu item and it went to the blank page with headers and footers as per the image posted earlier. I'm already logged in and I can't log out. I'm using one of the two super user accounts to login on the frontend and wondered if this was fooling the backend to think I was logged in there too. I overwrote the files with the full 2.5.4 installation package. Deleted the installation folder and tried accessing the backend again but nothing has changed.

I've just tried accessing /administrator/index.php?option=com_users and it lets me in - even though it didn't ask me for any login details.

Will go and try the change to the helper file suggested above and report back.