PDA

View Full Version : help with EE ftp servers


odejeu
28th of September 2004 (Tue), 21:37
Hi Pekka,

so I have uploded version 1.5 and am going through the "setting up the engine ..." manual.

The "server info" page report the following:

GD 2 STATUS IS: ON
GD 1 STATUS IS: OFF
IMAGICK WRAPPER MODULE IS NOT INSTALLED ON THIS SERVER.
PHP EXIF STATUS IS: ON
FTP MODULE IS NOT INSTALLED ON THIS SERVER.
IPTC STATUS IS: ON

1. For FTP Server Setup
what is the difference between the "FTP servers" tab and "EE home ftp server" tab ?

- the reason is that teh FTP test comes out OK if I click on it on the "FTP servers" tab but fails on the "EE home ftp server" tab.

FTP SERVER NAME: local
FTP SERVER: www.picturesalacarte.com
LOGIN (username and password): OK
PWD: /
PATH BUILDING TO '/www/gallery/test': OK
CHANGE DIRECTORY TO '/www/gallery/test': OK
CREATE DIRECTORY 'ee_ftp_test_directory_creation': OK
CHANGE DIRECTORY TO '/www/gallery/test/ee_ftp_test_directory_creation': OK
CHANGE DIRECTORY TO '/www/gallery/test': OK
DIRECTORY 'ee_ftp_test_directory_creation' REMOVAL: OK
UPLOAD TEST IMAGE 'ee_test0.jpg': OK
GET 'ee_test0.jpg' SIZE: OK
GET 'ee_test0.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test1.jpg': OK
GET 'ee_test1.jpg' SIZE: OK
GET 'ee_test1.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test2.jpg': OK
GET 'ee_test2.jpg' SIZE: OK
GET 'ee_test2.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test3.jpg': OK
GET 'ee_test3.jpg' SIZE: OK
GET 'ee_test3.jpg' MODIFIED DATA: OK
UPLOAD TEST IMAGE 'ee_test4.jpg': OK
GET 'ee_test4.jpg' SIZE: OK
GET 'ee_test4.jpg' MODIFIED DATA: OK
DELETE REMOTE TEST IMAGE 'ee_test0.jpg': OK
DELETE REMOTE TEST IMAGE 'ee_test1.jpg': OK
DELETE REMOTE TEST IMAGE 'ee_test2.jpg': OK
DELETE REMOTE TEST IMAGE 'ee_test3.jpg': OK
DELETE REMOTE TEST IMAGE 'ee_test4.jpg': OK
DISCONNECTION FROM SERVER (quit): OK


-----------------
for the second test:


server: localhost
port: 21
errno: 97
errstr: Address family not supported by protocol
timeout: 30

-------------------

For both cases I have the FTP engine as: EE internal FTP (since PHP FTP module is not loaded)
-------------------------------------------------------

I am just trying to see, what do I need to put on the second tab "EE home FTP server" and, since it looks like my hosting provider is not going to add the PHP FTP module (I have called them up) can I still use the 1.5 version for the gallery.
I have tried to upload photos to the database and it seems to be working. My confusion is that since there is no PHP FTP module, the FTP test passes and your manual states that "EE 1.5 can not upload without working PHP FTP module" but somehow it still uploads. ???!!!


Appreciate your help,
Olimpiu

Pekka
29th of September 2004 (Wed), 07:41
If the first ftp test is ok and EE is on same server as the first ftp test connects to, then you should enter exactly the same info to "EE home FTP server". Same server, username and password.

The only difference between the two server types are that "EE home FTP server" needs an ftp path to EE folder. You'll find that path easiest if you connect to your ftp server using normal ftp client program (e.g. wsftp or smartftp) and browse to the EE's directory and give command "PWD" i.e. print working directory. That is the ftp path to EE folder.

You do not need PHP ftp module if EE's internal FTP works ok.

EE home FTP server is used in copying, export and various other functions where EE needs temporary directories. It is not used on normal upload.

Feel free to ask more if above did not help you.

odejeu
29th of September 2004 (Wed), 09:58
Thanks for the reply Pekka, I'll continue tonight :)

Best,
Olimpiu

odejeu
29th of September 2004 (Wed), 12:51
Hi Pekka,

I forgot to ask, since Imagemagick etc is not installed on my webserver and I don;t know the sys admin :) I dont think that they will install it for me. So, I am wondering:
1. what am I loosing if I don;t have that installed
2. how about if I have the two Imagemagick programs/scripts that EE needs locally in my directory and I will point to them in EE ? Do you think that might work ?

Thanks,
Olimpiu

Pekka
29th of September 2004 (Wed), 13:18
Hi Pekka,

I forgot to ask, since Imagemagick etc is not installed on my webserver and I don;t know the sys admin :) I dont think that they will install it for me. So, I am wondering:
1. what am I loosing if I don;t have that installed

sharpening and watermarking.

2. how about if I have the two Imagemagick programs/scripts that EE needs locally in my directory and I will point to them in EE ? Do you think that might work ?

If you can give EE an Imagemagick path that works, EE can use it. It does not really care where it is and what kind of version it is. Usually server admins make a limited access directory for binaries, and set PHP to access that only (safe_mode_exec_dir directive in PHP).

PS. You can tell your server admin that EE does not use IM in "realtime" anywhere, it uses it only when uploading photos. So it does not really put any strain to CPU.

odejeu
29th of September 2004 (Wed), 14:25
thanks again !!

Olimpiu