PDA

View Full Version : Upload Problems 1.5


loupgarou
26th of November 2003 (Wed), 09:14
*ps: I dont' care about the input path right now., I will setup a htaccess when I'm done. no security issues here.
----------------------

I've manually copied a jpg file (all lowercase) to
gallery/input/UPLOAD

(INPUT FOLDER ADDRESS DELETE BY PS)

I then click upload, and its uploaded successfully but I am unable to locate the photo anywhere.


Photo browser says no photo found
(INPUT FOLDER ADDRESS DELETE BY PS)

the paths:
/gallery/albums/normal
/gallery/albums/thumb
/gallery/albums/microthumb

exist
-----

FTP upload says:

msg 581 | ftp
Photo id 12 added to database.
[Wed Nov 26th, 2003 23:17:33]

msg 580 | ftp
LOCAL: DISCONNECTED
[Wed Nov 26th, 2003 23:17:33]

msg 579 | ftp
LOCAL: '680_072_test.jpg' UPLOADED SUCCESFULLY
SIZE: 1715x1291 => 43x32 (4), 18 KB in server.
[Wed Nov 26th, 2003 23:17:33]

msg 578 | ftp
LOCAL: IMAGEMAGICK COMMAND (resize+sharpen)
c:/magick/convert.exe -size 43x32 UPLOAD/680_072_test.jpg -resize 43x32! +profile '*' -unsharp 0.6x0.7+2+0.1 -quality 67 UPLOAD/ee_temp_upload/680_072_test.jpg
EXECUTED OK
[Wed Nov 26th, 2003 23:17:33]



--------------
I'm annoyed.

btw: my gallery folder is on D:\ if that's any matter.
l

loupgarou
26th of November 2003 (Wed), 10:24
ok: I noticed that the upload folder in the upload section points to /www/gallery/albums/normal

which isn't the same as the one in ftp setup..

as well as the resize methods = none..
wonder why is that.

btw; I'm only running the first two downloads on the beta page.

Exhibit Engine 1.5 beta 4 (incl. fix pack 1) FULL INSTALL [download]

AND

Exhibit Engine 1.5 beta 5 fix pack 2 [download]

--
so I'm doing something wrong there.

will install from the bottom up..

1) Exhibit Engine 1.5 beta 4 fix pack 2 [download]
2) Exhibit Engine 1.5 beta 5 (this file updates only from 1.5 beta 4 fix pack 2) [download]
3) Exhibit Engine 1.5 beta 5 fix pack 2 [download]

Pekka
26th of November 2003 (Wed), 10:26
I deleted the input paths on your message. Please realize that by posting address of input folder you reveal your ftp pass(es).

There are some wrong paths there (I fixed them there), and you have been bitten by one bug which is fixed in beta 5 8 (you use beta 4). Do you mind if I update your EE to latest beta and set it all up for you (this means I enter your site with ftp)?

loupgarou
26th of November 2003 (Wed), 10:35
don't mind.

msg 1206 | ftp
UPLOAD FINISHED SUCCESFULLY.
[Thu Nov 27th, 2003 00:37:16]

msg 1205 | ftp
Photo id 18 added to database.
[Thu Nov 27th, 2003 00:37:15]

msg 1204 | ftp
LOCAL: DISCONNECTED
[Thu Nov 27th, 2003 00:37:15]

msg 1203 | ftp
LOCAL: 'b77_af1_355_8d1_152_680_072_test.jpg' UPLOADED SUCCESFULLY
SIZE: 1715x1291 => 43x32 microthumb (IMAGEMAGICK 43) , 794 B in server.
[Thu Nov 27th, 2003 00:37:15]

msg 1202 | ftp
LOCAL: IMAGEMAGICK COMMAND (resize+sharpen)
c:/magick/convert.exe -size 43x32 UPLOAD/b77_af1_355_8d1_152_680_072_test.jpg -resize 43x32! +profile "*" -unsharp 0.6x0.7+2+0.1 -quality 67 UPLOAD/ee_temp_upload/b77_af1_355_8d1_152_680_072_test.jpg
EXECUTED OK
[Thu Nov 27th, 2003 00:37:15]


--
I updated all the versions. I think its the right one now.
ie: started with beta 4 Fix pack 1
add b4 pack 2
added b5 update
b5 fix pack 1
b5 fix pack 2

--
run all the database updates.

loupgarou
26th of November 2003 (Wed), 10:38
http://files.tdsuo.com/gallery/index.php?pass=public&lang=eng

I can see the photos I last uploaded in the gallery index but not inside the photo browser (in order to make public).

loupgarou
26th of November 2003 (Wed), 10:42
http://files.tdsuo.com/gallery/albums/normal/9ff_b77_af1_355_8d1_152_680_072_test.jpg

http://files.tdsuo.com/gallery/albums/thumb/9ff_b77_af1_355_8d1_152_680_072_test.jpg

http://files.tdsuo.com/gallery/albums/microthumb/9ff_b77_af1_355_8d1_152_680_072_test.jpg

all exist. so ...

loupgarou
26th of November 2003 (Wed), 10:50
problem solved.

a) first; never patched properly.

b) attempting to MOVE from first exhibition to first exhibition removes the links from the database...

so I created a second exhibition and moved it to there and it works now.

loupgarou
26th of November 2003 (Wed), 11:11
damm. still not fixed. after uploaded 60 images (ok: maybe it timed out. but I checked the normal/thumb/microthumb folders, all 60 images are there).

I tried the move to exhibition trick but it no longer works.

basically

http://files.tdsuo.com/gallery/index.php?pass=public&lang=eng

shows the thumbnails but you can't get at the actual pictures itself.

clues?

loupgarou
26th of November 2003 (Wed), 11:18
for the first photo on the thumbnail = id =76


mysql> select * from ee_photo where ee_photo_id = 76;
| ee_photo_id | ee_photo_displayorder | ee_camera_id | ee_photo_filename | ee_ph
oto_panorama | ee_owner_id | ee_country_id | ee_location_id | ee_photo_exif_date
| ee_photo_exif_time | ee_photo_exif_datetime | ee_photo_exif_mode | ee_photo_e
xif_metering | ee_photo_exif_shutter | ee_photo_shutter_unit | ee_photo_exif_ape
rture | ee_photo_exif_ev | ee_photo_exif_iso | ee_lens_id | ee_photo_exif_zoom |
ee_photo_exif_focus | ee_photo_for_www | ee_photo_orientation | ee_counter_id |
ee_light_id | ee_workflow_id | ee_photo_sql_modified | ee_photo_sql_created | e
e_photo_showdetail | ee_photo_showcountry | ee_photo_foo |
------------------
| 76 | 9999 | 2 | IMG_5186.JPG | no
| 52 | 191 | 1 | 2002-01-01
| 01:00:00 | 0000-00-00 00:00:00 | Manual | Center-Wei
ghted | 0.0 | 1/100 |
0 | 0 | 100 | 6 | 0 |
| yes | s | 76 |
1 | 1 | 20031127010242 | 2003-11-27 01:02:42 |
1 | 1 | 1 |


any ideas?

Pekka
26th of November 2003 (Wed), 11:21
Maybe you should let me fix it. The bug I mentioned has made some oddities in your db and I can set them right.

When it is all set up correctly and db is clean you will not need any "tricks" to use it :)

loupgarou
26th of November 2003 (Wed), 11:38
yeah. but would I be able to redo it from scratch after all, this MAY not be my actual production server?

---

I'll try tommorrow from scratch after dropping the current DB.

let you know how it turns out.

loupgarou
26th of November 2003 (Wed), 12:14
ok: I dropped the database and created it (originally created by the 1.22 version.. so maybe..)

redid everything. seems to work fine

now all I need is the upload function to recursively look through the UPLOAD folder and auto create an exhibition for each folder name. heh.