No pop-up notice when click on Add to Cart

Rate this topic: Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.3.50 out of 6 based on 2 vote(s)
GK User
Wed Nov 19, 2014 8:51 am
Reply with quote
Report this post
Hi, I use Storebox with J25 on my site: http://hoatay.vn
When click on Add To Cart on the main frontpage (http://hoatay.vn?, the pop-up notice (continue shopping or check out) works.
See:
Image

But when we browse to the product detail page and click on Add to cart button, no notice pop up.
See:
Image
Please check by yourself at some other product detail pages:

Please help!
User avatar
Expert Boarder

GK User
Fri Nov 21, 2014 9:52 am
Reply with quote
Report this post
Hello,

First of all please go to Virtuemart -> Configuration -> Checkout and please make sure that option "Display modal popup upon 'Add to cart'" is enabled.
User avatar
Administrator

GK User
Fri Nov 21, 2014 10:30 am
Reply with quote
Report this post
Hi,
That option is already enable, as I mentioned in the first post: the popup works properly on the main front page, but doesn't work on product detail pages.
User avatar
Expert Boarder

GK User
Sat Nov 22, 2014 6:55 pm
Reply with quote
Report this post
Please open file html/com_virtuemart/productdetails/default.php and please add after the following fragment:

Code: Select all
defined('_JEXEC') or die('Restricted access');


this code:

Code: Select all
if (isset($this->product->step_order_level))
   $step=$this->product->step_order_level;
else
   $step=1;
if($step==0)
   $step=1;
User avatar
Administrator

GK User
Sun Nov 23, 2014 6:50 am
Reply with quote
Report this post
Hi,
Pop-up still doesn't work. The product image is also doesn't popup when clicked for zoom. It opens in a new window instead.
If you need an administrator access, please let me know.
Thank you!
User avatar
Expert Boarder

GK User
Sun Nov 23, 2014 7:16 am
Reply with quote
Report this post
Please have a look at the error report. These errors is recorded again and again make the size of error_log file increase unexpectedly.
This is the copy:

Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
Undefined variable: step in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 366
Undefined variable: alert in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 369
Undefined property: stdClass::$customfields in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 671

Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
User avatar
Expert Boarder

GK User
Mon Nov 24, 2014 8:06 am
Reply with quote
Report this post
Are you sure that you have modified the **html/com_virtuemart/productdetails/default.php** file in the template directory? Because then the error should disappear, and the notice about the $step variable should also disappear.
User avatar
Administrator

GK User
Mon Nov 24, 2014 2:48 pm
Reply with quote
Report this post
Yes I'm sure I've edited exactly the file that you mentioned. But still no luck.
About the error report, sorry I copied from the old one. This is some lines of the new one after modified:
Code: Select all
[24-Nov-2014 13:42:59 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:42:59 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:42:59 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:00 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:00 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:00 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:00 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:00 UTC] PHP Notice:  Undefined index: url_overrides in /home/hoatayne/public_html/modules/mod_news_pro_gk5/data_sources/com_virtuemart/model.php on line 307
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:19 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:38 UTC] PHP Notice:  Undefined property: TableCategories::$virtuemart_id in /home/hoatayne/public_html/components/com_virtuemart/views/categories/view.html.php on line 57
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[24-Nov-2014 13:43:44 UTC] PHP Notice:  Undefined variable: BrowseTotalProducts in /home/hoatayne/public_html/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213


And this is the defaule.php file after editing:

Code: Select all
defined('_JEXEC') or die('Restricted access');

if (isset($this->product->step_order_level))
   $step=$this->product->step_order_level;
else
   $step=1;
if($step==0)
   $step=1;


/* Let's see if we found the product */
if (empty($this->product)) {
   echo JText::_('COM_VIRTUEMART_PRODUCT_NOT_FOUND');
   echo '<br /><br />  ' . $this->continue_link_html;
   return;
}
...
User avatar
Expert Boarder

GK User
Tue Nov 25, 2014 3:41 pm
Reply with quote
Report this post
Please send me an FTP access to your website using a PM message.
User avatar
Administrator

GK User
Wed Nov 26, 2014 9:28 am
Reply with quote
Report this post
Please check your PM.
User avatar
Expert Boarder

GK User
Thu Nov 27, 2014 10:29 am
Reply with quote
Report this post
Sorry but I still doesn't received your PM message :/
User avatar
Administrator

GK User
Mon Dec 01, 2014 5:16 pm
Reply with quote
Report this post
Sorry for the late reply but I was unavailable on the weekend - could you send me a back-end access to your website too? Because the changes are OK, but now error appears in the other point - I would like to check few things in your configuration.
User avatar
Administrator

GK User
Wed Dec 03, 2014 11:47 am
Reply with quote
Report this post
The info in sent. Please check your PM
User avatar
Expert Boarder

GK User
Wed Dec 03, 2014 4:41 pm
Reply with quote
Report this post
I've been finally able to solve your issue - it was caused by multiple jQuery instances - some instances reset the other instances so some methods was unavailable. I've disabled jQuery in VM and NSP GK5 module - then the popup start to work.
User avatar
Administrator

GK User
Wed Dec 03, 2014 6:00 pm
Reply with quote
Report this post
Work perfectly now!
Thank you very much buddy!
User avatar
Expert Boarder

GK User
Mon Dec 08, 2014 2:58 pm
Reply with quote
Report this post
Hi!

I have the same Problem: http://www.treppenshop.at/component/vir ... l?Itemid=0

What can i do?

Thank you!
User avatar
Junior Boarder

GK User
Tue Dec 09, 2014 8:02 am
Reply with quote
Report this post
@dominik26 - I've described all in my second and previous post in this topic.
User avatar
Administrator

GK User
Tue Dec 09, 2014 9:52 am
Reply with quote
Report this post
Hi!

First: Sorry for my bad english ;-)

I have now updated the template. The default.php is modified (your second post)

This entry is in my errorlog:

Code: Select all
[09-Dec-2014 09:51:41 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375


This is the original default.php from the gk_storebox template.
User avatar
Junior Boarder

GK User
Tue Dec 09, 2014 11:17 am
Reply with quote
Report this post
Hi!

First: Sorry for my bad english ;-)

I have now updated the template. The default.php is modified (your second post)

This entry is in my errorlog:

Code: Select all
[09-Dec-2014 09:51:41 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:05:26 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:09:27 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:09:27 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:11:32 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:12:20 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:39:42 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:40:00 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 10:40:30 Europe/Berlin] PHP Notice:  Undefined index: login in /var/www/k24600w10/htdocs/templates/gk_storebox/layouts/blocks/tools/login.php on line 22
[09-Dec-2014 10:45:43 Europe/Berlin] PHP Notice:  Undefined index: login in /var/www/k24600w10/htdocs/templates/gk_storebox/layouts/blocks/tools/login.php on line 22
[09-Dec-2014 10:52:34 Europe/Berlin] PHP Notice:  Undefined index: login in /var/www/k24600w10/htdocs/templates/gk_storebox/layouts/blocks/tools/login.php on line 22
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined index: login in /var/www/k24600w10/htdocs/templates/gk_storebox/layouts/blocks/tools/login.php on line 22
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author_name in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 125
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 129
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author_name in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 125
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 129
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author_name in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 125
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 129
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author_name in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 125
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: author in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/tmpl/com_k2/view.php on line 129
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined index: one_article_per_category in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/data_sources/com_content/model.php on line 186
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined index: one_article_per_category in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/data_sources/com_k2/model.php on line 223
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined index: one_article_per_category in /var/www/k24600w10/htdocs/modules/mod_news_pro_gk5/data_sources/com_k2/model.php on line 226
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: slide in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/controller.php on line 66
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Trying to get property of non-object in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/controller.php on line 66
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined variable: slide in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/controller.php on line 74
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Trying to get property of non-object in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/controller.php on line 74
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined property: stdClass::$alt in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/view.php on line 65
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined property: stdClass::$alt in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/view.php on line 65
[09-Dec-2014 10:56:58 Europe/Berlin] PHP Notice:  Undefined property: stdClass::$alt in /var/www/k24600w10/htdocs/modules/mod_image_show_gk4/styles/gk_storebox/view.php on line 65
[09-Dec-2014 10:57:21 Europe/Berlin] PHP Warning:  Creating default object from empty value in /var/www/k24600w10/htdocs/components/com_virtuemart/views/categories/view.html.php on line 83
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:23 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 10:57:29 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375
[09-Dec-2014 11:00:15 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:01:35 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:02:15 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:02:32 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 388
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  file_put_contents(/141209.ini): failed to open stream: Permission denied in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 426
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/keys) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  opendir(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/keys) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 92
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  opendir(/var/www/web140/html/vmfiles/keys): failed to open dir: Operation not permitted in /var/www/k24600w10/htdocs/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 92
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_file(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/keys/141209.ini) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 531
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/keys) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 388
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140/html) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www/web140) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var/www) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/var) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/folder.php on line 458
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  file_put_contents(): open_basedir restriction in effect. File(/var/www/web140/html/vmfiles/keys/141209.ini) is not within the allowed path(s): (/var/www/k24600w10/htdocs:/var/www/k24600w10/apps:/var/www/k24600w10/priv:/var/www/k24600w10/tmp:/usr/share/pear:/usr/share/php:/tmp) in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 426
[09-Dec-2014 11:02:41 Europe/Berlin] PHP Warning:  file_put_contents(/var/www/web140/html/vmfiles/keys/141209.ini): failed to open stream: Operation not permitted in /var/www/k24600w10/htdocs/libraries/joomla/filesystem/file.php on line 426
[09-Dec-2014 11:02:57 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:03:05 Europe/Berlin] PHP Notice:  Undefined variable: taskRoute in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/cart/default.php on line 144
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:03:10 Europe/Berlin] PHP Notice:  Undefined variable: BrowseTotalProducts in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/category/default.php on line 213
[09-Dec-2014 11:12:29 Europe/Berlin] PHP Notice:  Undefined variable: alert in /var/www/k24600w10/htdocs/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 375


This is the original default.php from the gk_storebox template.
User avatar
Junior Boarder

GK User
Wed Dec 10, 2014 9:15 am
Reply with quote
Report this post
Hi!

Sorry for my repost but when i delete aan item in The Cart i becomealso the Errors:

Code: Select all
JFile: :read: Die Datei kann nicht geöffnet werden: /var/www/k24600w10/htdocs/components/com_virtuemart/assets/js/jquery.min.js?vmver=8609
JFile: :read: Die Datei kann nicht geöffnet werden: /var/www/k24600w10/htdocs/components/com_virtuemart/assets/js/jquery.noconflict.js?vmver=8609
JFile: :read: Die Datei kann nicht geöffnet werden: /var/www/k24600w10/htdocs/components/com_virtuemart/assets/js/facebox.js?vmver=8609
User avatar
Junior Boarder

GK User
Wed Dec 10, 2014 10:11 am
Reply with quote
Report this post
Ok - now it works.

In the template i switch css compression to off.
User avatar
Junior Boarder

GK User
Wed Dec 10, 2014 1:01 pm
Reply with quote
Report this post
Regarding the JS errors - you can try to exclude the problematic files from compression under the advanced settings.

Regarding the notices - I will report it to our maintenance team and it will be removed in the next update.

As I see now the popup is working on your page while adding a product to the cart.
User avatar
Administrator

GK User
Sat May 16, 2015 8:13 pm
Reply with quote
Report this post
Hi, I think the issue is within helper.cache.php helper file, because, as you might notices, most devewlopers add some kind of suffix to JS files to avoid caching, that's the case with K2 and VirtueMart. to Fix this you need to get rid of the trailing request "?" character.

In function cleanUrl you must add this before return

Code: Select all
        if(strpos($strSrc, '?') !== false) {
            $strSrc = array_shift(explode('?', $strSrc));
        }
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.