Post by CarolynB » Thu Jun 09, 2016 3:04 am

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?

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by straightlight » Thu Jun 09, 2016 3:17 am

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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by CarolynB » Thu Jun 09, 2016 3:28 am

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.

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by CarolynB » Thu Jun 09, 2016 3:30 am

Thanks Straightlight!

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by straightlight » Thu Jun 09, 2016 3:38 am

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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by CarolynB » Thu Jun 09, 2016 3:42 am

I can do that? Add a new file to an older version? Is it the admin/controller/extension/modification.php I need to replace?

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by straightlight » Thu Jun 09, 2016 3:49 am

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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by CarolynB » Thu Jun 09, 2016 3:49 am

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.

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by CarolynB » Thu Jun 09, 2016 3:53 am

Wow, do you mean all the files I replace?

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by straightlight » Thu Jun 09, 2016 3:54 am

Right, on an older version, the loader view still uses template extension.

In admin/controller/extension/modification.php file,

find:

Code: Select all

$this->response->setOutput($this->load->view('extension/modification', $data));
replace with:

Code: Select all

$this->response->setOutput($this->load->view('extension/modification.tpl', $data));
You should, then, be able to view your template page again.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by CarolynB » Thu Jun 09, 2016 6:23 am

ok
Last edited by CarolynB on Thu Jun 09, 2016 6:48 am, edited 1 time in total.

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by CarolynB » Thu Jun 09, 2016 6:31 am

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.

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada

Post by CarolynB » Thu Jun 09, 2016 7:07 am

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!!!!!!! :D

New member

Posts

Joined
Sun Jun 21, 2015 9:03 am
Location - Ontario, Canada
Who is online

Users browsing this forum: No registered users and 13 guests