Shoppica is appearing in my error logs

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeShoppica is appearing in my error logs

This topic has been marked as not a support question.

Hi,

I am getting the following error logs when I click on the ‘Write Testimonials’ button from the Testimonials 151 extension. I am brought back to the home page, no error page saying the requested page is not found.

2012-03-09 8:16:05 – PHP Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at ../index.php:50) in ../system/library/session.php on line 11
2012-03-09 8:16:05 – PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at ../index.php:50) in ../system/library/session.php on line 11
2012-03-09 8:16:05 – PHP Notice: Undefined index: HTTP_HOST in ../index.php on line 180
2012-03-09 8:16:05 – PHP Warning: Cannot modify header information – headers already sent by (output started at ../index.php:50) in ../index.php on line 180
2012-03-09 8:16:05 – PHP Notice: Undefined index: HTTP_HOST in ../system/library/currency.php on line 45
2012-03-09 8:16:05 – PHP Warning: Cannot modify header information – headers already sent by (output started at ../index.php:50) in ../system/library/currency.php on line 45
2012-03-09 8:16:05 – PHP Notice: Undefined index: HTTP_HOST in ../catalog/controller/module/shoppica.php on line 39
2012-03-09 8:16:05 – PHP Notice: Undefined index: HTTP_HOST in ../catalog/controller/module/shoppica.php on line 80
2012-03-09 8:16:05 – PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in ../catalog/model/shoppica/utils.php on line 142
2012-03-09 8:16:05 – PHP Notice: Undefined index: HTTP_HOST in ../catalog/controller/module/shoppica.php on line 81
2012-03-09 8:16:05 – PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in ../catalog/model/shoppica/utils.php on line 142

Needless to say this is above my pay grade.

Any help at this point would be greatly appreciated. I am using 1.5.1.3 with Shoppica, vqmod, and SEO enabled.

Cheers,
Al

March 9, 2012 at 9:06 pm #6979

I should mention that the link the button is trying to go to is …

index.php?route=information/testimonial/testify

where testify is a javascript function using ajax in /catalog/view/theme/shoppica/template/information/testimonial_new.tpl

I installed the ‘default’ files under ‘shoppica’ and made the necessary change to the vqmod xml file (which just added a css reference to header.tpl).

March 9, 2012 at 9:25 pm #6980

If you are going to mark this as not a support question can you at least tell me how to call a javascript function so that it works?

March 12, 2012 at 6:22 pm #7057

Hello,
sorry for the late answer.

It’s hard to guess what is unsetting the ‘HTTP_HOST’ index from the global $_SERVER variable, because I don’t have access to the code of this extension.
rom the error log you have posted, I can conclude that these errors are not related to Shoppica and would appear with the default (or any other theme). Can you confirm these errors appear with the default theme also ?
Is there any information about Shoppica compatibility in the extension’s description / support question ?

March 15, 2012 at 10:42 am #7136
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.