Error log shows an issue with shoppica.php

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeError log shows an issue with shoppica.php

This topic has been marked as resolved.

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
June 13, 2012 at 5:27 pm #10294

I see you use vqmod. Can you disable it to check if the notices continue to appear ?

June 15, 2012 at 12:08 pm #10393

If I disable the vqmod, the errors disappear. What might be causing such behaviour?

June 16, 2012 at 3:37 pm #10435

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

June 18, 2012 at 4:56 pm #10510

I tried that. Even with basic VQMOD vqmod_opencart.xml (all other xml files disabled), I get the same errors in the error log.

June 18, 2012 at 5:20 pm #10518

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

June 22, 2012 at 11:20 am #10638

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!

June 22, 2012 at 4:25 pm #10666

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

June 26, 2012 at 11:24 am #10777
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.