[SOLVED] - 'Cannot Display the Webpage' message randomly appearing

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.
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

[SOLVED] - 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

Hi all,

I have a problem with a CMSMS site I am currently building.  Whilst working in the admin section or simply browsing the pages I keep getting the 'Internet Explorer cannot display the webpage' message.  It occurs pretty randomly but everything is usually ok after a quick press of the refresh button.

Im guessing that this might not be a problem with CMSMS and could be more to do with the hosting company.  However, I am inexperienced at things like this so I don't really know.

I would really appreciate it if someone could give me some pointers towards what could be causing this and if I need to contact the hosting company, what to say!

For reference purposes, the hosting company is Streamline.net and the following is some info about the server/CMS installation:

PHP Version 5.2.3
CMSMS Version 1.2.3
MySql 4.1.11
Apache 1.3.41
Running on Linux

Thanks in advance.

Tom
Last edited by tomgsd on Wed Feb 20, 2008 10:36 am, edited 1 time in total.
Green Sheep Design Ltd. - www.greensheep.co.uk
alby

Re: 'Cannot Display the Webpage' message randomly appearing

Post by alby »

tomgsd wrote: I have a problem with a CMSMS site I am currently building.  Whilst working in the admin section or simply browsing the pages I keep getting the 'Internet Explorer cannot display the webpage' message.  It occurs pretty randomly but everything is usually ok after a quick press of the refresh button.
- Very slow connection?
- Active debug in config.php
- Check your server logs (maybe a closed mod_security or php memory_limit)
-

Alby
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

By 'very slow connection' do you mean my internet connection?  If you do Im not sure its that because when its not throwing up this error it works very quickly (and very well).

I checked the config.php and debug is set to false.

Searching through the logs I have I can't see anything relating mod_security.  The only thing I found on the memory front was the following:

Code: Select all

[Tue Feb 12 10:43:52 2008] [error] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Fatal error:
Allowed memory size of 20971520 bytes exhausted (tried to allocate 2400 bytes)
in /home/fhlinux153/r/rotherfed.org.uk/user/htdocs/lib/filemanager/ImageManager/Classes/GD.php on line 87
However, there was only one entry for this and its happened loads!

I've used the System Information Module to have a look at things and under the 'PHPSysInfo' tab there's a chart with memory usage on it.  The first bar is consistently showing 87% or above, sometimes right up to 99%.  Could this have something to do with it? And if so is there anything that can be done?

Tom
Green Sheep Design Ltd. - www.greensheep.co.uk
alby

Re: 'Cannot Display the Webpage' message randomly appearing

Post by alby »

tomgsd wrote:

Code: Select all

[Tue Feb 12 10:43:52 2008] [error] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Fatal error:
Allowed memory size of 20971520 bytes exhausted (tried to allocate 2400 bytes)
in /home/fhlinux153/r/rotherfed.org.uk/user/htdocs/lib/filemanager/ImageManager/Classes/GD.php on line 87
You have a limit to 20MB.
Add this red row in config.php:
<?php
ini_set('memory_limit', '32M');

.........
Alby
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

Thanks, i'll give that a go and see if it still does it.

Tom
Green Sheep Design Ltd. - www.greensheep.co.uk
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

Hi, I'm back!  Been working on it since my last post and its still doing it (about 15 times!). Do you have any further suggesstions?
Green Sheep Design Ltd. - www.greensheep.co.uk
alby

Re: 'Cannot Display the Webpage' message randomly appearing

Post by alby »

tomgsd wrote: Hi, I'm back!  Been working on it since my last post and its still doing it (about 15 times!). Do you have any further suggesstions?
Check for any error your server log and active debug in config.php for little time

Alby
nivekiam

Re: 'Cannot Display the Webpage' message randomly appearing

Post by nivekiam »

Ah FASTCGI strikes again.

Do you have the option of not running PHP through FASTCGI mode?
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

I've e-mailed streamline about fastCGI and am awaiting a response.

Just to add some further info on this.  I've actually got two accounts with this company both with CMSMS installed.  Although I've not done much on the other one, I can't seem to remember having this problem.  I've checked it with the system info module and under PHPInfo I get quite different results.

I've attached the first part of both versions so you can see what I mean.

Hope this helps.

Tom
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

[The extension txt has been deactivated and can no longer be displayed.]

Green Sheep Design Ltd. - www.greensheep.co.uk
nivekiam

Re: 'Cannot Display the Webpage' message randomly appearing

Post by nivekiam »

Looks like the working install isn't going through FastCGI, where the problematic one is.
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

So asking streamline to set me up with the same settings as the good one should sort this?  Here's hoping!
Green Sheep Design Ltd. - www.greensheep.co.uk
nivekiam

Re: 'Cannot Display the Webpage' message randomly appearing

Post by nivekiam »

I can't guarentee it, but in the short time I've been around the CMSms forums and in the years of supporting Gallery2, I've seen FastCGI just cause too many problems.

Do a few google searches, you'll find Drupal, Wordpress, and many, many, many others have issues with FastCGI.  It could depend on server config, but IMO, FastCGI and most sorts of caching/php accelerators are way more trouble than they are worth.
brianteeman

Re: 'Cannot Display the Webpage' message randomly appearing

Post by brianteeman »

Hi Tom

I am in exactly the same situation as you with streamline.net (well almost the same I'm using joomla)

Like you I have two accounts and the one with FastCGI is the problem

I dont hold out much hope of Support ding anything though. My experience to date is that they will just come back and say "we cannot provide support for scripts"

So now I have installed the exact same site on both accounts so they can see it is fastcgi and nothing to do with the script

Whilst googling for a solution I have seen nothing but problems withs FastCGI

Let me know if you have any joy with streamline.net

I'll post back here as well

Brian Teeman
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: 'Cannot Display the Webpage' message randomly appearing

Post by tomgsd »

Im glad to here this isn't just me!

Im currently awaiting a response from streamline, my issue has now been 'escalated to a senior engineer' so we'll see what happens.

I'll keep you updated.

Tom
Green Sheep Design Ltd. - www.greensheep.co.uk
brianteeman

Re: 'Cannot Display the Webpage' message randomly appearing

Post by brianteeman »

thanks for the update

I've not heard anything yet from streamline ;(

Not suprised though they havent been the best host
Post Reply

Return to “CMSMS Core”