Page 1 of 1

adminstration page

Posted: Fri Feb 06, 2009 10:46 am
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

Re: adminstration page

Posted: Fri Feb 06, 2009 1:40 pm
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?

Re: adminstration page

Posted: Fri Feb 06, 2009 2:05 pm
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

Re: adminstration page

Posted: Fri Feb 06, 2009 6:11 pm
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...

Re: adminstration page

Posted: Fri Feb 06, 2009 9:18 pm
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!

Re: adminstration page

Posted: Fri Feb 13, 2009 3:31 pm
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 

Re: adminstration page

Posted: Tue Feb 17, 2009 4:40 pm
by Pierre M.

Re: adminstration page

Posted: Wed Feb 18, 2009 8:56 pm
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.

Re: adminstration page

Posted: Wed Feb 18, 2009 10:27 pm
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?

Re: adminstration page

Posted: Tue Mar 17, 2009 1:59 pm
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