Yikes... trying to get to admin pages does scary things

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
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

Yikes... trying to get to admin pages does scary things

Post by wakewatcher »

All of a sudden (since yesterday) when I try to go to my admin page i.e.  (www.mycmsmadesimple.com/admin) using Chrome I get a "Error 320 (net::ERR_INVALID_RESPONSE): Unknown error." and worse yet on FF or IE I actually get the browser offering to download www.mycmsmadesimple.com/admin/index.php!  My site is very simple and I just use it for simple content and it still seems to work but I can't get to the admin page.  I'm the only one with an login to this instance of CMS.  I'm guessing/hoping this isn't a cmsmadesimple problem and am hopeful someone can tell me what I broke.  Thanks.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Yikes... trying to get to admin pages does scary things

Post by Russ »

I cannot get to the site, is your server down or having problems?
pishkus

Re: Yikes... trying to get to admin pages does scary things

Post by pishkus »

I have the same problem with logging in to my site admin panel.

I've managed to find out that the problem was caused byu the following line in admin/index.php script:

Code: Select all

$txt = @file_get_contents($url);
The $url script was trying to get is defined in include.php in root folder of cmsms:

Code: Select all

define('CMS_DEFAULT_VERSIONCHECK_URL','http://dev.cmsmadesimple.org/latest_version.php');
A we can see the notice on site header, the dev server is down.

So the problem can temporarily be solved by commenting out the line in admin/index.php
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

Re: Yikes... trying to get to admin pages does scary things

Post by wakewatcher »

Pishkus: It is working this morning.  But I (think) I understand what you are pointing out.  I find it very odd that the design of cmcms is such that when the dev server is down that it inhibits administration from all of our production sites.
Post Reply

Return to “CMSMS Core”