VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jeorcal on October 02, 2011, 13:52:56 PM

Title: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: jeorcal on October 02, 2011, 13:52:56 PM
I get that error :
No Shop Currency defined! Go to http://..../administrator/index.php?option=com_virtuemart&view=user&task=editshop

and of course a currency is already selected
(http://www.urpix.fr/files/rrvtws4q19jeog352o8.jpg)

thank you
Title: Re: bug ? No Shop Currency defined! Go to admin....
Post by: jeorcal on October 03, 2011, 18:08:20 PM
and on the main page COM_VIRTUEMART_CONF_WARN_NO_CURRENCY_DEFINED
Title: Re: bug ? No Shop Currency defined! Go to admin....
Post by: Vincentatweb on October 05, 2011, 11:30:44 AM
I noticed the same. I hope this is fixed soon.

In the meantime, install the sample data to avoid this bug.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: amarshall on October 20, 2011, 00:01:31 AM
Quote from: jeorcal on October 02, 2011, 13:52:56 PM
I get that error :
No Shop Currency defined! Go to http://..../administrator/index.php?option=com_virtuemart&view=user&task=editshop

and of course a currency is already selected
(http://www.urpix.fr/files/rrvtws4q19jeog352o8.jpg)

thank you

I have a problem where I see no shop information on that page!!

so I cant set a currency or change any shop information


[attachment cleanup by admin]
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Vincentatweb on December 15, 2011, 10:43:27 AM
First: I'm sorry for replying to this old thread

I did a fresh install of Joomla 1.7.3 & VM 2 RC3 Pre M

This old issue still occurs:
The shop currency settings and the shop information cannot be stored.

After pressing the save button, the following conflicting message shows up:

        Info: User data stored
        Info: Vendor data stored

        vmError: TableVendors The given Vendor name is empty. This field is obligatory, please enter your data and store again.
        vmError: store vendor
        No Shop Currency defined! Go to http://127.0.0.1:8888/virtuemart/administrator/index.php?option=com_virtuemart&view=user&task=editshop


This error only disappears by installing the sample data.

Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: excessstone on January 12, 2012, 11:31:28 AM
i have the same problem. Help.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: mcarky on April 04, 2012, 11:54:08 AM
It is now April 2012, and the problem is still occurring.  I played around with it for ages and eventually have come up with a slightly different error message and am now stuck with Afgahan currency.  Hopefully someone sorts it soon.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Milbo on April 05, 2012, 11:54:01 AM
First:
This "I get that error :
No Shop Currency defined! Go to http://..../administrator/index.php?option=com_virtuemart&view=user&task=editshop"

Is NOT an error. When your car is blinking and tellling you that you have to go to the filling station, you would call it an error? I doubt so. Same here. You must choose a shop currency.

Read the messages what they say
Quote from: Vincentatweb on December 15, 2011, 10:43:27 AM
    Info: User data stored
        Info: Vendor data stored

        vmError: TableVendors The given Vendor name is empty. This field is obligatory, please enter your data and store again.
        vmError: store vendor
        No Shop Currency defined! Go to http://127.0.0.1:8888/virtuemart/administrator/index.php?option=com_virtuemart&view=user&task=editshop


This is really a clear thing. "The given Vendor name is empty. This field is obligatory, please enter your data and store again."

So enter your NAME, man. Then choose a currency and store it, done. So then tell me, which error is left?
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: giilour on April 29, 2012, 04:45:29 AM
hi there - I have tried this many times on different browsers and it does not save and the notification comes up "No shop currency defined" and all the forms and blanked out.  And I have noticed on the forum that there are other people with this problem.  Once you enter a currency it asks to fill out the required fields in the additional information, when you do the required fields that are in red, once you fill them in they stop being red, hit save it goes back to the VM control panel screen and the notification comes up "vmError: Please enter your name."

I think there is something legitimate with what people say as it would be strange to have the form blank and return to control panel even on "apply"  do you think it has something to do with write permissions?
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: karangi on May 15, 2012, 10:49:49 AM
Hi, I think I found the solution, if you go to
YOURSITE/administrator/index.php?option=com_virtuemart&view=user&task=editshop
then edit the currency. That should work, atleast it worked for me.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: mishi on June 12, 2012, 17:00:42 PM
I have tried this 50 times and I can not get it to work either. I have gone through and filled out every tab, all of the fields, required or not and it still gives me two errors...which I believe to be incorrect.

They are the following:
vmError: User name in use
No Shop Currency defined!

Username- there is only one username to fill out and I have used crazy instances to make sure it is not in use.
Currency- I have assigned multiple and listed others as well in all combinations.

It will not save, it will not update...and I can't use it.  Please help!

Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: sagistar on August 07, 2012, 04:42:17 AM
I have got this problem. Fortunately, I can save vendor information now.
You should enter value into both "Shop Name" and "Shop Company Name" field.
Don't forget choose "Currency" and specify a accepted currency in "List of accepted currencies".
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: SamTzu on October 18, 2012, 14:23:30 PM
Excellent idea (sarcasm) now if we only had a "Save" button on the (nearly empty) page.
I cant believe that even on version 2.0.10 this same upgrade bug still exists.
I have tried this with default [en] settings and same result.
I have followed Milbo's upgrade quide to the letter and still this bug persists on all upgrades.
Every time I have to manually dig in the DB.

Some tips to avoid this...
Make sure that the default admin user is enabled and belongs to the Super User group.
Good luck if you have at some point deleted that user.
Make sure that Virtuemart Shopper list shows only 1 admin / (Super Administrator) and that it is the default admin.
If clicking that user shows your Shop settings like below, then good luck fixing it.
Who came up with the brilliant idea of forcing the integration of the Vendor information with the Shop Admin info?

>:( >:( >:( >:( >:( >:( >:(
Sam

(http://www.internet-content.net/virtuemart2_upgrade_bug_shop_edit.png)
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Tomppa on December 13, 2012, 08:42:02 AM
I struggled with this too until I choose Country from Additional Information ::)
The currency was accepted right after this.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Milbo on December 14, 2012, 23:56:54 PM
Hmm Tomppa. Your type of solutions sounds for me correctly. Samtzu, I am really sorry about your problem, but I am very, very sure that less than 1% of this problem. When I look on your screenshot your installation seems be completly broken. It looks like there is a fatal error and the page is not correctly loaded. VM2 has a nice looking backend with a akkordeon menu on the left. So please switch on showing errors and then we may find the problem with your installation.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: prouddad on February 21, 2013, 21:16:06 PM
Wow after 2 hours I have found my solution to

No Shop Currency defined! Contact the administrator, if you are one go to

virtue mart 2.018 and joomla 2.5+

Its easy in virtuemart under "shoppers" (stupid place to put vendors)  select  (or add a shopper) and press the icon checkmark "is a vendor" at the top

(yes it is there and you must declare a shopper as a vendor before it will give you the second tab to fill out)

click on the  shopper (now vendor) link and now you have 2 tabs at the top for info & one with one with the currency.

Wow so much pain for something so easy.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Vicasy on February 26, 2013, 21:18:12 PM
Quote from: prouddad on February 21, 2013, 21:16:06 PM
Wow after 2 hours I have found my solution to

No Shop Currency defined! Contact the administrator, if you are one go to

virtue mart 2.018 and joomla 2.5+

Its easy in virtuemart under "shoppers" (stupid place to put vendors)  select  (or add a shopper) and press the icon checkmark "is a vendor" at the top

(yes it is there and you must declare a shopper as a vendor before it will give you the second tab to fill out)

click on the  shopper (now vendor) link and now you have 2 tabs at the top for info & one with one with the currency.

Wow so much pain for something so easy.



Мне помогло. Спасибо
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Hiflo on July 14, 2013, 21:15:15 PM
Quote from: prouddad on February 21, 2013, 21:16:06 PM
Wow after 2 hours I have found my solution to

No Shop Currency defined! Contact the administrator, if you are one go to

virtue mart 2.018 and joomla 2.5+

Its easy in virtuemart under "shoppers" (stupid place to put vendors)  select  (or add a shopper) and press the icon checkmark "is a vendor" at the top

(yes it is there and you must declare a shopper as a vendor before it will give you the second tab to fill out)

click on the  shopper (now vendor) link and now you have 2 tabs at the top for info & one with one with the currency.

Wow so much pain for something so easy.

Thank You, this works, you saved me - I'm putting the razor blade back in the cupboard.  :P
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: jkbiggs on July 15, 2013, 21:13:12 PM
I'm using Joomla 1.5.  I've downloaded VM 2.0.22a.  I still have "No shop currency defined" even after I choose the United States Dollar.  It won't let me change this.
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: jenkinhill on July 15, 2013, 23:32:12 PM
jtbiggs  If possible please use Joomla 2.5.11  - Joomla 1.5 is no longer supported.  http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012
"We decided to declare now the end of life for VirtueMart 1.1, and that the version 2 of VirtueMart is not any longer maintaining joomla 1.5 compatibility." 4 October 2012

For saving config maybe this: http://forum.virtuemart.net/index.php?topic=99353.0

Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: ecweb on December 20, 2013, 04:24:32 AM
For me the solution to this issue (in Joomla 2.5 with VM 2.0.26) was to:
- enable database update tools under configuration (shop tab)
- go to tools - tools-migration and reset all tables and install sample data
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: GJC Web Design on January 06, 2014, 11:12:03 AM
My 2 pennies worth....

This still seems to be a problem -
tried a fresh J2.5.17/VM2.0.26a
I super admin (auto chosen as vendor on VM install ) - no example data entered (I really don't see why this should be necessary as it is a pain removing it again)

All fine until trying to save the vendor data - 500 server error -
End of script output before headers: index.php, referer: http://test.gjcwebdesign.com/vm2t9/administrator/index.php?option=com_virtuemart&view=user&task=edit&virtuemart_user_id[]=506

You can Google this but it is extremely general - basically no output at all from a php page before the headers are sent..

Worked ages on this checking posts and ideas -
all file permissions and owners correct, plenty of memory (256MB) and php5.4
manually setting vendor in tools (although the only user was already marked as such in #__virtuemart_vmusers)
lang chosen


what ever it always stops at ->
administrator\components\com_virtuemart\models\vendor.php  line 184 (at $table->bindChecknStore ($data);)

trying in administrator\components\com_virtuemart\helpers\vmtable.php -> $table->bindChecknStore ($data);
it successfully passes to function bindChecknStoreNoLang(&$data, $preload = false)  and runs until the end of that function

return $data;  ($ok is true)

at that point the 500 server error occurs

#__virtuemart_vendors always remains empty

As getting late and sorely sick of it just replaced the administrator\components\com_virtuemart\ folder with the 2.0.24c one and bingo - vendor saves and #__virtuemart_vendors filled

now running perfectly - so it is something in 2.0.26a

Cheers
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: GJC Web Design on January 06, 2014, 16:37:11 PM
Looked at this a bit further - after using the 2.0.24c files to save the vendor -  the #__virtuemart_vendors table is now  filled..

I changed back to 2.0.26a files and the vendor data etc can now be editted and changed ..

so it appears that as long as the #__virtuemart_vendors table is empty the 500 server error is thrown ..

yep - just tried - deleted the vendor entry and the 500 error is back as soon as I try to save the vendor...

Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: Milbo on January 15, 2014, 02:18:14 AM
Really strange, you I was shocked.

I deleted first the in of my second test vendor. Entered info again, worked.
Then I deleted all vendors,.. went to shop info, tried again,... worked.

Okey,.. I have multivendor enabled. I disabled multivendor, deleted everything,.. tried again... works!

Sorry I cannot reproduce the problem :-(. I admit, I did not delete the vendor. I just deleted the entries, but this sounds then more like a mysql bug (but I doubt it).
Title: Re: [fixed] bug ? No Shop Currency defined! Go to admin....
Post by: GJC Web Design on January 15, 2014, 11:30:08 AM
It seems under 2.0.26b (the last one I tried) it has been solved.. was it to do with the log file thing maybe?