VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gunblaze on August 29, 2012, 17:39:56 PM

Title: Having problem uploading banner images for vendor.
Post by: gunblaze on August 29, 2012, 17:39:56 PM
i created a test user and put that user to "is vendor" status. Then i tried logging in the user from the front-end and tried adding a banner image for the vendor on the front end via the vendor tab.

But i couldn't seem to get the banner to upload successfully.

I keep getting the following error : "Warning: Failed to move file!"

I'm on VM2.10 and J2.5. Any help appreciated.

Mod edit:  impatient bump message removed.  http://forum.virtuemart.net/index.php?board=114.0
Title: Re: Having problem uploading banner images for vendor.
Post by: gunblaze on August 30, 2012, 09:35:37 AM
hmm. Nobody encounter something similar?
Title: Re: Having problem uploading banner images for vendor.
Post by: danger82 on December 03, 2012, 10:25:56 AM
I've just the same problem... I tried to modify the class mediahandler and the function savedata in user controller class. I tried to refer to the $_FILES post variable but seem that from front-end not take the picture and not upload it.
If i try to put on vmdebug the post variable upload (name file field on form - $data['upload']) it show the correct file name... but the temporary file name $_FILES['upload']['tmp_file'] is empty...
I tried to modify the php.ini and for ende to handle the permission rules with a ACL component... But seem to refuse any files uploaded from front-end.
I tried in different cases in a local machine and in a remote server but nothing!!!

I need help because the same class function perfectly in back-end... but in front-end failes... someone have an idea?

System: Joomla 2.5.8 - VM 2.0.14 - PHP 5.3.2