News:

Looking for documentation? Take a look on our wiki

Main Menu

No Shop Currency defined! Go to http://....

Started by nillew, September 14, 2011, 17:52:07 PM

Previous topic - Next topic

jenkinhill

There is no compat.joomla1.5.php file in virtuemart1.9.8.RC2M - I just double checked!
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

PRO

attached screenshots of 1.1 and 2.0

[attachment cleanup by admin]

scoody

so i have deleted in ftp mode all the admin/component folder for virtuemart and all the joomla component virtuemart.

I download again the last release of virtuemart, install , i have the error it can construct the admin menu for virtumart, but now it works ...

I just miss now the admin link for virtuemart !

=> why did i get this phpfile in my 2.0 package ???

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

deesen

You can fix the bug of the missing vendor-tab / "No Shop Currency defined!"-message by simply using this SQL-statement (taken from the file "install \ install_sample_data.sql") :

INSERT IGNORE INTO `#__virtuemart_vendor_medias` (`id`,`virtuemart_vendor_id`, `virtuemart_media_id`) VALUES (NULL, 1, 15);

With other words, adding a row to the table "xxx_virtuemart_vendor_medias" with the values

  virtuemart_vendor_id = 1
  virtuemart_media_id = 15

solves the bug without installing the sample-data.

Bruce Morgan

I am not sure how you did this.  Could you clarify the steps a bit?

Bruce

Bruce Morgan

I tried modifying the database as describd and it did not help.  Ironically I scrupped the VM database and re-installed VM i an effort to migrate the images along with the other data.  That part was succesafull but now I have the no currency defined problem again.  I am using 2.01N over J2.5.1.

Bruce

Bruce Morgan

It took a long time to fix this.  Not even sure what i did right, but after follwing step detailed above I went into the vituemart_users table and changed the "user_is_vendor" box for the administrator from 0 to 1.  I then went to the shoopers tab for the aminstrator and suddently the vendor tab appeared where it was not visible before.  The currency USD was already selected and when I clicked "save" the error messages no longer appeared.  Yikes!

Bruce

jacosky

Please I need help too. I also get the error that no shop currency is defined.
It shows up the link to fix it but once I input my parameters in the admin backend , it just shows me a blank page.

Please how do I fix this?

Bruce Morgan

I followed the steps that i detailed starting with adding the database entry as described several posts back.  I am not even sure if I could retrace my steps if the problem ocurred again.  Do you know how to use phpMyAdmin to modify entries in your database tables?  That is kind of a necessary first step if you are going to fix this yourself.

I think the key was that the super admin needs to be defined as the shop owner/vendor.  In the mogration this does not always happen automatically so you may need to manually correct this.  Se my post below how I did this.  After doign that I went into the "Shop" tab under admin and the "vendor" tab was visible where it was not before in addition to "additional information" and "general user information".  In the venodr view the currence was show as US Dollar but I hot the save button and the warnings were no more.  Hope this helps.

Bruce

Milbo

guys what you are doing? Please use the tools we have provided for cases like this http://dev.virtuemart.net/projects/virtuemart/wiki/Tools

Install the latest version over the old one, use the database updater and renew config by file and it should work.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jacosky

Hello Milbo, I tried your suggestions but instead I get this error from my backend

Server error
The website encountered an error while retrieving http://www.smssenda.com/sms/administrator/index.php. It may be down for maintenance or configured incorrectly.

Please what do I do next?

Bruce Morgan

Milbo, I tried using those tools in different ways on multiple occasion and they did not work.  I finally fixed it by trial and error as detailed above.

Bruce

jacosky

Bruce, did your trial and error also include running the SQL query deesen talked about? Because I've also played by the book but I still errors and blank pages.

Milbo

Deesen sql cannot really work. It is just attaching a media to a vendor. When you have a missing vendor tab the right method is to set "user_is_vendor" to 1 of your user.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/