Page 1 of 1
[SOLVED] Site Not Working / Something Changed
Posted: Mon Mar 30, 2009 10:59 am
by jtcreate
No changes have been made to our CMS install, but something on the server has changed. Just not sure what. The site pages are showing graphic images only... the templates and css are not coming through. And, on the admin pages we're seeing this (all the Add Me's):
----
Content
This is where we add and edit content.
Subitems: Pages, Image Manager, Global Content Blocks,
--Add Me - module:FileManager string:friendlyname--, --Add Me - module:News string:news--, --Add Me - module:Printing string:friendlyname--, --Add Me - module:Banners string:friendlyname--
----
If anyone has any thoughts on what to tell the server people or where to look or what might have caused this, that would be great. We have the latest install on CMSMS.
Thanks.
Re: Site Not Working / Something Changed
Posted: Mon Mar 30, 2009 12:09 pm
by alby
jtcreate wrote:
No changes have been made to our CMS install, but something on the server has changed. Just not sure what. The site pages are showing graphic images only... the templates and css are not coming through. And, on the admin pages we're seeing this (all the Add Me's):
First steps are:
- active debug in config.php
- look in server logs for other infos
- check problems in Global Settings > System Information
- check integrity in Global Settings > System Verification
Alby
Re: Site Not Working / Something Changed
Posted: Mon Mar 30, 2009 1:40 pm
by jtcreate
Thanks. I activated debug and got this:
Code: Select all
Generated in 0.620377 seconds by CMS Made Simple using 12 SQL queries and 6127028 bytes of memory (peak memory usage was 6395340
Debug: (0.010982) - (563168)
loading smarty
Debug: (0.015329) - (826508)
loading adodb
Debug: (0.017204) - (911176)
loading page functions
Debug: (0.020117) - (1074648)
loading content functions
Debug: (0.024201) - (1281556)
loading pageinfo functions
Debug: (0.024945) - (1310552)
loading translation functions
Debug: (0.02554) - (1328932)
loading events functions
Debug: (0.026903) - (1412700)
loading php4 entity decode functions
Debug: (0.029166) - (1616540)
done loading files
Debug: (0.048613) - (2297820)
<br>
(mysqli): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
Error (0): <br>
Debug: (0.052698) - (2366808)
<br>
(mysqli): SELECT * FROM cms_userplugins<br>
Error (0): <br>
Debug: (0.0592) - (2785792)
<br>
(mysqli): SELECT * FROM cms_modules WHERE admin_only = 0 AND active = 1 ORDER by module_name<br>
Error (0): <br>
Debug display of 'End of include':(0.098172) - (4467596)
Debug display of 'Load Content Operations':(0.098474) - (4466120)
Debug display of 'End Load Content Operations':(0.10751) - (4891220)
Debug: (0.108067) - (4893068)
<br>
(mysqli): SELECT content_id FROM cms_content WHERE default_content = 1<br>
Error (0): <br>
Debug: (0.109105) - (4897732)
<br>
(mysqli): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '15' OR c.content_id = '15') AND c.active = 1<br>
Error (0): <br>
Debug: (0.109768) - (4899372)
<br>
(mysqli): SELECT MAX(modified_date) AS thedate FROM cms_content c<br>
Error (0): <br>
Debug display of 'Start Loading Hierarchy Manager':(0.110266) - (4899984)
Debug display of 'starting tree':(0.110296) - (4899984)
Debug: (0.466352) - (5034252)
file needs loading
Debug: (0.468474) - (5058764)
<br>
(mysqli): SELECT * FROM cms_content WHERE parent_id = -1 ORDER BY hierarchy<br>
Error (0): <br>
Debug display of 'ending tree':(0.473332) - (5318488)
Debug display of 'End Loading Hierarchy Manager':(0.473368) - (5315116)
Debug: (0.473396) - (5315172)
start findNodeByTag
Debug: (0.473437) - (5315260)
end findNodeByTag
Debug: (0.50646) - (5450664)
<br>
(mysqli): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '20'<br>
Error (0): <br>
Debug: (0.520056) - (6138108)
<br>
(mysqli): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC<br>
Error (0): <br>
Debug: (0.561791) - (6240304)
<br>
(mysqli): SELECT * FROM cms_module_banners_categories WHERE
name = 'main banner'<br>
Error (0): <br>
Debug: (0.599533) - (6241992)
<br>
(mysqli): SELECT * FROM cms_module_banners WHERE (category_id = "1") AND (expires > '2009-03-30 06:37:59' or isnull(expires))
AND (max_impressions = 0 OR num_impressions < max_impressions) ORDER BY RAND() LIMIT 0,1<br>
Error (0): <br>
Debug: (0.620056) - (6354028)
<br>
(mysqli): UPDATE cms_module_banners SET num_impressions = 4546 WHERE banner_id=6<br>
Error (0): <br>
And, both items in Global settings show:
string(53) "Smarty error: unable to read resource: "checksum.tpl""
string(55) "Smarty error: unable to read resource: "systeminfo.tpl""
Re: Site Not Working / Something Changed
Posted: Mon Mar 30, 2009 2:26 pm
by alby
jtcreate wrote:
string(53) "Smarty error: unable to read resource: "checksum.tpl""
string(55) "Smarty error: unable to read resource: "systeminfo.tpl""
re-upload cmsms and look your system logs
Alby
Re: Site Not Working / Something Changed
Posted: Mon Apr 20, 2009 12:14 pm
by quartney
jtcreate, did you ever get this problem solved? I am having the same issues and would like to know how you fixed it

[ SOLVED ] Re: Site Not Working / Something Changed
Posted: Mon Apr 20, 2009 4:14 pm
by jtcreate
I should have marked this as closed. It turned out to be something on the server side. The host assured me nothing had changed. I assured them nothing on my end had changed. We had several back and forths and then all of a sudden, the site started working again. No explanation.
My guess is it was something on the hosts end and they fixed it without admitting that they caused a problem. I wish I knew what it was so I could pass along a solution.
Good luck.
Jeff T.
Re: Site Not Working / Something Changed
Posted: Mon Apr 20, 2009 5:17 pm
by quartney
Alby & Ted helped me figure it out. I fixed it by running the install/index.php without checking "create tables". It made a new config.php file with the correct document path settings.
In my case, the host had changed the DNS settings.
Re: Site Not Working / Something Changed
Posted: Mon Apr 20, 2009 5:48 pm
by jtcreate
quartney, thanks... good to know for future issues.
Re: Site Not Working / Something Changed
Posted: Thu Apr 23, 2009 12:19 am
by jmcgin51
please mark as [SOLVED]
Re: [SOLVED] Site Not Working / Something Changed
Posted: Tue Nov 10, 2009 3:09 pm
by tomolastomolas
Can confirm.
For me this was caused by wrong settings in
config.php.
When I logged in to ftp. The hierarchy I saw (set by provider) was: /web/, /sub/, and /logs/ so in config.php I set:
The right answer turned out to be: (I figured aout by running install process)
Code: Select all
$config['root_path'] = '/data/m/y/mydomain.com/web';
- absolute path set by provider.
You will have to set the right path couple more times in config.php