What has changed for module code between 1.5.0.5 and 1.5.1? my old modules are not working and i noticed in the new release there has been some changes. But i can not find any documentation to say what has changed?
What has changed?
What has changed?
Daniel changed the way that the module information is stored in the database. Now instead of being stored individually it's stored as serialized data.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
ok.
So what does that mean for updating modules? because at the moment, if my module has 1 position set it does not display, if i set multiple positions and pages i get the following errors
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\column_left.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\column_right.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\content_top.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\content_bottom.php on line 49
Thing is, after comparing the controller files relating to modules i can not for the life of me, see what has changed.
So is there another file i should be editing?
EDIT: actually i think i get what you mean, i guess theres a table somewhere, where i need to include my modules?
So what does that mean for updating modules? because at the moment, if my module has 1 position set it does not display, if i set multiple positions and pages i get the following errors
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\column_left.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\column_right.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\content_top.php on line 49Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\opencart151\catalog\controller\common\content_bottom.php on line 49
Thing is, after comparing the controller files relating to modules i can not for the life of me, see what has changed.
So is there another file i should be editing?
EDIT: actually i think i get what you mean, i guess theres a table somewhere, where i need to include my modules?
compare the admin controllers for the modules and you will start to see some differences then compare the content_top left right etc controllers and you'll see the differences there.
There is no new table to store the module in it's a difference in the way the module settings are stored in the settings table now.
There is no new table to store the module in it's a difference in the way the module settings are stored in the settings table now.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Any chance you can say where the differences are?
cant seem to see where the error in the modules are? i just upgraded too 1.5.1 using the beta script,
thanks
Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\column_left.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\column_left.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\column_right.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\column_right.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\content_top.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\content_top.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\content_bottom.php on line 49Warning: Invalid argument supplied for foreach() in C:\wamp\www\Cart1.5\catalog\controller\common\content_bottom.php on line 49
cant seem to see where the error in the modules are? i just upgraded too 1.5.1 using the beta script,
thanks
Have you also tried placing the module in two different layouts? because i did this also, and the problem came backTheSponge wrote:I hadnt made any changes or any custom modules, I overwrote the files completely, What I did do was uninstall all the modules then reactivated them, this got rid of the errors

If you havent got the problem then great, but just double check, cos i dont know what you mean by "overwrite files".
If you overwrote standard module files then great, but i cant see how you could overwrite custom modules.
Who is online
Users browsing this forum: No registered users and 6 guests