PDA

View Full Version : Copy Image to a 2nd Gallery - Error Logged


stevemul
29th of November 2004 (Mon), 04:13
I am copying images to a 2nd gallery. I get the following errors logged for every image. However the copy does appear to work. I am concerned that my database may be getting corrupted.

My URL is www.hobartphoto.org.au. The base folder is /httpdocs/. 'EE' is in folder /httpdocs/e_engine/ and the images folder is 'httpdocs/photo_galleries/.


sg 29318 | ftp: LOCAL: DISCONNECTED
msg 29317 | ftp: Elaine_Stokman___Another_Country_Classic.jpg: UPLOAD ERROR. Reason: unknown
msg 29316 | ftp: LOCAL: Working directory changed to '/httpdocs/photo_galleries/microthumb'
msg 29315 | ftp: LOCAL: Changed to passive mode
msg 29314 | ftp: LOCAL: Logged in as 'hphoto'
msg 29313 | ftp: LOCAL: Connected to '202.60.70.10'
msg 29312 | ftp: local: DISCONNECTED
msg 29311 | ftp: MICROTHUMB DOWNLOAD ERROR.
to: ../ftp_temp/Elaine_Stokman___Another_Country_Classic.jpg
from: Elaine_Stokman___Another_Country_Classic.jpg'.
Reason: ftp_get(): Error opening ../ftp_temp/Elaine_Stokman___Another_Country_Classic.jpg
msg 29310 | ftp: LOCAL: Working directory is /httpdocs/photo_galleries/microthumb
msg 29309 | ftp: LOCAL: Working directory changed to /httpdocs/photo_galleries/microthumb
msg 29308 | ftp: LOCAL: Working directory changed to /httpdocs/photo_galleries/microthumb
msg 29307 | ftp: LOCAL: Changed to passive mode
msg 29306 | ftp: LOCAL: Logged in as hphoto
msg 29305 | ftp: LOCAL: Connected to hobartphoto.org.au
msg 29304 | ftp: FTP IN PROGRESS - contacting ftp server 'local'
msg 29303 | ftp: LOCAL: DISCONNECTED
msg 29302 | ftp: Elaine_Stokman___Another_Country_Classic.jpg: UPLOAD ERROR. Reason: unknown
msg 29301 | ftp: LOCAL: Working directory changed to '/httpdocs/photo_galleries/thumb'
msg 29300 | ftp: LOCAL: Changed to passive mode
msg 29299 | ftp: LOCAL: Logged in as 'hphoto'
msg 29298 | ftp: LOCAL: Connected to '202.60.70.10'
msg 29297 | ftp: local: DISCONNECTED
msg 29296 | ftp: THUMB DOWNLOAD ERROR.
to: ../ftp_temp/Elaine_Stokman___Another_Country_Classic.jpg
from: Elaine_Stokman___Another_Country_Classic.jpg'.
Reason: ftp_get(): Error opening ../ftp_temp/Elaine_Stokman___Another_Country_Classic.jpg
msg 29295 | ftp: LOCAL: Working directory is /httpdocs/photo_galleries/thumb
msg 29294 | ftp: LOCAL: Working directory changed to /httpdocs/photo_galleries/thumb


In addition to the above, the report below the error msgs states :-

COPY PHOTOS

filename: Elaine_Stokman___Another_Country_Classic.jpg
THUMB Elaine_Stokman___Another_Country_Classic.jpg UPLOAD FAILED
MICROTHUMB Elaine_Stokman___Another_Country_Classic.jpg UPLOAD FAILED

Automatic database maintenance:
table: e_engine.ee_order_to_exhibition | operation: repair | status: OK
table: e_engine.ee_photo | operation: repair | status: OK
table: e_engine.ee_photo_eng | operation: repair | status: OK
table: e_engine.ee_photo_to_category | operation: repair | status: OK
table: e_engine.ee_photo_to_ee_commerce_template | operation: repair | status: OK
table: e_engine.ee_photo_to_exhibition | operation: repair | status: OK


Any ideas or suggestions would be most welcome.

Best regards,

Steve Mullarkey.

Taligent
29th of November 2004 (Mon), 23:48
Looks like a problem with the thumb and microthumb paths setup.

Take a look in /httpdocs/photo_galleries/thumb and /microthumb and see if the thumbs/microthumb of the the photos being copied are there. They're probably not there - but that's where EE thinks they are.

Check your path setup for thumbs & microthumbs. Also in EE editor, check the "edit exhibition data" page - on the right is where the thumbs and microthumbs for that exhibition are set to. Click on "show thumbnails" in thumbs/microthumbs - if you don't see the thumbs/microthumbs, there is a problem with the paths somewhere.

Your database shouldn't be affected by this, but photos being copied around will not have their associated thumbs & microthumbs copied with them - this is only a problem if you have set up multiple thumb/microthumb paths. If you're storing all of your thumbs/microthumbs in a single directory (as it seems you are) there shouldn't be a problem.

Pekka
30th of November 2004 (Tue), 06:44
Looks to me that "ftp_temp" folder is not chmod 777.

stevemul
30th of November 2004 (Tue), 17:16
Looks to me that "ftp_temp" folder is not chmod 777.

That's fixed the error msgs.

Many thanks.

Steve, Hobart, Tasmania.

stevemul
30th of November 2004 (Tue), 17:26
Pekka's suggestion fixed the error msgs. Since you've kind enough to make a couple of suggestions I have tested your suggestions and gained some benefit though it didn't fix the immediate problem.


Looks like a problem with the thumb and microthumb paths setup.

Take a look in /httpdocs/photo_galleries/thumb and /microthumb and see if the thumbs/microthumb of the the photos being copied are there. They're probably not there - but that's where EE thinks they are.

Check your path setup for thumbs & microthumbs. Also in EE editor, check the "edit exhibition data" page - on the right is where the thumbs and microthumbs for that exhibition are set to. Click on "show thumbnails" in thumbs/microthumbs - if you don't see the thumbs/microthumbs, there is a problem with the paths somewhere.


The thumbs and microthumbs were respectively in /httpdocs/photo_galleries/thumb and /microthumb. However my paths were incorrect. I had ../photo_galleries/thumb/ when it should have been ../../photo_galleries/thumb/. Similar error for microthumbs. I needed the extra ../

I corrected the paths and tried your suggested test in "edit exhibition data" page. Now it works fine and I can see the images.

Many thanks for your help.

Best regards,

Steve, Hobart, Tasmania.