VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Products, Prices, Tax and Categories VM 1.1 => Topic started by: Asphyx on June 12, 2010, 07:03:30 am

Title: [SOLVED] - Product Images - Unable to move file error
Post by: Asphyx on June 12, 2010, 07:03:30 am
Hi folks,
I know this is not a bug in Virtumart as it WAS working perfectly...
But now when I try to change the product images I get an error "unable to move file"
I checked permissions of those folders and all seems fine, even dared to chmod 777 and tried that still no joy...

Has anyone run into this before and point me in the right direction?

Title: Re: Product Images - Unable to move file error
Post by: jenkinhill on June 12, 2010, 11:50:42 am
If it was working properly and you did not change anything then ask your host what they changed.
Title: Re: Product Images - Unable to move file error
Post by: Asphyx on June 12, 2010, 16:10:00 pm
Thanks Jenkin,
but I have already been able to rule them out because I have another site on the same server that does not have this issue.

The only difference between the two is I did install a new template in the one that is no longer working but I was able to change images right after I installed it.

I was hoping you knew what generated the can't move error so I could follow the code backwards and see what the hell I did to break it.

I'm gonna try going back to the default template and see if the problem goes away.
Title: Re: [SOLVED] - Product Images - Unable to move file error
Post by: Asphyx on June 12, 2010, 17:30:55 pm
Thanks for your help Jenks,
Found my issue...

I somehow removed the setting for resized width and that caused the move error. I guess GD lib was trying to resize to no width and that sparked the error...

Not knowing I did that I also messed up my file permissions for the folder trying to get it to work...

All is fixed!