Jump to content

Problems with Smarty after migrating to new server


Recommended Posts

Hello all,

I have migrated prestashop 1.4.1 from a server to a new server.

I have exported the database from the old server, searched within the .sql file for references to the old url and replaced them with the new url and imported the sql dump file to the new server.

Then I configured the configuration files with the new settings.

I set all the folders in the new server to have 775 permissions.

However when I try to access the site I get a blank page. I enabled error reporting in order to see the erros an I get the following error:

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /www/www.oldclan.gr/tools/smarty/compile/wrt4de8836555e89' in /www/www.oldclan.gr/tools/smarty/sysplugins/smarty_internal_write_file.php:36 Stack trace: #0 /www/www.oldclan.gr/tools/smarty/sysplugins/smarty_internal_template.php(273): Smarty_Internal_Write_File::writeFile('/www/www.oldcla...', '<?php /* Smarty...', Object(Smarty)) #1 /www/www.oldclan.gr/tools/smarty/sysplugins/smarty_internal_template.php(423): Smarty_Internal_Template->compileTemplateSource() #2 /www/www.oldclan.gr/tools/smarty/sysplugins/smarty_internal_template.php(568): Smarty_Internal_Template->renderTemplate() #3 /www/www.oldclan.gr/tools/smarty/Smarty.class.php(339): Smarty_Internal_Template->getRenderedTemplate() #4 /www/www.oldclan.gr/classes/Module.php(938): Smarty->fetch('/www/www.oldcla...', NULL, NULL) #5 /www/www.oldclan.gr/modules/blockuserinfo/blockuserinfo.php(71): ModuleCore::display('/www/www.oldcla...', 'blockuserinfo.t...') #6 /www/www.oldclan.gr/clas in /www/www.oldclan.gr/tools/smarty/sysplugins/smarty_internal_write_file.php on line 36


You can see it here: www.oldclan.gr

Do you have any idea what might be wrong?

I have checked the /sysplugins folder and I made sure that it has 775 permissions.

Also, if you look closely at the error message you will see this: /www/www.oldclan.gr. Is this normal? It does not seem normal to me.

Thank you in advance!
Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...