1
m0nty
problem uploading photos myalbum-p
  • 2004/1/7 1:23

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i've had to change to a different host and this meant reinstalling XOOPS from scratch basically, due to the old host refusing to answer phone calls or reply to emails.

i've installed myalbum-p 2.5 which i had on the old server and was working perfectly.. I've set it up exactly as it was b4..

but every time i submit a new photo i get the following error:

DB error: UPDATE photo table

permissions on folders are 777 and also 777 on the netpbm folder..

the check configs etc shows:

myAlbum-P checker
Environment Check
PHP directive 'safe_mode' (both ok): off
PHP directive 'file_uploads' (need on): on
PHP directive 'register_globals' (both ok): on
PHP directive 'upload_max_filesize': 20M byte
PHP directive 'post_max_size': 8M byte
PHP directive 'open_basedir': nothing
PHP directive 'upload_tmp_dir': ok

Table Check
Photos table: xoops_myalbum_photos ok
Number of Photos: 1

Descriptions table: xoops_myalbum_text ok
Number of Descriptions: 0

Categories table: xoops_myalbum_cat ok
Number of Categories: 12

Votedata table: xoops_myalbum_votedata ok
Number of Votedata: 0

Comments table: xoops_xoopscomments ok
Number of Comments: 0


Config Check
Pipe for images: NetPBM
Path: /homepages/24/d92902856/htdocs/netpbm
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
sh: /homepages/24/d92902856/htdocs/netpbm/pnmtojpeg: Permission denied ok
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed
Error: /homepages/24/d92902856/htdocs/netpbm/pnmscale can't be executed

Directory for Photos: /homepages/24/d92902856/htdocs/modules/myalbum/photos ok

Directory for Thumbnails: /homepages/24/d92902856/htdocs/modules/myalbum/photos/thumbs ok

----------------------------------
when i check the upload folder it shows the filename as tho it's uploaded but when i try to open the image it says format not recognised.. the photo is a jpg

any ideas?

2
GIJOE
Re: problem uploading photos myalbum-p
  • 2004/1/7 3:14

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Did you set the executable permissions into netpbm files?
pnmscale,pnmtojpeg,jpegtopnm etc. should be 777 or 707.


3
m0nty
Re: problem uploading photos myalbum-p
  • 2004/1/7 17:42

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yes, the files in netpbm are set to 777..

4
GIJOE
Re: problem uploading photos myalbum-p
  • 2004/1/7 21:01

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Did you make netpbm in new server?
As the files of netpbm are binary, it is not portable between two different environments.


Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!