[Solved] Blank Screen After few Pageviews - 1.3

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.
Locked
Asgari

[Solved] Blank Screen After few Pageviews - 1.3

Post by Asgari »

Hi,

After upgrading to 1.3 we are facing an strange issue, after few pageviews, we get blank page on all urls even admin area.
restarting apache fixed this issue but after limited number of pageviews, blank page again!

error_log :

[Sun Jun 15 07:09:12 2008] [error] [client 234.44.44.332] PHP Fatal error:  Cannot redeclare class cgextensions in /home/public_html/modules/CGExtensions/CGExtensions.module.php on line 46


Support_info output :

CMS Made Simple Version: 1.3
Installed Modules:

    * Questions: 1.0.1
    * FCKeditorX: 1.0.3
    * MenuManager: 1.5
    * ModuleManager: 1.1.6
    * CGExtensions: 1.8
    * News: 2.8
    * CMSMailer: 1.73.13
    * FileManager: 0.3.0
    * FormBuilder: 0.2.1
    * CGExtensions: 1.8
    * Polls: 0.2.0
    * TruetypeText: 2.0.0
    * Search: 1.5
    * Printing: 0.2.3
    * ThemeManager: 1.0.8
    * nuSOAP: 1.0.1

Current PHP Version: 5.2.6
PHP Configuration:

    * Maximum Post Size: 8M
    * Maximum Upload Size: 2M
    * PHP Memory Limit: 128M
    * PHP Safe Mode: Off
    * Maximum Execution Time: 30 seconds
    * Session Save Path: /var/lib/php/session

MySQL Server Version: 5.0.58-log

Server Software: Apache/2.2.8 (EL)
Server API: APACHE2HANDLER
Server OS: Linux v 2.6.18-53.1.14.el5 on i686 architecture

Directory Permissions:

    * tmp/cache - 0777
    * tmp/templates_c - 0777
    * uploads - 0775
    * modules - 0775


Thanks
Last edited by Asgari on Sun Jun 15, 2008 10:56 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank Screen After few Pageviews - 1.3

Post by Nullig »

From your list of installed modules, it looks like CGExtensions is installed twice??

Nullig
Asgari

Re: Blank Screen After few Pageviews - 1.3

Post by Asgari »

Nullig wrote: From your list of installed modules, it looks like CGExtensions is installed twice??

Nullig
but in module list only one listed (screenshot attached)

also some modules are not listed in Modules page but listed in Installed Modules report of {support_info}
how to remove them?
Attachments
modules.jpg
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Blank Screen After few Pageviews - 1.3

Post by Dr.CSS »

Is this a 'moved to new server site'?...
Asgari

Re: Blank Screen After few Pageviews - 1.3

Post by Asgari »

mark wrote: Is this a 'moved to new server site'?...
No, only CMSMS, Apache, php and mysql has upgraded to latest version
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank Screen After few Pageviews - 1.3

Post by Nullig »

I think your MySQL update may not have gone well. Did you make a backup of the old db?

Nullig
Asgari

Re: Blank Screen After few Pageviews - 1.3

Post by Asgari »

Nullig wrote: I think your MySQL update may not have gone well. Did you make a backup of the old db?

Nullig
Yes, restoring the old db didn't fix this issue, is there any manual way to fix this issue?

Thanks
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank Screen After few Pageviews - 1.3

Post by Nullig »

What steps did you take when you updated your Apache, PHP and MySQL?

Nullig
Asgari

Re: Blank Screen After few Pageviews - 1.3

Post by Asgari »

Nullig wrote: What steps did you take when you updated your Apache, PHP and MySQL?

Nullig
Like always, "yum update"

Server running CentOs 5

There are more than 10 other DBs on the same server and All of them are working just fine.
alby

Re: Blank Screen After few Pageviews - 1.3

Post by alby »

If you used support tool of Nullig, modules info are result of this query in DB:

Code: Select all

SELECT * FROM ".cms_db_prefix()."modules WHERE active=1
substitute cms_db_prefix() with your correct value of config.php (default cms_), run this with a SQL tool (ex: phpmyadmin) and check for double CGExtensions

Alby
Asgari

Re: Blank Screen After few Pageviews - 1.3

Post by Asgari »

alby wrote: If you used support tool of Nullig, modules info are result of this query in DB:

Code: Select all

SELECT * FROM ".cms_db_prefix()."modules WHERE active=1
substitute cms_db_prefix() with your correct value of config.php (default cms_), run this with a SQL tool (ex: phpmyadmin) and check for double CGExtensions

Alby
Tried it using Webmin Mysql Manager but it didn't allow editing the table : Data in this table cannot be edited because it has no primary key.

So finally fixed this issue using some time consuming manual install - remove - install of modules. I think there is a bug in Module manager
which sometimes allow re-installation of some "installed but disappeared modules" (in my case CGExtension) and sometimes it upgrades a module without removing the old version. (in my case poll module).

Thanks for all your helps, now it's working just fine :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [Solved] Blank Screen After few Pageviews - 1.3

Post by Dr.CSS »

I love it when ppl. tag there post [solved]

Glad it's fixed...
Locked

Return to “CMSMS Core”