floriano Posted April 16, 2014 Share Posted April 16, 2014 Hi, after transfer site to vps receive blank page. I change this: /* Debug only */ define('_PS_MODE_DEV_', false); to /* Debug only */ define('_PS_MODE_DEV_', true); I receive this error: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/vhosts/az-download.com/httpdocs/cache/smarty/compile/96/12/d7/wrt534edd1e7dbfe5.57947954' in /var/www/vhosts/az-download.com/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/vhosts/az-download.com/httpdocs/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', 'compileTemplateSource() #2 /var/www/vhosts/az-download.com/httpdocs/classes/module/Module.php(1623): Smarty_Internal_TemplateBase->fetch() #3 /var/www/vhosts/az-download.com/httpdocs/modules/favoriteproducts/favoriteproducts.php(105): ModuleCore->display('/var/www/vhosts...', 'favoriteproduct...') #4 /var/www/vhosts/az-download.com/httpdocs/classes/Hook.php(421): FavoriteProducts->hookDisplayHeader(Ar in /var/www/vhosts/az-download.com/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 I remove cache/smarty/compile and cache/smarty/cache and themes/cache Thanks for your help in advance for any help. Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 what permissions you've got for smarty cache directory? Link to comment Share on other sites More sharing options...
floriano Posted April 16, 2014 Author Share Posted April 16, 2014 permissions is set to 755 Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 and after cleaning cache, when you refresh website, new files are properly generated there? Link to comment Share on other sites More sharing options...
bellini13 Posted April 16, 2014 Share Posted April 16, 2014 did you remove the files within the cache folders? Or did you remove the folders themselves? Link to comment Share on other sites More sharing options...
floriano Posted April 17, 2014 Author Share Posted April 17, 2014 and after cleaning cache, when you refresh website, new files are properly generated there? yes Link to comment Share on other sites More sharing options...
floriano Posted April 17, 2014 Author Share Posted April 17, 2014 did you remove the files within the cache folders? Or did you remove the folders themselves? yes, is clean cache. What is themeselves? Link to comment Share on other sites More sharing options...
vekia Posted April 17, 2014 Share Posted April 17, 2014 for me - it's more than strange. perhaps your new hosting has got some limitations? for example, you've got limitation related to number of available files? i remember several similar cases, the problem was related to these hosting account limitations Link to comment Share on other sites More sharing options...
floriano Posted April 17, 2014 Author Share Posted April 17, 2014 for me - it's more than strange. perhaps your new hosting has got some limitations? for example, you've got limitation related to number of available files? i remember several similar cases, the problem was related to these hosting account limitations I have a VPS account. It is possible to have this problem on VPS server? Link to comment Share on other sites More sharing options...
bellini13 Posted April 17, 2014 Share Posted April 17, 2014 if you removed the actual folders, then that is the problem. you should only remove the files within the folders, not the actual folders themselves. re-create the entire folder structure and you should fix the problem. Link to comment Share on other sites More sharing options...
floriano Posted April 17, 2014 Author Share Posted April 17, 2014 (edited) if you removed the actual folders, then that is the problem. you should only remove the files within the folders, not the actual folders themselves. re-create the entire folder structure and you should fix the problem. I not removed actual folders, I removed only files. I think the problem is with URL to server. I installed aplication prestashop 1.6 on server, after install I deleted director prestashop and data base from server and I have same error like first site view this is link: http://az-download.com/prestashop/index.php I instaled again prestashop 1.6 on server, this is link, is work: http://az-download.com/prestashop_d/index.php and this work!!! I think it is correct url on a server, What can I do? Edited April 18, 2014 by floriano (see edit history) Link to comment Share on other sites More sharing options...
floriano Posted April 18, 2014 Author Share Posted April 18, 2014 resolved: The problem was permissions for some folders and subfolders Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2014 Share Posted April 18, 2014 thank you for information i marked whole topic title as solved may i know what permissions you used? and for what directories? Link to comment Share on other sites More sharing options...
floriano Posted September 4, 2014 Author Share Posted September 4, 2014 permissions are 755 for directories and 644 for files. But the problem was with owner. I changed owner for all the directories and work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now