kilca Posted April 26, 2013 Share Posted April 26, 2013 (edited) Hi, First I have to apology for my bad english. I have problem with Smarty after migration on new server, i have tryed everything what i found in forums here or somewhere else. It gives me this error: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/cache/smarty/compile/wrt517adfbc920c81.51779395' in /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/mnt/swraid/dat...', '<?php /* Smarty...', Object(Smarty)) #1 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes/module/Module.php(1599): Smarty_Internal_TemplateBase->fetch() #3 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/modules/favoriteproducts/favoriteproducts.php(105): ModuleCore->display('/mnt/swraid/dat...', 'favoriteproduct...') #4 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes in /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 To prevent questions: I have changed chmod on smarty folders to 777 or 755 it does the same. Wierd is that everyone who's got similar problems (but noone exactly the same as mine) have folder smarty/compile/... but i've got only smary/plugins and smarty/sysplugins ... It would be wonderfull if someone helps me, Best regards, Martin Edited April 26, 2013 by kilca (see edit history) Link to comment Share on other sites More sharing options...
kilca Posted April 27, 2013 Author Share Posted April 27, 2013 Please, I need it, thanks in advance! Link to comment Share on other sites More sharing options...
vekia Posted April 27, 2013 Share Posted April 27, 2013 i've noticed that this bug may be related to the favoriteproducts module can you try to disable it and then check log for errors? Link to comment Share on other sites More sharing options...
kilca Posted April 28, 2013 Author Share Posted April 28, 2013 Thanks for reply! I have tryed many things. when i disable favoriteproducts module, it will show this: ....... /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/modules/feeder/feeder.php(78): ModuleCore->display('/mnt/swraid/dat...', 'feederHeader.tp...') #4 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes/Hook.php(419): Feede in /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 instead of favoriteproducts module problem... When i'm trying to access administration folder, it will show this: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/cache/smarty/compile/wrt517d12b4617262.63228093' in /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/mnt/swraid/dat...', '<?php /* Smarty...', Object(Smarty)) #1 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes/controller/AdminController.php(1152): Smarty_Internal_TemplateBase->fetch() #3 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes/controller/Controller.php(185): AdminControllerCore->display() #4 /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/classes/Dispatcher.php(348): Controller in /mnt/swraid/data/r/rybarskepotreby-sy.cz/www/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 So I don't think it's problem of exact module, it will be some general problem. Thank's for reply again! Martin Link to comment Share on other sites More sharing options...
vekia Posted April 28, 2013 Share Posted April 28, 2013 Well, i've got some time ago similar "error codes", after disabling module mentioned in the code - the problem disappear anyway, thanks for information regards Link to comment Share on other sites More sharing options...
kilca Posted April 28, 2013 Author Share Posted April 28, 2013 I don't know what to do now, i have to run my eshop in 2 days! On localhost in my desktop it was fine. when i run it in localhost/.../shop it just works fine. So, you don't know any fix on this? Link to comment Share on other sites More sharing options...
kilca Posted April 29, 2013 Author Share Posted April 29, 2013 Any solution someone? Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted April 30, 2013 Share Posted April 30, 2013 have you tried to increase the memory in php configuration file... the default may be 32mb try to increase to 64mb or more.. try this it might help you.... Link to comment Share on other sites More sharing options...
kilca Posted April 30, 2013 Author Share Posted April 30, 2013 Hello karthik, No i haven't, where can I find it? searched thru all files from /config folder Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted April 30, 2013 Share Posted April 30, 2013 (edited) it is your root directory of your domain check for php.ini and see what is the memory limit if it is 32 chnge it 64 or 128... try for it... Edited April 30, 2013 by karthik who_am_i (see edit history) Link to comment Share on other sites More sharing options...
kilca Posted April 30, 2013 Author Share Posted April 30, 2013 Oh I see now, i must contact server provider because i haven't access to apache server files. Anyways thanks! I hope this will works Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted April 30, 2013 Share Posted April 30, 2013 k fine try it it will help you... Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted May 2, 2013 Share Posted May 2, 2013 hi kilca, have you tried what vekia has told it is a good solution? .... have you able to resolve the problem now?.... Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2013 Share Posted May 2, 2013 hello @kilca we are waiting for your replies :-) So if U know something more, please share it with us. We want to figure it out exactly as you want :-) thanks Link to comment Share on other sites More sharing options...
kilca Posted May 4, 2013 Author Share Posted May 4, 2013 hello, I'm waiting too, the server provider doesn't reply me :X I will surely leave a results here! Link to comment Share on other sites More sharing options...
vekia Posted May 4, 2013 Share Posted May 4, 2013 hello, I'm waiting too, the server provider doesn't reply me :X I will surely leave a results here! Thanks for the info, anyway, you tried to disable module that I mentioned in my first reply here? Link to comment Share on other sites More sharing options...
kilca Posted May 8, 2013 Author Share Posted May 8, 2013 (edited) So finally they did it.. set up on 256mb ... still nothing and yea i tryed to desible it... Edited May 8, 2013 by kilca (see edit history) Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted May 8, 2013 Share Posted May 8, 2013 (edited) k can you post the url of your shop and what steps have you followed for migration can you post the steps.. please elaborate the things you have done... you got a smarty error on which page ... post the error page as screen shot. you are able to login to the back office or not? post all the steps u have done.. before migration it is working know? Edited May 8, 2013 by karthik who_am_i (see edit history) Link to comment Share on other sites More sharing options...
kilca Posted May 11, 2013 Author Share Posted May 11, 2013 (edited) Ok, url: http://rybarskepotreby-sy.cz/shop/ I modified prestashop in my localhost server... then uploaded to ftp (changed manualy in database ps_shop_url) and then occured this problem... I've got smarty error on every page, I can't even log to backoffice... Frontoffice error: Backoffice error: I have enlarged memory to 256M Tryed many changes of smarty folders (by many tutorials) Desibled module where was the fatal error (it only shows other module problem) Just everything what found google isn't working Maybe I don't remember everything what I did to solve this... thanks in advance, Martin Edited May 11, 2013 by kilca (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 11, 2013 Share Posted May 11, 2013 hello @kilca it looks like issue with overwite smarty cache files. Maybe it's something with permissions? try to remove files from smarty cache Link to comment Share on other sites More sharing options...
kilca Posted May 12, 2013 Author Share Posted May 12, 2013 Hello vekia deleted cache folder from /cache/smarty and still nothing. Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted May 14, 2013 Share Posted May 14, 2013 hello kilca wat u have done for transfer is wrong ... have u followed the steps for transferring to a web in the prestashop user guide.. u no need to update the database directly instead.. have u taken the backup of your local store which is being uploaded to the server. u can again do the transfer follow the steps given in prestashop user guide... if you need help post me... Link to comment Share on other sites More sharing options...
kilca Posted May 14, 2013 Author Share Posted May 14, 2013 I though i followed theese steps. I have backup of local store, so i will try it again. thanks! Link to comment Share on other sites More sharing options...
papich Posted October 27, 2013 Share Posted October 27, 2013 Hello Kilca it's ok for you? 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