Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

midvalleydrifter001
Ecommerce Template Expert

USA
912 Posts

Posted - 03/24/2023 :  09:50:55  
I tried uploading a webp picture file to one of my product pages and got the following error message.

This is on the adminprods.php page.

Error uploading image: 200

ERROR! Illegal File Type

I'm on ECT version 7.5.7.001 running PHP version 8.2.4

Patrick



Edited by - midvalleydrifter001 on 03/24/2023 13:48:38

Vince
Administrator

42466 Posts

Posted - 03/25/2023 :  01:55:58  
Hi Patrick
I see the problem and it's sorted now and you need a new /vsadmin/doupload.php from the updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

midvalleydrifter001
Ecommerce Template Expert

USA
912 Posts

Posted - 03/25/2023 :  11:02:20  
** I uploaded the change and am now getting two different errors.

When I try to upload the new webp format picture and use the Giant, Large, Small feature I get the following message.

Warning: getimagesize(/tmp/phpNIxCgm): Failed to open stream: No such file or directory in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 237

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 238

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 242

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 242

Fatal error: Uncaught DivisionByZeroError: Division by zero in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php:242 Stack trace: #0 {main} thrown in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 242



** When I try to upload just one small picture I get this error.

ERROR! Illegal File Type.

ERROR! Could not write file.

Please check the file permissions on your image directory.
(prodimages/)



Vince
Administrator

42466 Posts

Posted - 03/26/2023 :  06:31:40  
Hi Patrick
Ok, definately, definately fixed now with a change to the vsadmin/doupload.php file in the updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

midvalleydrifter001
Ecommerce Template Expert

USA
912 Posts

Posted - 03/26/2023 :  10:43:39  
Hi Vince,

Thanks for looking into that but I'm still having a problem.

Trying to upload pictures using the Giant, Large, Small feature


Warning: getimagesize(/tmp/phpKvOW54): Failed to open stream: No such file or directory in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 239

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 240

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 244

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 244

Fatal error: Uncaught DivisionByZeroError: Division by zero in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php:244 Stack trace: #0 {main} thrown in /var/www/vhosts/slixprings.com/httpdocs/vsadmin/doupload.php on line 244




Edited by - midvalleydrifter001 on 03/26/2023 11:01:37

Vince
Administrator

42466 Posts

Posted - 03/29/2023 :  00:18:27  
Hi Patrick
Could you send me the webp file that you are testing with to my email maybe and I'll try with that?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

midvalleydrifter001
Ecommerce Template Expert

USA
912 Posts

Posted - 03/29/2023 :  14:41:37  
Hey Vince,

I got it working but for some reason when you select the Giant, Large, Small image feature and do NOT change the Width or Height of the Original image (which will be your Giant image) you get the error.

If I select the Width or Height of the original to be the same Width or Height of the original then it uploads fine and the Medium and Small pictures adjust to their requested sizes.

Patrick

Vince
Administrator

42466 Posts

Posted - 03/31/2023 :  01:51:47  
Hi Patrick
I'm glad to hear that you have things working now however I can't seem to recreate this here. Would it be possible for you to send me a screen shot of the settings you have when you upload the image?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

midvalleydrifter001
Ecommerce Template Expert

USA
912 Posts

Posted - 03/31/2023 :  19:41:16  
Hi Vince,

I sent you an email.

Patrick

  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000