Problems in the file upload section

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
bskov
Posts: 11
Joined: Sun 15. Jan 2006, 19:08
Location: Århus - Denmark
Contact:

Problems in the file upload section

Post by bskov »

I'm having some problems when uploading files.... some files dissapered from my folder - but they are still on the site.

when i opens a folder the rest of the html-content on the page get cut off ....

well you can see it here: http://bskov.dk/div/fileerror.gif

I had 4 images in the folder "billeder" but when I uploaded the curent image it kind of overwrote the other images.

hope som one can guide me in the right direction....
Brian Skov
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi bskov,

sounds like a corrupt file at your installation.
folder: inc_lib; inc_act;
files: fileinfo.php; filebrowser.php

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
bskov
Posts: 11
Joined: Sun 15. Jan 2006, 19:08
Location: Århus - Denmark
Contact:

Post by bskov »

thanks flip-flop

but the problem seems to be the image itself - when i remove it my other images comes back again.

I have tried changing the filename and the .jpg from upper to lower case - but it doesn't change anything.

here is the image: http://bskov.dk/div/knive2.jpg

I have tried uploading it to another phpwcms installation but with the same result - there are more images from the same clients camera.

can anyone tell if the image is some how damaged....
Brian Skov
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi bskov,

the image works for me very well: www(.)mz.ja-nek(.)de/de_artikel_test2.phtml

At your conf.inc.php: $phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)

At your phpInfo -> php core: upload_max_filesize = ? (for me: 5M)

Test: Load that image into an graphical-editor and save it again. Then upload it again.

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Also, make sure you are running a -recent- version of phpWCMS:
http://www.phpwcms-docu.de/index.php?cvs_info_en
bskov
Posts: 11
Joined: Sun 15. Jan 2006, 19:08
Location: Århus - Denmark
Contact:

Post by bskov »

I've just set it up with 1.2.5 and modified some files - so I'm not happy to do a total update.

which files are used in the file management area ????

I have already updated /inc_lib & /inc_act

EDIT:

It's like the system can't create the thumbnail of those particular images..... where can I update that part of the code ???
Brian Skov
bskov
Posts: 11
Joined: Sun 15. Jan 2006, 19:08
Location: Århus - Denmark
Contact:

Post by bskov »

I have found the problem - when the images are more than 2100x1500 px phpwcms can't handle them......

where can I set a max resolution of images uploaded ????
Brian Skov
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

flip-flop has you on the right track. :wink:
To embellish last post in that thread (by jscholtysik) see this link for explanations about "php.ini" values that may affect operations:
http://www.radinks.com/upload/config.php
Also, keep in mind that image operations with GD/ImageMagick use -more- memory (overhead) than just the size of the graphic. :wink:
Post Reply