View Full Version : Path Setup Problems
Bundy
24th of October 2003 (Fri), 21:41
Pekka or anyone else:
I'm still having problems getting any images to show up. No thumbnails seem to be getting generated. The UPLOAD TO DATABASE seems to upload the file into the "gallery/input/UPLOAD" folder, however the thumbnails don't get created.
The only error that appears is in the ftp setup tests for the EE ftp server setup:
FAILED Reason: ftp_chdir(): /home3/beyondthebox/public_html/imageworks/gallery/outputstyles: No such file or directory
I don't know if it is related to the thumbnails or not, but here are my "path setup" settings, just in case it helps troubleshooting:
--------------
Size Path:
URL: http://www.vancouverimageworks.com/gallery/input/normal/
Variable: default
FTP SERVER: local
FTP FOLDER: /home3/beyondthebox/public_html/imageworks/gallery/input/normal
RESIZE METHOD: for non-resized (IMAGEMAGICK 1024)
--------------
Thumb Path:
URL: http://www.vancouverimageworks.com/gallery/input/thumb/
RELATIVE PATH: ../thumb/
FTP SERVER: local
FTP FOLDER: /home3/beyondthebox/public_html/imageworks/gallery/input/thumb
RESIZE METHOD: thumb (IMAGEMAGICK 110)
--------------
Microthumb Path:
URL: http://www.vancouverimageworks.com/gallery/input/microthumb/
RELATIVE PATH: ../microthumb/
FTP SERVER: local
FTP FOLDER: /home3/beyondthebox/public_html/imageworks/gallery/input/microthumb
RESIZE METHOD: microthumb (IMAGEMAGICK 43)
--------------
Should the thumb and microthumb folders live in the root "gallery" folder or in the "gallery/input" folder? Do the paths above look correct or am I missing something?
Thanks in advance!
Al Bundy
Pekka
25th of October 2003 (Sat), 04:32
To me it looks like the ftp path you are using is "path from virtual server root to your www site" and not "ftp path to your www site". The difference is that former means a path which you use from admin shell and the latter what you use when connected to as site owner.
Should the thumb and microthumb folders live in the root "gallery" folder or in the "gallery/input" folder? Do the paths above look correct or am I missing something?
Microthumbs and thumbs have to somewhere under www root (accessible by http), they can be e.g in gallery/photos/thumbs or where ever you prefer. By PHP restriction they should be in save server than EE (for editor), but their URL can be in any server (if you e.g. mirror the folders).
Bundy
25th of October 2003 (Sat), 11:42
Good to know about the ftp server, though is there a way to find out the actual server path without talking to my ISP. If not, I guess I will have to contact my ISP.
Can you confirm whether the URL, RELATIVE PATH and FTP FOLDER settings are correct? Should the FTP FOLDER settings reflect the "path from virtual server root" or the actual "ftp path"?
Thanks again,
Pekka
25th of October 2003 (Sat), 13:39
bundy wrote:
Good to know about the ftp server, though is there a way to find out the actual server path without talking to my ISP. If not, I guess I will have to contact my ISP.
Can you confirm whether the URL, RELATIVE PATH and FTP FOLDER settings are correct? Should the FTP FOLDER settings reflect the "path from virtual server root" or the actual "ftp path"?
Thanks again,
URL you can test by placing one image in a folder and adding it after url, for example when you place test.jpg in your thumbs folder you'll try to browse to
http://www.vancouverimageworks.com/gallery/thumb/test.jpg
If you see the image then URL is ok.
Of other settings, they are pretty system-specific. NOTE: Do not use your input folder as image folder. HTML code will reveal it!
If you'd like to set up this fast: mail me pekka AT photography-on-the DOT net your ftp settings (server, username, pass) and I'll drop in and see how your paths should be set up and set them up for you in your EE. I've done this service for several users now and I have no other interest in your system whatsoever - just want to get EE up for you.
Pekka
25th of October 2003 (Sat), 17:55
I received your mail. logged in and fixed the settings. It all works now. I mailed you some details of it.
Peter Pan
25th of October 2003 (Sat), 19:00
I seem to have a problem with paths too, I can upload the file on the UPLOAD folder, but when I want to upload it to the database it stops right after displaying the EXIF data in the FTP window and so doesn't move the file to the "normal" folder or create thumbs and microthumbs. The gallery is displaying correctly though but I can't add new photos.
I use "/home/users/n/nargothrond/www/photos" for the ftp path to EE root, "http://www.openspace-fr.com/photos/images/normal/" and "/www/photos/images/normal" for normal photos. Same thing with "thumbs" and "microthumbs" in place of "normal" and "../images/thumbs/" for relative path.
It's probably something very stupid but I just can't put my finger on it :)
Bundy
25th of October 2003 (Sat), 19:11
Pekka,
Thanks for the setup. I don't think I could have done it without you.
Now I can concetrate on customization and beta testing.
Cheers!
Al Bundy
Pekka
26th of October 2003 (Sun), 04:24
Peter Pan wrote:
I seem to have a problem with paths too, I can upload the file on the UPLOAD folder, but when I want to upload it to the database it stops right after displaying the EXIF data in the FTP window and so doesn't move the file to the "normal" folder or create thumbs and microthumbs. The gallery is displaying correctly though but I can't add new photos.
I use "/home/users/n/nargothrond/www/photos" for the ftp path to EE root, "http://www.openspace-fr.com/photos/images/normal/" and "/www/photos/images/normal" for normal photos. Same thing with "thumbs" and "microthumbs" in place of "normal" and "../images/thumbs/" for relative path.
It's probably something very stupid but I just can't put my finger on it :)
This must be the same problem bundy had. Your ftp path /home/users/n/nargothrond/www/photos does not sound like the correct ftp path. I bet "/www/photos" might be the correct one. But the only way to find this out without guesswork is to log in to ftp with some graphical ftp program, traverse to EE folder (where the files can be seen) and giving PWD command.
Most server providers do all kinds of redirection tricks to place virtual server www directories and domains. So what you need to find out is the REAL ftp location of the files, not the symbolic link or virtual directory. See http://photography-on-the.net/forum/showthread.php?t=18783
Test you paths using ftp server setup page. If those tests won't work, then upload or copy/move/delete will not work either.
Peter Pan
26th of October 2003 (Sun), 07:43
My host changed recently the path /home/users/nargothrond/www/photos (that I used before with EE with no problem) to /home/users/n/nargothrond/www/photos. I logged in my FTP with SmartFTP and the PWD it does to access EE folder points to /www/photos so I tried to use that path but it doesn't work either, it stops right after EXIF and doesn't move the photo or create thumbnails.
Pekka
26th of October 2003 (Sun), 10:38
Peter Pan wrote:
My host changed recently the path /home/users/nargothrond/www/photos (that I used before with EE with no problem) to /home/users/n/nargothrond/www/photos. I logged in my FTP with SmartFTP and the PWD it does to access EE folder points to /www/photos so I tried to use that path but it doesn't work either, it stops right after EXIF and doesn't move the photo or create thumbnails.
a) do ftp tests work?
b) have you selected a correct ftp server in path editor for each size and thumbs/microthumb?
Peter Pan
26th of October 2003 (Sun), 11:48
No, the FTP tests don't work.
The paths editor FTP seem right and are like /www/photos/images/normal
Pekka
26th of October 2003 (Sun), 14:11
Peter Pan wrote:
No, the FTP tests don't work.
The paths editor FTP seem right and are like /www/photos/images/normal
If ftp tests do not work, there is no way that upload will work. Main reason for ftp tests no working are:
passive mode off
wrong ftp path
As with Bundy's setup problems, if you'd like for me to set it up for you please email me pekka AT photography-on-the DOT net your ftp server, username and pass and I'll drop in to set up EE for you, or see if there is some other problem going on. Takes about 5-10 minutes to set it up.
I'm leaving in 12 hours to a 4-day trip to Vienna, so mail me now if you don't want to wait few days.
Peter Pan
26th of October 2003 (Sun), 15:43
Thanks a lot, I just mailed you.
Ronald
26th of October 2003 (Sun), 19:09
Pekka,
I hope you can help me too? I sent you an e-mail. My problems seem to be a bit more serious since I get a warning to contact the developers. I sent all the info in an email. I hope you get it in time before you leave for your trip.
I really think this is a great gallery! keep up the work in developing it to perfection!
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.