Post by CartIdeas » Tue Jul 11, 2017 5:31 pm

I am using 2.3.0.2. My site was working fine until recently. Suddenly I noticed that few TPL files in admin started throwing 'Undefined variables' for the variables created by OCMod extensions.

On close examination, I could see that the controller was not executed from system\storage\modification folder anymore for OCMod extensions whereas corresponding model and TPL files were loaded from this folder only. Since controller is executed from orginal admin\controller folder, the variables were reported as not defined.

I tried clearing the system\storage\modification folder and refreshed the mods. This creates all the files perfectly but execution was still not happening from this.

I am myself a developer. This looks strange. Has anybody faced the same issue. Any solution?

User avatar
New member

Posts

Joined
Sun Dec 04, 2016 1:32 pm

Post by paulfeakins » Tue Jul 11, 2017 6:03 pm

It sounds like the OCMOD searches in one of your extensions aren't working anymore. It might be the bits of code they're searching for are being replaced by other extensions.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by CartIdeas » Tue Jul 11, 2017 6:29 pm

paulfeakins wrote:
Tue Jul 11, 2017 6:03 pm
It sounds like the OCMOD searches in one of your extensions aren't working anymore. It might be the bits of code they're searching for are being replaced by other extensions.
That is not the case. I have only one OCMod extension and if it was not replacing, it should not have created any file in storage folder. The modified file is infact created but not used

User avatar
New member

Posts

Joined
Sun Dec 04, 2016 1:32 pm
Who is online

Users browsing this forum: Baidu [Spider] and 18 guests