adminstration page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ltdb
New Member
New Member
Posts: 4
Joined: Fri Feb 06, 2009 10:31 am

adminstration page

Post by ltdb »

Hi,

our site has been running for a while without any problem. Today we are suddenly unable to see the administration page : when going to mysite/admin there is a blank page (no error message) instead of the login form of the admin console...

What should i do ?

Cheers,

Laurent
the.c
New Member
New Member
Posts: 9
Joined: Mon Mar 03, 2008 11:42 pm

Re: adminstration page

Post by the.c »

Same here.. One blank screen, no error message. Admin panel can't be accessed. As far is I know there have been no changes and I am the only administrator. There is one user with limited rights. The admin folder shows an error.log saying:

[06-Feb-2009 14:00:00] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[06-Feb-2009 14:00:00] PHP Fatal error:  Unknown: Failed opening required '/home/site/domains/domainname.com/public_html/admin/login.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0

The login.php file in the admin folder can't be downloaded (to check) and the file attributes can't also be changed. Is this normal and always set to 700? Downloaded the version.php page to check, and yes, this version can surely be updated (1.2.3). But will that solve my problem?

The front end seems to have no problem HOWEVER the logo does not show (which is - still, I checked - in the folder uploads/images).

Oh, and off course I checked this both in Firefox and IE.

Anybody any ideas?
Last edited by the.c on Fri Feb 06, 2009 1:46 pm, edited 1 time in total.
ltdb
New Member
New Member
Posts: 4
Joined: Fri Feb 06, 2009 10:31 am

Re: adminstration page

Post by ltdb »

Our cms is version 1.4.1.
Our front end is perfectly fine.
I can download the login.php file in the admin folder and the file attribute is 755...
I did not find an error.log in the admin folder.

Hope this helps,

Laurent
Last edited by ltdb on Fri Feb 06, 2009 2:08 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: adminstration page

Post by Dr.CSS »

Sounds like you both need to speak to your host to see if they have made any changes to your server, added some security settings etc...
the.c
New Member
New Member
Posts: 9
Joined: Mon Mar 03, 2008 11:42 pm

Re: adminstration page

Post by the.c »

That makes sense indeed. Difficult process however, with the given (not my) hosting provider. I'll do my best and will (hopefully soon) let you know if this is the issue. Thanks for your reply!
ltdb
New Member
New Member
Posts: 4
Joined: Fri Feb 06, 2009 10:31 am

Re: adminstration page

Post by ltdb »

Hi,

I talked to the guys in charge of the server hosting our website (within our university). They are baffled by the problem : they did not change anything in the security or php version, they did not find anything weird in the server logs. It seems that index.php in the admin/ folder runs correctly but stops once the file "../include.php" is included, and nothing happens...

What's strange is that another site using CMS MS runs fine, i.e. you can see the admin page fine.


Any idea of what's going on ?

Cheers,

Laurent 
Pierre M.

Re: adminstration page

Post by Pierre M. »

the.c
New Member
New Member
Posts: 9
Joined: Mon Mar 03, 2008 11:42 pm

Re: adminstration page

Post by the.c »

Hi Pierre,

Point taken. Support would off course be nice, but when not getting it we're trying to help another, and hopefully ourselves. This concerns a site which is not mine, my time is also very limited and I won't get better or richer updating that site. Maybe you understand that I have to choose which person or sites needs my attention first and get the most of my time, since I know finding the answer to this kind of things can be time consuming. I'm trying to help someone too. I cannot contact the hosting party directly myself as well, so in this case it won't go easy or fast.

HOWEVER.. I noticed that the permission rights were all the same. So that's why I suspect that the hosting company migrated the files/site to another server. The rights of the logo which was not showing was set to 700 and unchangeable. Re-upload and setting the right permissions did solve that issue. Did not work however for admin/login.php, admin/loginstyle.php and admin/logout.php  however. Those were the unchangeable files. Or did I miss one? Tried index.php.
the.c
New Member
New Member
Posts: 9
Joined: Mon Mar 03, 2008 11:42 pm

Re: adminstration page

Post by the.c »

Well, it all works again! Took a previous backup and replaced (by rename and re-upload) a few files. I checked also the admin/login.php file and took a look at referred files. Those were ../include.php and ../lib/classes/class.user.inc.php. Changing those rights helped out. Then a few images didn't show (logout-button and logo image on login-page) and that was it. My best guess is still it was a server migration, then a lot of permissions were reset to 700. Hope it helps out someone else! What about you Laurent?
ltdb
New Member
New Member
Posts: 4
Joined: Fri Feb 06, 2009 10:31 am

Re: adminstration page

Post by ltdb »

Hi all,

So after all this time, it turns out that the minimum memory used by the php scripts in cms-ms is 16M, for some reason the tech-guys in charge of our server did set it down to 8. This prevented our site to work well, and in particular, the admin page was blank. The bad news is that nothing appeared in the logs... If someone experiences the same problem, it might be helpful to check the memory allocated for Php...

Cheers,

Laurent
Post Reply

Return to “CMSMS Core”