Page 1 of 1
[solved] blank "Content > Pages" page
Posted: Mon Sep 01, 2008 2:41 pm
by cwm73
hi there, i've just installed a fresh version of CMSMS 1.4.1 and everything works, except the Content > Pages is blank.
PHP 5.1.6, apache2handler, MySQL (mysql), 5.0.45, Apache/2.2.3 (CentOS), Linux 2.6.18-92.1.10.el5.centos.plus On x86_64, PHP Effective Memory Limit (memory_limit): 16M, mod_rewrite: true
also, i'm getting a red X on my config_file Permission Information (it's set to 0666)
any ideas? thanks in advance
-c
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 2:45 pm
by smansman
right 2-3 posts bellow there is the solution

searching is not a bad idea anyway
http://forum.cmsmadesimple.org/index.ph ... 300.0.html
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 4:19 pm
by cwm73
sorry, but i've tried all three solutions:
1st Solution
on line 500 of file lib/classes/class.contentoperations.inc.php there is the following peace of code
require_once(dirname(dirname(__FILE__)).'/Tree/Tree.php');
change it to
require_once(dirname(dirname(__FILE__)).'/Tree/index.html');
2nd Solution
just copy the file /lib/Tree/Tree.php from version 1.3.1 to /lib/Tree/Tree.php of version 1.4.1
3rd Solution
OR you can just rename /lib/Tree/index.html to /lib/Tree/Tree.php on version 1.4.1
and still nothing...
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 4:48 pm
by alby
cwm73 wrote:
hi there, i've just installed a fresh version of CMSMS 1.4.1 and everything works, except the Content > Pages is blank.
Active debug in config.php and look in your server logs for other infos
Alby
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 8:56 pm
by cwm73
this is what i get:
(i've contacted my server guy, but if anyone else has any ideas...)
Debug: (6.9999999999792E-06) - (971664)
loading smarty
Debug: (0.00315) - (1355384)
loading adodb
Debug: (0.0042359999999999) - (1474208)
loading page functions
Debug: (0.006139) - (1689880)
loading content functions
Debug: (0.00822) - (1987376)
loading pageinfo functions
Debug: (0.0086459999999999) - (2028224)
loading translation functions
Debug: (0.0089589999999999) - (2053384)
loading events functions
Debug: (0.009914) - (2174424)
loading php4 entity decode functions
Debug: (0.011127) - (2470384)
done loading files
Debug: (0.01746) - (3504968)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):
Debug: (0.019433) - (3587080)
(mysql): SELECT * FROM cms_userplugins
Error (0):
Debug: (0.037727) - (4317696)
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name
Error (0):
Debug display of 'End of include':(0.056617) - (6867048)
Debug: (0.056712) - (6803232)
No session found. Now check for cookies
Debug: (0.056748) - (6803400)
No cookies found. Redirect to login.
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 9:33 pm
by smansman
you can do a small dirty think on page
http://www.tourDomain.com/whereYourCMSm ... ontent.php
right after
<?php
put the following code
error_reporting(E_ALL);
ini_set('display_errors', '1');
and tell us what you get on the screen
also re download the latest 1.4.1 base or full version and extract Tree.php and re upload it to your server at /whereYourCmsMSis/lib/tree/ and be sure that
on line 500 of file lib/classes/class.contentoperations.inc.php there is the following peace of code
require_once(dirname(dirname(__FILE__)).'/Tree/Tree.php');
sorry for the long post
Re: blank "Content > Pages" page
Posted: Mon Sep 01, 2008 10:09 pm
by alby
cwm73 wrote:
this is what i get:
(i've contacted my server guy, but if anyone else has any ideas...)
You have to make debug of the page that has problems.
After login, call admin/listcontent.php with debug enable
and look for Error(1) , error in source html page and error in server logs
smansman wrote:
put the following code
....
debug = true in config.php does this without changing the code script
Alby
Re: blank "Content > Pages" page
Posted: Tue Sep 02, 2008 4:01 pm
by cwm73
SOLVED!
it turns out it was just a PHP memory problem. i had it raised to 32MB and it now works.
thanks everyone for their help!