Welcome, Guest
Username: Password: Remember me

TOPIC: images categories and products

images categories and products 3 years 5 months ago #4570

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
I am struggeling with a lot of errors while uploading pictures: The website is: backup.waffen-obertreis.de. It is just a catalogue, so no cart is needed.

When I want to add a picture to a category the following mesage appears and the thumb picture is not created:

Warning: imagecreatetruecolor() expects parameter 2 to be long, string given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 257

Warning: imageantialias() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 262

Warning: imagealphablending() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 263

Warning: imagesavealpha() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 265

Warning: imagecolorallocatealpha() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 267

Warning: imagecopyresampled() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 270

Warning: imagejpeg() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 311

Warning: imagedestroy() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 166




When I want to create a image for a product, the following error message shows up:

Warning: imagecreatetruecolor() expects parameter 2 to be long, string given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 257

Warning: imageantialias() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 262

Warning: imagealphablending() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 263

Warning: imagesavealpha() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 265

Warning: imagecolorallocatealpha() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 267

Warning: imagecopyresampled() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 270

Warning: imagejpeg() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 311

Warning: imagedestroy() expects parameter 1 to be resource, null given in /var/www/web116/html/websites/10042013/administrator/components/com_virtuemart/helpers/img2thumb.php on line 166


I hope you can help me because I dont know what happened. It worked out fine all the time.

Thank you.
Last Edit: 3 years 5 months ago by miwadesign.
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4582

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

Did you set image size for it in Virtuemart Backend ?

Regards
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4591

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Yes I did.

But I have to change this size when I want to upload a picture for the category, then I have to set in to 100 (width)and when I want to upload pictures for the products I have to change this to 220 (width)so that the picture is not too small.

Is this the error? How can I handle this, as I have never done this before with other virtuemart shops. I didn't have to change the sizes in the configuration for uploading pictures for categories and products.
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4595

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,
You can try check these things:
1. Make sure upload dir and image save dir are writeable.
2. Make sure your host have enough disk space and RAM.

Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4599

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
All these things are okay.

He uploads the image but does not create a thumbnail. You know something else?
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4609

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

If you can find the error log file from server and send me then i can check it ?

Regards
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4658

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Ok, where can I find this log file?

By the why for the error messages I turned off the "dynamicyl image resizing" in the configuration and the error messages disappeared. I also read things about hte GD libary, but this is installed correctly on the server and it supports jpg and png images.
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4674

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Hi!

please find attached the error log file. Sorry but the upload function in the forum is not working. Can I send it to your e-mail address?

Thank you
Last Edit: 3 years 5 months ago by miwadesign.
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4676

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Yes, please send it via email.

Thanks
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4678

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
I need your e-mail address. Thank you. B)
The administrator has disabled public write access.

Re: images categories and products 3 years 5 months ago #4681

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
I though you already have it ? my email is: trungdt(at)omegathemedotcom

Regards
The administrator has disabled public write access.

Re: images categories and products 3 years 4 months ago #4700

  • miwadesign
  • miwadesign's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Error file is sent out to you.

Thank you.
The administrator has disabled public write access.
Time to create page: 0.182 seconds