Author Topic: [SOLVED] Superuser strange messages  (Read 7054 times)

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
[SOLVED] Superuser strange messages
« on: August 22, 2012, 13:33:13 pm »
Hi!

all superusers in our shop keep getting strange messages like:

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:19.999997 method->orderamount_start:0 method->orderamount_stop:0 result:
weigth_countries _zipCond zip:28023

Normal users don't recieve these messages.

any idea?

Thanks!
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #1 on: August 22, 2012, 13:41:36 pm »
and in cart appears this:

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:19.999997 method->orderamount_start:0 method->orderamount_stop:0 result:
weigth_countries _zipCond zip:28023
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:19.999997 method->orderamount_start:0 method->orderamount_stop:0 result:
weigth_countries _zipCond zip:28023
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:19.999997 method->orderamount_start:0 method->orderamount_stop:0 result:
weigth_countries _zipCond zip:28023
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:19.999997 method->orderamount_start:0 method->orderamount_stop:0 result:
weigth_countries _zipCond zip:28023
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Superuser strange messages
« Reply #2 on: August 22, 2012, 13:41:45 pm »
Hello,

This is normal because some debugging information messages are activated by default for vm admin users that login in the frontend.
If you disable automatic shipment this message will not appear, if you need automatic shipment select you will have that message.

btw, only to admin users that debug information shows up :)

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!

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #3 on: August 22, 2012, 15:35:01 pm »
Thanks for the info bytelord!

is there any way to deactivate only that debug info?

Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Superuser strange messages
« Reply #4 on: August 22, 2012, 16:33:15 pm »
Hello,

May be i am wrong but i think is located under your_joomla_site\plugins\vmshipment\weight_countries\weight_countries.php
around line 275 comment the following line

Code: [Select]
vmdebug('checkConditions '.$method->name.' does not fit');

Please test it and report back if that solve your issue.

If you featured upgrade VM AIO extensions you will have to comment that line again.

Hopes that is the line :)

Regards.
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!

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #5 on: August 22, 2012, 16:48:21 pm »
Thanks but it doesn't work!  >:( admin life is so hard...

 ;D
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Superuser strange messages
« Reply #6 on: August 22, 2012, 16:57:57 pm »
hello,

I am sure where is exactly, is sure at the core but maybe you shouldn't comment it...
in admin's life is a common thing debug messages enabled by default and comes all around ... :)
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!

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #7 on: August 22, 2012, 18:18:18 pm »
  ;)

Thanks for your time!

If anyone knows a solution it will be great!
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Superuser strange messages
« Reply #8 on: August 22, 2012, 18:53:32 pm »
It is only a message for superusers. It does not harm your store, because there should anyway only one superuser and you should also test your store NOT as admin or superuser.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #9 on: August 22, 2012, 19:10:26 pm »
Again you are completly right Milbo, but boss want to be superadmin and have the same view as mortals  ;D
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Superuser strange messages
« Reply #10 on: August 22, 2012, 19:18:29 pm »
You can place boss as a standard shopper user. Tell him after that this is the an admin account! Easy
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!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Superuser strange messages
« Reply #11 on: August 22, 2012, 20:20:58 pm »
you can also just change the vmAdminInfo function in the BE/helpers/config.php
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DaggaTora

  • Jr. Member
  • **
  • Posts: 253
Re: Superuser strange messages
« Reply #12 on: August 23, 2012, 09:30:32 am »
mmm I'm not really sure about changing functions. Wouldn't know where to start but thanks :)

About what you said bytelord about placing boss as a standar shopper he is actually like stardar but he doesn't have the (2). In shoppers regular clients are "shopper / (2)" superadmins "shopper / ()" and me "admin / (deprecated)". I've tried to add the (2) to superadmins but is something about DB 2=register; 8=superadmins...
Joomla 2.5.17 | VM2.0.26d | PHP 5.3.28

dinoide

  • Beginner
  • *
  • Posts: 23
Re: Superuser strange messages
« Reply #13 on: August 31, 2012, 11:23:24 am »
You can place boss as a standard shopper user. Tell him after that this is the an admin account! Easy

It is not my case. The stupid messages appears for all users in the virtuemart.
Why didn't fix before... there are a lot of releses with the same problem. It's agly to see these messages for normal user.!

dinoide

  • Beginner
  • *
  • Posts: 23
Re: Superuser strange messages
« Reply #14 on: August 31, 2012, 11:26:27 am »
could you specify the solution please?

What is BE?

If you know the solution, why are you delivering new releses with the same problem.
It is a headadrake to fix all stupid messages after install a new update.
Please, YOU fix it and deliver a new update with the corrections.

Thanks.