Attachment Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
2035
71%
Very Good
444
16%
Good
175
6%
Fair
54
2%
Poor
156
5%
 
Total votes: 2864

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Re: uploading big size attachment gives these errors

Post by morpheus2matrix » Fri Jul 16, 2004 7:42 am

alyster4k wrote: I got around it by shrinking the photo to fix on a screen but still shrunk somewhat. Any ideas how to avoid this error in the future?

Code: Select all

Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php on line 200

Warning: imagecreatefromjpeg(): '/tmp/phpQ3ggyk' is not a valid JPEG file in /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php on line 200

Warning: imagecopyresized(): supplied argument is not a valid Image resource in /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php on line 202

Warning: Cannot modify header information - headers already sent by (output started at /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php:200) in /home/alister/public_html/maximumkc/includes/page_header.php on line 528

Warning: Cannot modify header information - headers already sent by (output started at /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php:200) in /home/alister/public_html/maximumkc/includes/page_header.php on line 530

Warning: Cannot modify header information - headers already sent by (output started at /home/alister/public_html/maximumkc/attach_mod/includes/functions_thumbs.php:200) in /home/alister/public_html/maximumkc/includes/page_header.php on line 531


It seems there is a proble with the funtion imagecreatefromjpeg :
: gd-jpeg: JPEG library reports unrecoverable error:
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix » Fri Jul 16, 2004 7:43 am

Freecode wrote: I get this error

Code: Select all

Template->make_filename(): Error - file does not exist
Now i think by reading some posts its because of the template. Im not using subSilver. How do i fix this?


be sure you have uploaded all the template files in all your template folder :P
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

Freecode
Registered User
Posts: 11
Joined: Wed Jun 25, 2003 2:21 am
Contact:

Post by Freecode » Fri Jul 16, 2004 9:35 am

problem is i dont use subSilver

BlaxLash
Registered User
Posts: 15
Joined: Wed Jan 16, 2002 3:09 pm

Post by BlaxLash » Fri Jul 16, 2004 12:39 pm

First of all, great mod!

I was wondering, if anyone knew how to resize images. Story is: a user uploads a picture, but the picture is i.e. bigger than 150X150. In that case, the file must me resized to the smaller format, and the proportions bust me kept intact. so for example when a image of 300 X 100 is submitted, it must be resized to 150 X 75.

Who helps?

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix » Fri Jul 16, 2004 12:47 pm

Freecode wrote: problem is i dont use subSilver

so upload the template files of the MOD in your template folder
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

Freecode
Registered User
Posts: 11
Joined: Wed Jun 25, 2003 2:21 am
Contact:

Post by Freecode » Fri Jul 16, 2004 12:50 pm

this is confusing.
So i upload the files from attach_mod>contrib>phpbb_attach>templates>subSilver
all the files in there to my template folder?

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix » Fri Jul 16, 2004 12:53 pm

yes :)
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

BlaxLash
Registered User
Posts: 15
Joined: Wed Jan 16, 2002 3:09 pm

Post by BlaxLash » Fri Jul 16, 2004 2:16 pm

in addition to my previous post, i dont want to use the tumbnailoption, i want to resize the pic itself...

Freecode
Registered User
Posts: 11
Joined: Wed Jun 25, 2003 2:21 am
Contact:

Post by Freecode » Fri Jul 16, 2004 2:33 pm

i have done that and still the same error

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix » Fri Jul 16, 2004 3:21 pm

now, upload the files of root/templates/subSilver/ in your template folder
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

nathan42100
Registered User
Posts: 12
Joined: Fri May 21, 2004 12:33 am

old version

Post by nathan42100 » Fri Jul 16, 2004 5:48 pm

either can i have the older version link, or instructions for installing the latest one w/ easy mod?

please and thank you

nathan42100
Registered User
Posts: 12
Joined: Fri May 21, 2004 12:33 am

Post by nathan42100 » Fri Jul 16, 2004 5:55 pm

nvm

alyster4k
Registered User
Posts: 52
Joined: Thu Jun 10, 2004 4:17 am

Post by alyster4k » Fri Jul 16, 2004 6:31 pm

I think I solved my problem by switching from relying on GD2 to Imagemagick. I'll post up if I see anymore issues. Thanks.

nathan42100
Registered User
Posts: 12
Joined: Fri May 21, 2004 12:33 am

Post by nathan42100 » Fri Jul 16, 2004 7:14 pm

i dont know if this was asked before, but i have a forum with 3 templates, and the attachment only shows up on 1 template. whats the fix for this?

nathan42100
Registered User
Posts: 12
Joined: Fri May 21, 2004 12:33 am

Post by nathan42100 » Fri Jul 16, 2004 7:19 pm

nvm again. lol

sorry

Post Reply

Return to “[2.0.x] MOD Database Releases”