Problem when transfer website - new server (Smarty Compiles)
Problem when transfer website - new server (Smarty Compiles)
Hello,
I transfer integral website on new dedicaded server (with database), Admin running but I have an error message with smarty compiles files and I don't understand this error. If you can help me, Thanks.
http://www.burotuto.com/help.html
I transfer integral website on new dedicaded server (with database), Admin running but I have an error message with smarty compiles files and I don't understand this error. If you can help me, Thanks.
http://www.burotuto.com/help.html
Re: Problem when transfer website - new server (Smarty Compiles)
New server -> new pathes
. You have to modify config.php too.
If you want an easy way run install wizard once again. You have only to deactivate writing database and default content in step 4.

If you want an easy way run install wizard once again. You have only to deactivate writing database and default content in step 4.
Re: Problem when transfer website - new server (Smarty Compiles)
I've had a similar problem. I'm transferring from Dreamhost to NearlyFreeSpeech.net.
Copied the database. Copied all files. Changed the paths in config.php.
First a get an error about permissions on the tmp/cache and tmp/templates_c directories. So I chmod 777 those and try loading the site again.
Then I get a page of Smarty errors like this: string(110) "Smarty error: [in template:20 line 7]: [plugin] unknown tag - 'joecart_main' (core.load_plugins.php, line 124)" string(107)
(joecart_main is a User Defined Tag of mine, but there are other tags listed in the error such as {title}. I think it may even be all tags that are not working)
So, I try going to admin, thinking it's a cache thing, and...
Firstly there's a warning about "php safe" mode (which is apparently sometimes important and sometimes not)
But then there's a strange error whereby every module name in the admin menu structure has been replaced by a long string of text like this:
"--Add Me - module:ModuleManager string:friendlyname--,"
I did try the alternative method (fresh install but leaving the write tables and demo info out) but the missing modules caused a massive load of errors.
Does anyone have a good method of transferring to a new host?
Copied the database. Copied all files. Changed the paths in config.php.
First a get an error about permissions on the tmp/cache and tmp/templates_c directories. So I chmod 777 those and try loading the site again.
Then I get a page of Smarty errors like this: string(110) "Smarty error: [in template:20 line 7]: [plugin] unknown tag - 'joecart_main' (core.load_plugins.php, line 124)" string(107)
(joecart_main is a User Defined Tag of mine, but there are other tags listed in the error such as {title}. I think it may even be all tags that are not working)
So, I try going to admin, thinking it's a cache thing, and...
Firstly there's a warning about "php safe" mode (which is apparently sometimes important and sometimes not)
But then there's a strange error whereby every module name in the admin menu structure has been replaced by a long string of text like this:
"--Add Me - module:ModuleManager string:friendlyname--,"
I did try the alternative method (fresh install but leaving the write tables and demo info out) but the missing modules caused a massive load of errors.
Does anyone have a good method of transferring to a new host?
Re: Problem when transfer website - new server (Smarty Compiles)
Thanks, Cyberman. But yes, it was those instructions I tried first. I must have done something wrong but can't work out what.
I might try this next:
- Reinstall afresh.
- Recreate my preferences (e.g. friendly URLs)
- Install all the relevant modules using Module Manager
- Then re-instate the old database.
I don't yet know much about the internals of CMSMS, but I'm hoping there are no server-specifics in the database, and that there are no content-specifics in the folder.
Do you think this will work?
Of course, I still don't know if php safe mode will be an issue. Anyone use NearlyFreeSpeech.net?
I might try this next:
- Reinstall afresh.
- Recreate my preferences (e.g. friendly URLs)
- Install all the relevant modules using Module Manager
- Then re-instate the old database.
I don't yet know much about the internals of CMSMS, but I'm hoping there are no server-specifics in the database, and that there are no content-specifics in the folder.
Do you think this will work?
Of course, I still don't know if php safe mode will be an issue. Anyone use NearlyFreeSpeech.net?
Re: Problem when transfer website - new server (Smarty Compiles)
It looks like a wrong path for me.Shmo wrote: Then I get a page of Smarty errors like this: string(110) "Smarty error: [in template:20 line 7]: [plugin] unknown tag - 'joecart_main' (core.load_plugins.php, line 124)" string(107)
Try to run install wizard once again - he will found the correct pathes.
Re: Problem when transfer website - new server (Smarty Compiles)
I am having the same problem, too.
What I need done: I need a copy of my site (This is a cmsms site which I have made a few basic tweaks to) that is EXACTLY the same. The only difference will be some changes in text which will come later, and a different file path (URL)
purpose for getting it done: I have a site that works well and does a lot of good, however, I want to have a site exactly the same but with some Spanish content in it for those who speak Spanish. (Note that the Spanish installation would not work as I do not speak Spanish myself, but have someone who is going to help me with a little translating)
What I have done:
Using BlueHost, I created a copy of my database copying both data and structure. Then I transfered all my files to a new folder on my server according to the transfer rules at: http://wiki.cmsmadesimple.org/index.php ... New_Server and I edited the config.php to include the new paths. Now when I go to my URL I see the home page, but nothing else is available from there. It doesn't reference any of the images etc. and all the links lead to a 404error. No other pages or content at all is accessible from the home page. I tried opening the .htaccess file and checking to make sure things were good there. I don't really know the editing language for it, but it seemed fine.
Some help please?
What I need done: I need a copy of my site (This is a cmsms site which I have made a few basic tweaks to) that is EXACTLY the same. The only difference will be some changes in text which will come later, and a different file path (URL)
purpose for getting it done: I have a site that works well and does a lot of good, however, I want to have a site exactly the same but with some Spanish content in it for those who speak Spanish. (Note that the Spanish installation would not work as I do not speak Spanish myself, but have someone who is going to help me with a little translating)
What I have done:
Using BlueHost, I created a copy of my database copying both data and structure. Then I transfered all my files to a new folder on my server according to the transfer rules at: http://wiki.cmsmadesimple.org/index.php ... New_Server and I edited the config.php to include the new paths. Now when I go to my URL I see the home page, but nothing else is available from there. It doesn't reference any of the images etc. and all the links lead to a 404error. No other pages or content at all is accessible from the home page. I tried opening the .htaccess file and checking to make sure things were good there. I don't really know the editing language for it, but it seemed fine.
Some help please?
Re: Problem when transfer website - new server (Smarty Compiles)
Hello,
Please have a look at your http logS and try setting debug to true in config.php. Pages' sources can reveal more information.
Pierre M.
May be it is not enough as the install procedure asks for more chmoding.Shmo wrote: error about permissions on the tmp/cache and tmp/templates_c directories. So I chmod 777 those...
Are you sure ? I haven't seen a CMSms version number anywhere in both reports. And very few installation warnings. We don't know your contexts and it makes it difficult to telediagnose.theguy wrote: I am having the same problem, too.
Please have a look at your http logS and try setting debug to true in config.php. Pages' sources can reveal more information.
Pierre M.
Re: Problem when transfer website - new server (Smarty Compiles)
Apology for not having the needed information in my post. I added it, but apparently the edit didn't go through.
I am using CMSms version 1.2.3 and PHP 5. And I tried changing the debug to true, but it still didn't work. I'm really not sure what the problem could be. Also, I know I'm going to sound a complete idiot and newb asking this, but what are the http logS? Is that a technical phrase.
It may have something to do with the fact that, although both sites are contained within a directory in the root of my server (public_html) The first is simply '.com' and the second is '.org/spanish' Though I don't understand why it would matter when I changed the paths in the config. ??
I am using CMSms version 1.2.3 and PHP 5. And I tried changing the debug to true, but it still didn't work. I'm really not sure what the problem could be. Also, I know I'm going to sound a complete idiot and newb asking this, but what are the http logS? Is that a technical phrase.
It may have something to do with the fact that, although both sites are contained within a directory in the root of my server (public_html) The first is simply '.com' and the second is '.org/spanish' Though I don't understand why it would matter when I changed the paths in the config. ??
Last edited by theguy on Mon Feb 25, 2008 7:07 pm, edited 1 time in total.
Re: Problem when transfer website - new server (Smarty Compiles)
May be a pretty URLs issue as you have .htaccess. But if you don't know what http logS are this is tricky to tweak/tune. Can you live without pretty URLs ? Could you try your sites with pretty URLs turned off ?
Pierre M.
Pierre M.
Re: Problem when transfer website - new server (Smarty Compiles)
I'm not exactly sure how to turn off the pretty URLs.
$config['internal_pretty_urls'] = false;
I set the internal pretty urls to false as in the line above. Is there more I need to do?
Thanks for working with me here. If you want to look at the config yourself, I can send you a PM with it, but I don't know if that would just be a major bother to you.
$config['internal_pretty_urls'] = false;
I set the internal pretty urls to false as in the line above. Is there more I need to do?
Thanks for working with me here. If you want to look at the config yourself, I can send you a PM with it, but I don't know if that would just be a major bother to you.
Re: Problem when transfer website - new server (Smarty Compiles)
Also make sure this is set to false:
$config['assume_mod_rewrite'] = false;
And if you want to go back to the default settings, change these too.
$config['page_extension'] = '';
$config['use_hierarchy'] = false;
$config['assume_mod_rewrite'] = false;
And if you want to go back to the default settings, change these too.
$config['page_extension'] = '';
$config['use_hierarchy'] = false;
Re: Problem when transfer website - new server (Smarty Compiles)
Awesome! That worked... I kind of wanted to keep that around, but it is more important to have it work. So thanks! However, the headers and stuff like that still aren't coming up. Any help getting the headers working?
Here are some error logs I am getting. It seems to me that it is still trying to reference a directory in the public_html, but it ought to be searching within the public_html/spanish. If I updated everything within my config file correctly, as I thought I did, where else could it be finding reference to something which isn't there?
[error] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: spl_ce_Countable in Unknown on line 0, referer: http://thejubileeproject.org/spanish/
[error] PHP Warning: Unknown(): (null): Unable to initialize module, referer: http://thejubileeproject.org/spanish/
[error] Module compiled with module API=20060613, debug=0, thread-safety=0, referer: http://thejubileeproject.org/spanish/
[error] PHP compiled with module API=20020429, debug=0, thread-safety=0, referer: http://thejubileeproject.org/spanish/
[error] These options need to match, referer: http://thejubileeproject.org/spanish/
[error] in Unknown on line 0, referer: http://thejubileeproject.org/spanish/
[error] File does not exist: /home/thejubil/public_html/uploads, referer: http://thejubileeproject.org/spanish/
[error] File does not exist: /home/thejubil/public_html/404.shtml, referer: http://thejubileeproject.org/spanish/
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
I suppose the RewriteConditions can be ignored, but the rest is still confusing. I'm not sure what I need to change to make it find the uploads and images in the correct subdirectory. Thanks for all the help so far!
Here are some error logs I am getting. It seems to me that it is still trying to reference a directory in the public_html, but it ought to be searching within the public_html/spanish. If I updated everything within my config file correctly, as I thought I did, where else could it be finding reference to something which isn't there?
[error] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: spl_ce_Countable in Unknown on line 0, referer: http://thejubileeproject.org/spanish/
[error] PHP Warning: Unknown(): (null): Unable to initialize module, referer: http://thejubileeproject.org/spanish/
[error] Module compiled with module API=20060613, debug=0, thread-safety=0, referer: http://thejubileeproject.org/spanish/
[error] PHP compiled with module API=20020429, debug=0, thread-safety=0, referer: http://thejubileeproject.org/spanish/
[error] These options need to match, referer: http://thejubileeproject.org/spanish/
[error] in Unknown on line 0, referer: http://thejubileeproject.org/spanish/
[error] File does not exist: /home/thejubil/public_html/uploads, referer: http://thejubileeproject.org/spanish/
[error] File does not exist: /home/thejubil/public_html/404.shtml, referer: http://thejubileeproject.org/spanish/
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
I suppose the RewriteConditions can be ignored, but the rest is still confusing. I'm not sure what I need to change to make it find the uploads and images in the correct subdirectory. Thanks for all the help so far!
Re: Problem when transfer website - new server (Smarty Compiles)
*bump
Is anyone familiar enough with the CMS file layout to know where else I might need to make some changes to make the header images come through. Just as a quick recap, I transfered a working SiteA into a subfolder creating a SiteB, then I edited the config file to change the reference points for all the images and folders, etc. However there was still an issue with all the sub-pages not working. I got that resolved thanks to nivekiam and the patience of others who worked with me. But still the headers won't display on SiteB. Perhaps someone could show me where all I need to make changes to make it work. I may have missed something important in the config file, or there may be another file which needs editing to make it recognize the Images, or perhaps I need to change the templates themselves.
As a little additional information, each of my pages is using a template of its own, each is based on the same template, but each template for each page is slightly different primarily in that each uses a different header. Any attempt to help would be great! Thanks.
Is anyone familiar enough with the CMS file layout to know where else I might need to make some changes to make the header images come through. Just as a quick recap, I transfered a working SiteA into a subfolder creating a SiteB, then I edited the config file to change the reference points for all the images and folders, etc. However there was still an issue with all the sub-pages not working. I got that resolved thanks to nivekiam and the patience of others who worked with me. But still the headers won't display on SiteB. Perhaps someone could show me where all I need to make changes to make it work. I may have missed something important in the config file, or there may be another file which needs editing to make it recognize the Images, or perhaps I need to change the templates themselves.
As a little additional information, each of my pages is using a template of its own, each is based on the same template, but each template for each page is slightly different primarily in that each uses a different header. Any attempt to help would be great! Thanks.
Last edited by theguy on Mon Mar 10, 2008 4:48 pm, edited 1 time in total.