you must have made some modifications, because there is no model seo_url anymore in 1.5.x and it is not called anywhere in the default code.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
well your product.php might still use it, but the one that comes with opencart does not. If you want to know how to fix it look at the one from the default download. you need to remove the call to the model and then update all the links.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
it seems this is a common problem but no-one posted an answer?
it happened to me when i 1st installed my shop months ago and now i've installed another it's done the exact same thing,
trouble is i can't remember what i did to cure it lol
any ideas pls
Notice: Error: Could not load model tool/seo_url! in /home/steve/public_html/personalisedpolos.org.uk/vqmod/vqcache/vq2-system_engine_loader.php on line 39
it happened to me when i 1st installed my shop months ago and now i've installed another it's done the exact same thing,
trouble is i can't remember what i did to cure it lol
any ideas pls
Notice: Error: Could not load model tool/seo_url! in /home/steve/public_html/personalisedpolos.org.uk/vqmod/vqcache/vq2-system_engine_loader.php on line 39
Did the same as the others. Fixed it and then forgot how. Of course since it was my own doing, I was able to repeat the fix.
So, whenever you get this error, it can usually get fixed by replacing the call in that file to use the new function to read something like:
In my case it was:
which needed to be replaced with the much clear:
Hope this helps! Enjoy!
So, whenever you get this error, it can usually get fixed by replacing the call in that file to use the new function to read something like:
Code: Select all
$this->url->link ('route/path', 'stuff_id=xxx")
Code: Select all
'href' => $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/product&product_id=' . $result['product_id']),
Code: Select all
'href' => $this->url->link('product/product'. '&product_id=' . $result['product_id']),
I just encountered this error myself while working on custom job. The proper correction would be the following from the source file you encounter the error on screen:
change to:
Then, find this instance:
replace with:
This will fix the problem.
Code: Select all
$this->load->model('tool/seo_url');
Code: Select all
//$this->load->model('tool/seo_url');
Code: Select all
$this->model_tool_seo_url->Rewrite(
Code: Select all
$this->url->addRewrite(
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 147 guests