Jump to content

Errors on site after migration from local to live (linux to windows)


Recommended Posts

Hi Everyone,

 

I am having issues when I migrate my site to the live Windows server from the local Linux environment which I developed on.

 

The error seems to lie with smarty. I have read through many posts on this forum relating to this but none have solved my problems, which are:

 

Error 500 on the shop, though back office works fine.

 

The error is shown below:

 

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop/tools/smarty/compile\wrt5020fbf892da8' in C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\sysplugins\smarty_internal_write_file.php:36 Stack trace: #0 C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(273): Smarty_Internal_Write_File::writeFile('C:\Inetpub\vhos...', '<?php /* Smarty...', Object(Smarty)) #1 C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(423): Smarty_Internal_Template->compileTemplateSource() #2 C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(568): Smarty_Internal_Template->renderTemplate() #3 C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\Smarty.class.php(339): Smarty_Internal_Template->getRenderedTemplate() #4 C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\classes\ in C:\Inetpub\vhosts\mywebsitename.co.uk\httpdocs\prestashop\tools\smarty\sysplugins\smarty_internal_write_file.php on line 36

 

Notes:

  • I have chmod -R 777 the prestashop directory before using filezilla to copy across.
  • I have set the encryption method (mcrypt) to 0 in the database as I was experiencing errors with this

Any help would be much appreciated.

 

Thanks

 

tms

Edited by tms (see edit history)
Link to comment
Share on other sites

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...