Post by kudykam » Mon Nov 14, 2016 2:31 am

I have this extension for opencart 2.2.0 up and running prefectly, but I am not able to make CRON job works.

Other extensions works with cron but not this on. When I load the page (mysite.com/cron/avail_cron.php) I get this:

Code: Select all

Forbidden
You don't have permission to access /cron/avail_cron.php on this server.
Can you please help me to make it works?

OC 2.2.0.0


New member

Posts

Joined
Sat May 14, 2011 4:16 am

Post by kudykam » Mon Nov 14, 2016 3:16 pm

Ok in htconfig, it has to allow ip from wich this cron is runned.

But there is another problem with opencart 2.2.0:

Code: Select all

Notice: unserialize(): Error at offset 0 of 27 bytes 
replacing line 27 with this should help:

Code: Select all

$config->set($setting['key'], json_decode($setting['value'], true));
One error remaining:

Code: Select all

Fatal error: Call to a member function trigger() on null in /www/system/storage/modification/system/engine/loader.php on line 119

OC 2.2.0.0


New member

Posts

Joined
Sat May 14, 2011 4:16 am

Post by thekrotek » Wed Nov 16, 2016 5:22 am

system/storage/modification/system/engine/loader.php is a modified version of default loader.php. Probably, some VQMod added some code and it isn't working properly. What's on your line 119?

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 4 guests