AbanteCart Community
Shopping Cart Operations => Support => Topic started by: triviumco on February 14, 2017, 08:49:35 AM
-
Hi all,
I need some serious help with Abantecart, once i have added items to the cart, then click view cart, it shows the items in the list, when i click the delete button the page refreshes but the items stay there. Also the total and shipping at the bottom seems to be blank once i have tried to remove it. Here are the logs: (there are plenty like this)
2017-02-14 13:37:17 - warning: AbanteCart core v.1.2.9 unlink(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>134</b>
2017-02-14 13:37:18 - warning: AbanteCart core v.1.2.9 unlink(/home/triviwft/public_html/system/cache/extensions/9a48314d872073fded582c4d7c88f552.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>301</b>
2017-02-14 13:37:18 - warning: AbanteCart core v.1.2.9 fopen(/home/triviwft/public_html/system/cache/extensions/9a48314d872073fded582c4d7c88f552.php): failed to open stream: Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>235</b>
What should I do? I did use a theme when I started the design, could it be that? I am using Abantecart 1.2.9
Thanks,
Matt
-
Hello
Your cache directory is not writable. set 777 permission to public_html/system/cache/ folder and all subfolders
-
Thanks for the reply, once i try change the permission, i get this:
Could not change perms on /public_html/system/cache/extensions/26dcb39dbdbf42733d603360869e8b5e.php: Permission denied
Almost on every extension. Any ideas?
-
Hi.
You need to add read/write permission to all folders, subfolders, files in the cache directory! Also try to clear AbanteCart cache in admin
Please read docs http://docs.abantecart.com/pages/tips/troubleshooting.html#permissionscache
and check video [ Invalid YouTube link ]
-
Hello and thanks for your reply. This is what i did, i am using WinSCP, right lick on the cache folder, properties, then set 777 on all files and folder within, it gives me this error:
Could not change perms on /public_html/system/cache/extensions/26dcb39dbdbf42733d603360869e8b5e.php: Operation not permitted
Funny thing is, when i add items to cart, and click delete to remote the item, it stays there. The top cart indication says R00.0 amounts although it says an amount with currencies if i view cart.
How do i debug this?
See more logs below.
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 unlink(/home/triviwft/public_html/system/cache/settings/2cac061af1567311831279a105874cb4.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>134</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 unlink(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>301</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 fopen(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): failed to open stream: Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>235</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 flock() expects parameter 1 to be resource, boolean given in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>252</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 fopen(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): failed to open stream: Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>235</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 flock() expects parameter 1 to be resource, boolean given in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>252</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 fopen(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): failed to open stream: Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>121</b>
2017-02-21 8:10:53 - warning: AbanteCart core v.1.2.8 unlink(/home/triviwft/public_html/system/cache/extensions/4410b3e91042a797061ef47599f5c5a5.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>134</b>
2017-02-21 8:10:54 - warning: AbanteCart core v.1.2.8 unlink(/home/triviwft/public_html/system/cache/settings/a37b094eb4f7974e70a98abf40fe374e.php): Permission denied in <b>/home/triviwft/public_html/core/cache/file.php</b> on line <b>301</b>
Thanks!
-
Hi.
Ask you hosting provider to allow you change permissions a ask them to change for you
-
Managed to change permissions, now when i add items to the cart is shows shopping cart is empty, when i look in my checkout it displays what i have added into the cart. Any ideas how to debug this? Something weird going on.
-
Try to enable system check in settings (System->settings->system) and look into log for warnings.
-
Check video about System Check (bottom of page) http://docs.abantecart.com/pages/settings/system.html
-
Hmmm thanks guys, let me see what i can find, will post if i cannot come right.
-
Hi all,
So i fixed the permissions issues, no error messages now. I still cannot delete items out of the cart or update the quantities, the page just refreshes with no effect. I am not sure where to go from here? I would hate to start from scratch :/
-
Clear AbanteCart and browser cache before checking problem