Page 1 of 1

[Solved] Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 11:17 am
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

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 3:33 pm
by Nullig
From your list of installed modules, it looks like CGExtensions is installed twice??

Nullig

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 3:40 pm
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?

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 3:47 pm
by Dr.CSS
Is this a 'moved to new server site'?...

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 3:51 pm
by Asgari
mark wrote: Is this a 'moved to new server site'?...
No, only CMSMS, Apache, php and mysql has upgraded to latest version

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 4:20 pm
by Nullig
I think your MySQL update may not have gone well. Did you make a backup of the old db?

Nullig

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 4:30 pm
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

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 6:50 pm
by Nullig
What steps did you take when you updated your Apache, PHP and MySQL?

Nullig

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 7:01 pm
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.

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 7:23 pm
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

Re: Blank Screen After few Pageviews - 1.3

Posted: Sun Jun 15, 2008 10:56 pm
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 :)

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

Posted: Mon Jun 16, 2008 1:54 am
by Dr.CSS
I love it when ppl. tag there post [solved]

Glad it's fixed...