VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: ukfish1 on October 05, 2012, 18:41:26 PM

Title: Cannot configure shop details
Post by: ukfish1 on October 05, 2012, 18:41:26 PM
Hi

I cannot seem to configure the vendor details and additional information in the VM backend.

I installed the site and VM via a "quickstart" install but then deleted the user that VM was drawing the store information from. When I try to save the vendor information, I get the following error:

JUser: :_load: Unable to load user with ID: 42

Other than uninstalling and reinstalling VM, is there a way round this?

VM version: 2.0.10
Joomla: 2.5.6

Cheers, Paul
Title: Re: Cannot configure shop details
Post by: jenkinhill on October 05, 2012, 20:52:02 PM
You need to get rid of the 42. See:
http://forum.virtuemart.net/index.php?topic=105683.msg352240#msg352240
http://forum.virtuemart.net/index.php?topic=106437.msg355129#msg355129
Title: Re: Cannot configure shop details
Post by: nods on December 12, 2012, 12:01:54 PM
I also have the problem: Cannot configure shop details with this error message:

Re: JUser: :_load: Unable to load user with ID: 883

If i then change user ID 883 to 0 (zero) then the shop tab disappears.

So, a) do I actually need the Shop tab, which gives shop name and logo etc, but then where would any customer see this info?  Wouldn't any customer just click on the STORE button on my main website and view categories/products and continue shopping?

Any ideas?
Thanks
Title: Re: Cannot configure shop details
Post by: ukfish1 on December 12, 2012, 12:11:10 PM
this worked for me:

http://www.templatemonster.com/help/joomla-2-5-5-juser-_load-unable-to-load-user-with-id-42-error.html

Paul
Title: JUser: :_load: Unable to load user with ID: 883: Cannot configure shop details
Post by: nods on December 13, 2012, 10:02:26 AM
JUser: :_load: Unable to load user with ID: 883

Has anyone had this error in VM?
Some forums suggest changing user 883 to zero in the DB, but then the tab to edit the shop details disappears. I've tried loading a fresh install of VM but the same error returns.
Anyone have an idea?
Thanks
Title: Re: Cannot configure shop details
Post by: nods on December 13, 2012, 10:04:59 AM
Quote from: ukfish1 on December 12, 2012, 12:11:10 PM
this worked for me:

http://www.templatemonster.com/help/joomla-2-5-5-juser-_load-unable-to-load-user-with-id-42-error.html

Paul

502 Bad gateway - cant see anything.
Title: Re: Cannot configure shop details
Post by: jenkinhill on December 13, 2012, 10:38:03 AM
Nods it is a Joomla error, not a VM error. You have to fix the database. Here is another description of the fix:  http://www.gavick.com/forums/general-discussion/error-juser-load-unable-to-load-user-with-id-42-17408.html
Title: Re: Cannot configure shop details
Post by: artyboy on October 21, 2013, 10:48:59 AM
Hi

I have tried the above solution, however it didn't work for me.

My problem is that I have used Akeeba Admin Tools to "spoof" the admin user ID from 42. So in otherwords there's a spoof admin with ID 42 and the real one with say ID 39.

A possible solution I would like to try - but I want to check with you first - is to go to VM2 tools, click on the "migration" tab, then change the ID of the admin "Store Owner" to one of the other super admins (for example they would have an id of 749. Would this work? Or would I be causing more issues?

The last time I tried to change the default admin in PhpMyAdmin I had a different superuser replicating itself (couldn't delete or edit that user), so I had to restore the DB.

Any help appreciated.  :o
Title: Re: Cannot configure shop details
Post by: jenkinhill on October 21, 2013, 13:50:59 PM
You can set the store owner (vendor) to whichever superuser id you want to use. Test on a backup, of course......
Title: Re: Cannot configure shop details
Post by: artyboy on October 21, 2013, 13:54:55 PM
Hi Jenkinhill

Do you mean using the method in PhpMyAdmin, or by changing the ID of the vendor using the migration tab?

Thanks,
Arthur
Title: Re: Cannot configure shop details
Post by: jenkinhill on October 21, 2013, 15:01:41 PM
Use the tools/migration tab. Or you can enable multivendor and change vendor status on the shopper list. The new vendor must have "billing" address already entered through VM backend's Shopper Information.
Title: Re: Cannot configure shop details
Post by: artyboy on October 21, 2013, 15:09:33 PM
Hi

Thanks - I will remember that for next time!

Instead, I made a new admin user, then changed it's ID in PhpMyAdmin to the one VM was shouting for.

That seems to have worked now!

Many thanks for all your help, much appreciated.
Title: Re: Cannot configure shop details
Post by: Way2exhale on October 23, 2013, 10:10:30 AM
Hi there:

It has been 5 days now and I finally found a solution to the configuration settings for SafePath.  After much research, I found another user suggested to go into Joomla Administration>Global Configuration>Server and copy you server settings from the Path to Temp Folder to VM Configurations>Template Tab and copy the same info into the Media File Settings into the SafePath text box.

I did this and it got rid of the Warning message and created my Invoice file folder.

My question is after following the instruction as listed in the VirtueMart Documents, which leads you to copy the server path  in Joomla 2.5 System Information/Configuration File where the path is shown for tmp_path and for log_path and substitute your new directory name for "html/logs" or "html/tmp"

I got nothing but the same Warning the Safe path is empty, for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensible data secure. Our suggested path is for your system /home/xx/xxxxxxx/vmfiles.

But, after doing exactly opposite from what VirtueMart  directions tells you not to do it worked. I got a notification that its was saved and a invoice file was created.

Only, now my concern is the security vulnerability to my site can I change the file after the fact by moving to another location or do I delete the file in Shop Path and have to start again.

Appreciate your feedback  :)
Way

Joomla! 2.5.14
PHP 5.3.24
VirtueMart  2.0.24  Latest release date 2013-10-01