AbanteCart Community
AbanteCart Development => Development Help Needed => Topic started by: yonghan on December 29, 2016, 04:40:39 AM
-
Hi admins,
I want to execute an upgrade file in an extension, and when i try to upgrade the extension i get these warnings and the upgrade.php is not executed:
warning: AbanteCart core v.1.2.8 include(C:\xampp\htdocs\testing\ab128\extensions\xxxx): failed to open stream: Permission denied in <b>C:\xampp\htdocs\testing\ab128\core\lib\package_manager.php</b> on line <b>656</b>
warning: AbanteCart core v.1.2.8 include(): Failed opening 'C:/xampp/htdocs/testing/ab128/extensions/xxxx/' for inclusion (include_path='.;\xampp\php\PEAR') in <b>C:\xampp\htdocs\testing\ab128\core\lib\package_manager.php</b> on line <b>656</b>
I do have the file included in the zipped extension. Do i need to add additional code to get the upgrade file executed? Thanks.
-
Hi.
in your error "Permission denied" check file permissions
http://docs.abantecart.com/pages/upgrade/manual.html
-
Hi Basara,
I have the file permissions set to 0777.
-
Check directory permission as well.
-
I will try to check the directory permissions too. Have you tried to update an extension that has the update php file before, eCommerce Core?