Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Errors when submitting an infusion

Asked Modified Viewed 1,581 times
K
khalid545
K
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

Hi,
When I submitted an new infusion with a screenshot, I got these errors:

Warning: imagecreatefrompng() [function.imagecreatefrompng]: '../../infusions/addondb/img/screenshots/540.png' is not a valid PNG file in /home/phpfusion/public_html/includes/photo_functions_include.php on line 26

Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 28

Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 29

Warning: Division by zero in /home/phpfusion/public_html/includes/photo_functions_include.php on line 37

Warning: Division by zero in /home/phpfusion/public_html/includes/photo_functions_include.php on line 38

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/phpfusion/public_html/includes/photo_functions_include.php on line 45

Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 47

Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 48

Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 50

Warning: imagepng() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 57

Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 59

Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /home/phpfusion/public_html/includes/photo_functions_include.php on line 60
Edited by khalid545 on 22-12-2010 22:47,
0 replies

3 posts

H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

Screenshot corrupted, unable to use.
0 replies
K
khalid545
K
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

The infusion I talked about is now published:
http://www.php-fusion.co.uk/infusions/addondb/view.php?addon_id=91

You can check the screenshot:
- It's PNG, I didn't rename it.
- Filesize: 24Kb
- Size: 773x261 pixels.
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

All those warnings are basically saying the your submitted screenshot is not suitable.
Make sure it's a valid file, in your case .png
You cannot just rename an image file and call it image.png

Also:
Maximum filesize allowed: 1.43MB
Maximum size allowed: 1800x1600 pixels
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

H
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
K
K
  • Junior Member, joined since
  • Contributed 38 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet