I know many have asked this but I could never get this fixed. Whenever I use the refreshing modification button, I get errors... It means I cannot load ocmod extensions. I am Opencart 2.0.2.0. Is there a simple fix for this? If not is there a way to install ocmod extensions without having to use the refresh modification button?
Could you post the error messages that you see?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Warning: rmdir(public_html/system/modification/system): Directory not empty in /home/public_html/admin/controller/extension/modification.php on line 390Notice: Undefined property: DOMDocument::$loadXml in public_html/admin/controller/extension/modification.php on line 434Notice: Trying to get property of non-object in public_html/admin/controller/extension/modification.php on line 442
Last edited by CarolynB on Wed Sep 28, 2016 10:18 pm, edited 2 times in total.
There were a few modifications done since v2.0.2.0 release compared to the latest release of Opencart. Downloading the newest file and replacing the old file to the new file might resolved the issue. After you uploaded the new file to your server on the same path location, do you notice the same behavior after refreshing with the button?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You simply need to download the latest version of Opencart and extract the files into your computer. Then, simply replace the old file with the new file then retry the refresh notification button once you've refreshed the page. After applying these steps, do you notice the same or other error messages?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
That gave me this error.. Notice: Error: Could not load template /public_html/admin/view/template/extension/modification! in /public_html/vqmod/vqcache/vq2-system_engine_loader.php on line 45
Last edited by CarolynB on Wed Sep 28, 2016 10:39 pm, edited 1 time in total.
Right, on an older version, the loader view still uses template extension.
In admin/controller/extension/modification.php file,
find:
replace with:
You should, then, be able to view your template page again.
In admin/controller/extension/modification.php file,
find:
Code: Select all
$this->response->setOutput($this->load->view('extension/modification', $data));
Code: Select all
$this->response->setOutput($this->load->view('extension/modification.tpl', $data));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Much better then it was, but I still get this error.. Warning: rmdir(/public_html/system/modification/system): Directory not empty in /home/public_html/admin/controller/extension/modification.php on line 105
Last edited by CarolynB on Wed Sep 28, 2016 10:39 pm, edited 1 time in total.
It is fixed. I deleted all the files in the system/modification except the index.html, and no more errors. You are amazing Straightlight!!!
I have struggled with this from day one. Thank you!!! I can't believe it is fixed. Thank you!!!!!!!
I have struggled with this from day one. Thank you!!! I can't believe it is fixed. Thank you!!!!!!!

Who is online
Users browsing this forum: No registered users and 13 guests