PDA

View Full Version : Bug after shifting servers.


loupgarou
7th of October 2004 (Thu), 21:55
I've backed up my database and restored it (using mysqldump) on the new server, files are exactly the same structure.

--
now when I upload to database, it doesn't resize thumbnails and microthumnails, they are full sized and annoy the hell out of me.


http://fish.mirrorz.com

-----------------------
ftp upload log says:
msg 11235 | internal ftp:

Automatic database maintenance:
table: gallery.ee_order_to_exhibition | operation: repair | status: OK
table: gallery.ee_photo | operation: repair | status: OK
table: gallery.ee_photo_eng | operation: repair | status: OK
table: gallery.ee_photo_to_category | operation: repair | status: OK
table: gallery.ee_photo_to_ee_commerce_template | operation: repair | status: OK
table: gallery.ee_photo_to_exhibition | operation: repair | status: OK
msg 11234 | internal ftp: UPLOAD FINISHED SUCCESFULLY.
msg 11233 | database action: Photo id 1834 added to database.
msg 11232 | database action: GUESS LENS: | Searching maker: Canon | Searching aperture: 5 | Searching focal: 13 | Searching focal range: 12-24 | highest ranking lens id found is: 19
msg 11231 | database action: GUESS CAMERA: | Searching maker: Canon | Searching keywords | Canon | EOS | 300D | DIGITAL | highest ranking camera id found is: 2
msg 11230 | database action: Photo id 1833 added to database.
msg 11229 | database action: GUESS LENS: | Searching maker: Canon | Searching aperture: 5 | Searching focal: 13 | Searching focal range: 12-24 | highest ranking lens id found is: 19
msg 11228 | database action: GUESS CAMERA: | Searching maker: Canon | Searching keywords | Canon | EOS | 300D | DIGITAL | highest ranking camera id found is: 2
msg 11227 | database action: Photo id 1832 added to database.
msg 11226 | database action: GUESS LENS: | Searching maker: Canon | Searching aperture: 5 | Searching focal: 13 | Searching focal range: 12-24 | highest ranking lens id found is: 19
msg 11225 | database action: GUESS CAMERA: | Searching maker: Canon | Searching keywords | Canon | EOS | 300D | DIGITAL | highest ranking camera id found is: 2
msg 11224 | internal ftp: LOCAL: DISCONNECTED
msg 11223 | internal ftp: QUIT: 221 Goodbye!
msg 11222 | internal ftp: QUIT
msg 11221 | internal ftp: LOCAL:
'CRW_2226.jpg' UPLOADED SUCCESFULLY
SIZE: 600x400 => 43x28 microthumb (IMAGEMAGICK 43)
msg 11220 | internal ftp: UPLOAD(END): 226 Transfer complete.
msg 11219 | internal ftp: /ftp/tds/gallery/albums/microthumb/CRW_2226.jpg UPLOADED
msg 11218 | internal ftp: UPLOADED 86 KB / 86 KB
|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||
msg 11217 | internal ftp: 150 Opening BINARY mode data connection for CRW_2226.jpg.
msg 11216 | internal ftp: STOR_A: 150 Opening BINARY mode data connection for CRW_2226.jpg.
msg 11215 | internal ftp: STOR /ftp/tds/gallery/albums/microthumb/CRW_2226.jpg
msg 11214 | internal ftp: local file UPLOAD/CRW_2226.jpg cached
msg 11213 | internal ftp: DATA CONNECTION OPEN
msg 11212 | internal ftp: OPENING NEW DATA CONNECTION
msg 11211 | internal ftp: Parsed data connection address is 209.67.212.154:4964


---
what should I do, Ialready checked my resize methods already. and they seem correct

loupgarou
7th of October 2004 (Thu), 21:58
--rethumbnails gives me this---

msg 12055 | internal ftp: UPLOAD FINISHED SUCCESFULLY.
msg 12054 | internal ftp: LOCAL: DISCONNECTED
msg 12053 | internal ftp: QUIT: 221 Goodbye!
msg 12052 | internal ftp: QUIT
msg 12051 | internal ftp: LOCAL:
'CRW_2226.jpg' UPLOADED SUCCESFULLY
SIZE: 600x400 => 43x28 microthumb (IMAGEMAGICK 43)
msg 12050 | internal ftp: UPLOAD(END): 226 Transfer complete.
msg 12049 | internal ftp: /ftp/tds/gallery/albums/microthumb/CRW_2226.jpg UPLOADED
msg 12048 | internal ftp: UPLOADED 86 KB / 86 KB
|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||
msg 12047 | internal ftp: 150 Opening BINARY mode data connection for CRW_2226.jpg.
msg 12046 | internal ftp: STOR_A: 150 Opening BINARY mode data connection for CRW_2226.jpg.
msg 12045 | internal ftp: STOR /ftp/tds/gallery/albums/microthumb/CRW_2226.jpg
msg 12044 | internal ftp: local file UPLOAD/CRW_2226.jpg cached
msg 12043 | internal ftp: DATA CONNECTION OPEN
msg 12042 | internal ftp: OPENING NEW DATA CONNECTION
msg 12041 | internal ftp: Parsed data connection address is 209.67.212.154:1248
msg 12040 | internal ftp: PASV: 227 Entering Passive Mode (209,67,212,154,4,224)
msg 12039 | internal ftp: PASV
msg 12038 | internal ftp: TYPE: 200 Type set to I.
msg 12037 | internal ftp: TYPE I
msg 12036 | internal ftp: PWD: 257 "/ftp/tds/gallery/albums/microthumb" is current directory.
msg 12035 | internal ftp: PWD
msg 12034 | imagemagick: IMAGEMAGICK COMMAND | c:/magick/convert.exe -size 43x28 temp/CRW_2226.jpg -resize 43x28! +profile '*' -unsharp 0.6x0.7+2+0.1 -quality 67 UPLOAD/ee_temp_upload/CRW_2226.jpg
IMAGEMAGICK ERROR:

POSSIBLE REASONS:
SAFE MODE ON? EE can not use ImageMagick when is it located outside PHP safe mode exec dir.
IMAGE IS EMPTY? Perhaps source image was zero size.
IMAGEMAGICK PATH CHANGED? Maybe your server admin has moved IM to another location.
FOLDER PERMISSIONS WRONG? check that UPLOAD folder and all folders inside it are chmod 0777 (full permissions)

msg 12033 | internal ftp: LOCAL: Working directory changed to '/ftp/tds/gallery/albums/microthumb'
msg 12032 | internal ftp: CWD: 250 Directory changed to /ftp/tds/gallery/albums/microthumb
msg 12031 | internal ftp: CWD /ftp/tds/gallery/albums/microthumb

loupgarou
7th of October 2004 (Thu), 22:48
and I checked, safe mode is off

loupgarou
15th of October 2004 (Fri), 09:07
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.
convert.exe: no profile `'*'' found.

I think that's the problem. not sure what it is. maybe its an imagemagick version issue?

loupgarou
16th of October 2004 (Sat), 06:09
fixed.

I unchecked the remove profiles checkbox in the resize methods and it works.

Pekka
24th of October 2004 (Sun), 12:01
Sorry for not replying before - been on tour and after that my cable was down a week. The profile command is not always same for different servers. Try each profile command on new server and see which one works ok.