Page 1 of 1

Internal server error after move to new domain {solved}

Posted: Wed May 19, 2010 4:56 am
by christophera
I moved a cmsms site over to a new domain name (same server).

I copy overed the files, checked to make sure file permissions where ok, change the paths in config.php.

When I go to the site, I get an internal server error.

When I go to admin, I can log in, and get some content, like the menus for accessing different things, but the main body of each page of the admin is empty.

php says: PHP Fatal error:  Call to undefined function smarty_cms_function_process_pagedata() in /home/(mysite)/public_html/tmp/tem
plates_c/%%BB^BB8^BB846DBE%%tpl_top%3A24.php on line 5
string(113) "Smarty error: [in tpl_top:24 line 1]: [plugin] unknown tag - 'process_pagedata' (core.load_plugins.php, line 124)
"

Anyone knows what that means, or what I should do about this?  

I double checked permissions, even set everything to 777, no joy.  Double checked config.php and all the paths updated to the new address.

Re: Internal server error after move to new domain

Posted: Wed May 19, 2010 7:35 am
by Rolf
Hi,

tried to clear cache yet?

Rolf

Re: Internal server error after move to new domain

Posted: Wed May 19, 2010 2:10 pm
by christophera
Thank you Rolf, that may have been it, though I did not have access to the button in admin to clear it. 

I went back and cleared the cache on the old name, put the 'site down' message on so nothing would recache before I got it moved, moved it all again from the beginning and that seems to have done the trick :)

Thank you!    Chris

Re: Internal server error after move to new domain {solved}

Posted: Wed May 19, 2010 2:19 pm
by Rolf
Great the website is up again!  :D
But you can also clear the cache manualy by deleting all files in the folder tmp/templates_c/

Regards, Rolf

Re: Internal server error after move to new domain {solved}

Posted: Wed May 19, 2010 2:41 pm
by christophera
ah, ok.  I had tried manually but I made a mistake and cleaned out tmp/cache  Just took a look and found the dir you listed above with it's cache.

Then I discovered that only the home page was working.  Everything else led to a dns error.  Which led (luckily within minutes) to the discovery that cp -a  apparently doesn't copy over .htaccess files. 

Always learning :)