Jump to content

Recommended Posts

Hi, I recentley had a developer build a prestashop site, installed it on my Fashost VPS and had problems, conted fasthost who are not much use! The said I needed to change php.ini file settings to "memory_limit" to "64M" and alter the "file_max_upload_size" to "16M".

 

Did this and still not working, when I go to the site in my browser I get ths error

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/cache/smarty/compile/wrt51261f3e11c0d9.17926854' in /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', 'compileTemplateSource() #2 /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/classes/module/Module.php(1579): Smarty_Internal_TemplateBase->fetch() #3 /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/modules/favoriteproducts/favoriteproducts.php(106): ModuleCore->display('/var/www/vhosts...', 'favoriteproduct...') #4 /var/www/vhosts/a-zcateringequipment.co.uk/ht in /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

 

Can anyone help? Thanks in advance

Share this post


Link to post
Share on other sites

Im not sure but maybe change chmod for path cache/smarty/compile to 0777 ?

 

can you try this?

  • Like 1

Share this post


Link to post
Share on other sites

did that and here is the new error displayed

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/cache/smarty/cache/wrt512624a2c9dd62.03887809' in /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/vhosts/a-zcateringequipment.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', 'writeCachedContent(Object(Smarty_Internal_Template), 'write(Object(Smarty_Internal_Template), '

Share this post


Link to post
Share on other sites

Has anyone actually got a Prestashop to work with fasthost vps? Their customer support knows nothing much about getting this to work and I'm on the ressellers package Unbelievable.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More