Blank page after restoring backup

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.
Post Reply
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Blank page after restoring backup

Post by Terabyte »

So I reinstalled server and new backups are put up.
Basically everything is the same and all other scripts are working fine. But not CMSMS.

Backup of database - done.
Cashe files - cleared.
Folder permisions - set.
Config file - updated with new pach and DB info.

When put debug on and don't see any problems, but all installation of CMSMS show blank pages.


Really need help on this one. Have 14 sites down ...


Debug info from front page:

Code: Select all

Generated in 0.202309 seconds by CMS Made Simple using 8 SQL queries and 5593792 bytes of memory

Debug: (0.014196) - (644672) 
loading smarty
Debug: (0.021673) - (954112) 
loading adodb
Debug: (0.025115) - (1048256) 
loading page functions
Debug: (0.029343) - (1220584) 
loading content functions
Debug: (0.033578) - (1428152) 
loading pageinfo functions
Debug: (0.035137) - (1461024) 
loading translation functions
Debug: (0.036336) - (1481520) 
loading events functions
Debug: (0.03904) - (1582344) 
done loading files
Debug: (0.061044) - (2374248) 
<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
 Error (0): <br>

Debug: (0.067196) - (2423792) 
<br>
(mysql): SELECT * FROM cms_userplugins<br>
 Error (0): <br>

Debug: (0.081885) - (2948616) 
<br>
(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 ORDER BY module_name<br>
 Error (0): <br>

Debug display of 'End of include':(0.122347) - (4060144) 
Debug display of 'Load Content Operations':(0.122609) - (4014240) 
Debug display of 'End Load Content Operations':(0.133404) - (4501032) 
Debug: (0.133857) - (4503080) 
<br>
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1<br>
 Error (0): <br>

Debug: (0.134355) - (4507616) 
<br>
(mysql): 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.134765) - (4509248) 
<br>
(mysql): SELECT MAX(modified_date) AS thedate FROM cms_content c<br>
 Error (0): <br>

Debug: (0.140646) - (4651640) 
<br>
(mysql): 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.156286) - (5460176) 
<br>
(mysql): 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>
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Blank page after restoring backup

Post by Nullig »

Can you post a link to the site?
Was there a .htaccess file on the old site that was copied over and not updated?
Are there differences in the  server setups? OS?
Can you login to Admin?

Nullig
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Blank page after restoring backup

Post by Terabyte »

First of all, sorry for the wrong posting regarding to category. Some moderator maybe can move it.

Yes, the admin area works fine. The data is all there.

Yes I use the old htaccess, but the OS, php, mysql is the same. No diferences. Only the path changed, and that was also changed in the config file. I also removed the .htacces file, changed te mod_rewrite to false in config. No changes at all.
Pierre M.

Re: Blank page after restoring backup

Post by Pierre M. »

Hello,

I'm moving the thread to product support.

BTW, no information from http error log. No version information. No upload information. etc. Almost nothing to diagnose.

Pierre M.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Blank page after restoring backup

Post by Dr.CSS »

Have you tried putting the install folder back in and running install/upgrade.php, or just install and when it gets to the DB section don't write tables or sample stuff?...
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Blank page after restoring backup

Post by Terabyte »

mark wrote: Have you tried putting the install folder back in and running install/upgrade.php, or just install and when it gets to the DB section don't write tables or sample stuff?...
No I haven't. Will try that immidiately and get back.

5 (out of 14) sites are  are using older versions, but the rest is the current one. Independent of the version I get the same behaviour.
Pierre M. wrote:
BTW, no information from http error log. No version information. No upload information. etc. Almost nothing to diagnose.

Pierre M.
http error log - no errors
No version - alla versions, include the current one
No upload information - ?? don't know what to give here. It was restored from backup. No uploding were involved.
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Blank page after restoring backup

Post by Terabyte »

mark wrote: Have you tried putting the install folder back in and running install/upgrade.php, or just install and when it gets to the DB section don't write tables or sample stuff?...
Upgrade went ok. Nothing happened and nothing changed the outcome.

Code: Select all

Upgrading config.php...[done]

Cleaning cache dirs...[done]
When try ing to run install I get no errors, just blank page. When turning on debug I get this two error above:

Code: Select all

Warning: Smarty::include(C******\wwwroot\tmp\templates_c\%%5E^5E7^5E74AD9F%%template%3Anotemplate.php) [smarty.include]: failed to open stream: No such file or directory in *******\wwwroot\lib\smarty\Smarty.class.php on line 1265

Warning: Smarty::include() [function.include]: Failed opening '*******\wwwroot\tmp\templates_c\%%5E^5E7^5E74AD9F%%template%3Anotemplate.php' for inclusion (include_path='.;C:\php5\pear') in *******\wwwroot\lib\smarty\Smarty.class.php on line 1265
Well the tmp/templates_c has been cleaned and also the php5\pear is strange here ... both refering to removed cashe templates.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Blank page after restoring backup

Post by Dee »

Make sure tmp/cache/contentcache.php is deleted as well (not only the contents of tmp/templates_c).

Also go to Layout -> Templates and click one of the CSS-balloons. If you get an error Fatal error: Call to a member function on a non-object in listcssassoc.php on line 191 manually add a assoc_order field to the css_assoc table (had to do that on several sites I upgraded, see this thread).

Regards,
D
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Blank page after restoring backup

Post by Terabyte »

It didn't help.

Also in admin (for the templates), as on install.php, now in front page, I see this warnings:
Warning: Smarty::include(C******\wwwroot\tmp\templates_c\%%5E^5E7^5E74AD9F%%template%3Anotemplate.php) [smarty.include]: failed to open stream: No such file or directory in *******\wwwroot\lib\smarty\Smarty.class.php on line 1265

Warning: Smarty::include() [function.include]: Failed opening '*******\wwwroot\tmp\templates_c\%%5E^5E7^5E74AD9F%%template%3Anotemplate.php' for inclusion (include_path='.;C:\php5\pear') in *******\wwwroot\lib\smarty\Smarty.class.php on line 1265
Why is there warnings to cashe files, when all cashe content is erased?
Last edited by Terabyte on Sat Nov 15, 2008 12:09 pm, edited 1 time in total.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Blank page after restoring backup

Post by Dee »

Terabyte wrote: Why is there warnings to cashe files, when all cashe content is erased?
Check permissions on tmp\templates_c to make sure the webserver is allowed to write and read files in that location.

Regards,
D
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: Blank page after restoring backup

Post by Terabyte »

Great. Once again I run the upgrade.php and it suddenly work!

Thanks ...

I will try to do that with the rmaining 13 sites and see, maybe I can figure out what tha common factor is.
Post Reply

Return to “CMSMS Core”