We are using Shoppica 1.0.15. The error log shows that something’s not right with catalog/controller/module/shoppica.php. Any clue what suppose to be the problem?
PHP Notice: Constant RES_URL already defined in /home/xxxxxxxx/public_html/vqmod/vqcache/vq2-catalog_controller_module_shoppica.php on line 41
PHP Notice: Constant CURRENT_URL already defined in /home/xxxxxxxx/public_html/vqmod/vqcache/vq2-catalog_controller_module_shoppica.php on line 42
|
|
I see you use vqmod. Can you disable it to check if the notices continue to appear ?
|
|
If I disable the vqmod, the errors disappear. What might be causing such behaviour?
|
|
The cause is most likely a poorly written vqmod. Try to disable your vqmod xml files one by one to see which is causing the problems. Then contact the modification’s author to ask for help.
Best,
ThemeBurn team
|
|
I tried that. Even with basic VQMOD vqmod_opencart.xml (all other xml files disabled), I get the same errors in the error log.
|
|
You can’t get this error with vqmod disabled. Look at the error message:
PHP Notice: Constant RES_URL already defined in /home/xxxxxxxx/public_html/vqmod/vqcache/vq2-catalog_controller_module_shoppica.php on line 41
It suggests that the error is raised in vq2-vqmod/vqcache/catalog_controller_module_shoppica.php – this is the vqmod cache folder. Can’t really guess what’s happening with the modified files. Try to disable the whole vqmod by removing it or try to paste details about the error here that do not contain the vqmod cache folder path.
Best,
ThemeBurn team
|
|
I found the solution. You can’t use Shoppica 1 theme with Shoppica 2 index.php in public_html folder. After replacing the index.php file with the one provided for Shoppica 1, the errors are gone.
Anyway, thanks for all your efforts!
|
|
Hi,
There is dedicated part in the theme documentation how to have both Shoppica 1 and Shoppica 2 on the same OpenCart installation.
Best,
ThemeBurn team
|
|