News:

Looking for documentation? Take a look on our wiki

Main Menu

Having problem uploading banner images for vendor.

Started by gunblaze, August 29, 2012, 17:39:56 PM

Previous topic - Next topic

gunblaze

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
Do you run your own Store using virtuemart as well?
Link up with me! Pm me to partner up.
http://www.casualstyle.net

gunblaze

Do you run your own Store using virtuemart as well?
Link up with me! Pm me to partner up.
http://www.casualstyle.net

danger82

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