PHP Warning In Error Log

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemePHP Warning In Error Log

This topic has been marked as resolved.

PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in catalog/model/shoppica/utils.php on line 145

PHP Notice: Undefined index: HTTP_HOST in catalog/controller/module/shoppica.php on line 39
PHP Notice: Undefined index: HTTP_HOST in catalog/controller/module/shoppica.php on line 82

What are these about ?

As a side note … about the SEO URLS in shoppica 2 … how many queries do they make to the database?

As I posted earlier here …. seo urls on my site make 300 queries to the database ..

Without shoppica and seo urls … the total queries are down to 30…..

 stf86
May 18, 2012 at 4:03 pm #9022

The error notices are raised by some shady search bots who do not identify themselves as browsers. They are harmless and cannot bi triggered or seen by normal users. We will add however some checks to prevent these errors from showing in the error log (for the next Shoppica update).

The database queries depend on the categories you have in the menu. Opencart has lower count queries because it displays only two levels deep. Shoppica displays the entire category tree. Every category makes one additional query to determine the SEO url. This query is ‘cheap’ however as it is very simple.

Shoppica 2 we have reduced the additional queries greatly, so you can try. The major opencart performance problem is the products count in category menu and it has nothing to do with Shoppica. In general, Shoppica 2 provides very much the same performance as the default opencart theme, so you can safely use it.

However, we have prepared a special Shoppica plugin – SmartCache, which we will release for free in the next week. With this plugin we achieved 200% better performance than opencart.

May 18, 2012 at 4:46 pm #9030
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.