Author Topic: Strange info message in the shopping cart after update to 2.0.8  (Read 10416 times)

rnoppert

  • Beginner
  • *
  • Posts: 20
I updated two sites (both not live) from 2.0.6 to 2.0.8c, but get a strange info message on both sites when I access the cart. Both sites are running Joomla 2.5.6 and VM 2.0.8.c and have different Joomla e-commerce templates from different vendors.

        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:1 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:16.6005 method->orderamount_start:80 method->orderamount_stop:100 result:
        weigth_countries _zipCond zip:5706
        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:1 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:16.6005 method->orderamount_start:0 method->orderamount_stop:80 result:
        weigth_countries _zipCond zip:5706
        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:1 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:16.6005 method->orderamount_start:0 method->orderamount_stop:80 result:
        weigth_countries _zipCond zip:5706
        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:1 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:16.6005 method->orderamount_start:0 method->orderamount_stop:80 result:
        weigth_countries _zipCond zip:5706

It is related to the shipping method, because the notifications are gone when I delete all shipping methods, but once I recreate one the message is back. We need these sites to go live without these informational notifications, so can someone please let me know how to correct the issue? A screenshot off the notification is attached.

Thanks in advance.

Regards,

Richard.

[attachment cleanup by admin]

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #1 on: July 06, 2012, 01:20:19 am »
You see this messages only, when you are logged in as administrator, they are there to find problems with the automatic selected methods (shipment/payment).
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rnoppert

  • Beginner
  • *
  • Posts: 20
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #2 on: July 06, 2012, 14:23:59 pm »
Thanks for the info. Couldn't find any information about it, so thought is was a bug.

marco

  • Beginner
  • *
  • Posts: 9
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #3 on: July 09, 2012, 23:51:49 pm »
Why? There was already the debug "only for administrator" - I found this new thing much confusion. Please give an option for that (even if an option will be similar to "only for administrator") this is a boring thing.

Rufflet

  • Beginner
  • *
  • Posts: 2
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #4 on: July 10, 2012, 11:04:17 am »
I removed these warnings simply commenting out some lines in the file /plugins/vmshipment/weight_countries/weight_countries.php

Quote
Line 283-284: vmAdminInfo('weigth_countries _weightCond orderWeight:'. $orderWeight. ' method->weight_start:'. $method->weight_start.' method->weight_stop:'...
Line 308-310: vmAdminInfo('weigth_countries _nbproductsCond nbproducts:'. $nbproducts. ' method->nbproducts_start:'. $method->nbproducts_start...
Line 331-333: vmAdminInfo('weigth_countries _orderamountCond cart_amount:'. $cart_prices['salesPrice']. ' method->orderamount_start:'. $method->orderamount_start...
Line 353-355: vmAdminInfo('weigth_countries _zipCond zip:'. $zip, ' method->zip_start:'. $method->zip_start...

erka

  • Guest
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #5 on: July 14, 2012, 22:24:29 pm »
Why do you have them to show as default? If I choose that I don´t want any debug info to show I don´t want any debug info to show.

jmgroud

  • Beginner
  • *
  • Posts: 2
    • JMGI
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #6 on: July 18, 2012, 13:57:58 pm »
Hello
I'm french and administrator in my web-sites...
So debug informations is good but only good if i want to have this informations...
Is it possible to use Virtuemart with a administrator profile without debug-messages ????!!!!!!!!
(on my parameters i have this : "Pas de debogage" (in french sorry ! this is "No debug")
Oups !!!!!!!
Jean-Marie

cas

  • Jr. Member
  • **
  • Posts: 487
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #7 on: July 19, 2012, 08:33:58 am »
Same problem here.  Please turn this info off unless we select display debug info. 

RuggeroSB

  • Beginner
  • *
  • Posts: 26
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #8 on: July 30, 2012, 23:13:40 pm »
Agree! Please give an option to disable the debug info.

adriespo

  • Beginner
  • *
  • Posts: 31
    • Adriano Esposito
  • Skype Name: adriano.esposito
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #9 on: July 31, 2012, 08:38:28 am »
Me same problem. I ask for a global option to set in future release, thanks...

readyforchange

  • Beginner
  • *
  • Posts: 27
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #10 on: August 09, 2012, 23:12:45 pm »
I've disabled debug messages but this still pops up.... ? 

Why is this the case?  How do i fix this ?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #11 on: August 12, 2012, 01:59:47 am »
Why? There was already the debug "only for administrator" - I found this new thing much confusion. Please give an option for that (even if an option will be similar to "only for administrator") this is a boring thing.

The problem is then that you often see so many messages, that it is hard to filter the correct ones. So we added a new message type, which is always shown to administrators. But only to them.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Stonedfury

  • Jr. Member
  • **
  • Posts: 266
    • Stonedfury
  • Skype Name: Stonedfury
  • VirtueMart Version: 2.0.24
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #12 on: September 27, 2012, 23:37:18 pm »
This message sucks. Very confusing as I thought I had it turned off and here i finally find out its a no choice message.
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #13 on: September 28, 2012, 00:14:06 am »
vmadmininfo function that is responsible for that debug messages (only for admins) will be removed on the next release 2.0.12.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Pilly57

  • Beginner
  • *
  • Posts: 3
Re: Strange info message in the shopping cart after update to 2.0.8
« Reply #14 on: October 10, 2013, 17:48:14 pm »
vmadmininfo function that is responsible for that debug messages (only for admins) will be removed on the next release 2.0.12.

Yeah, but it wasn't, because I am still getting this irritating debug message on 2.0.22c (Joomla 2.5.14) and (PHP 5.4.19)