PDA

View Full Version : ftp config trouble - new install/upgrade 2.02


clickits
27th of May 2007 (Sun), 03:40
I'm having trouble configuring the ftp settings.

The first test is FTP Servers:
menuname
ftp server
username
password
method
slice size
test now
test folder
LIST STRUCTURE

The second test is EE Home FTP Server:
ftp server
username
password
ftp path to EE root
method
slice size
test now
FIND EE ROOT

I have tried filling in the values in both of these tests and clicking test now and I keep getting similar errors:

FTP SERVER NAME:localFTP SERVER:localhostCONNECT: OKLOGIN (username and password): FAILED Reason: unknown

FILESIZE RETRIEVAL BATCH TEST
ABORTED: not logged in.

None of the tests remember my settings so I have to keep filling out all the fields as well. Based on the results (as above) it appears that the test is not registering my ftp name (ie: local is reported, when I put in my domainname/ftp name).

I am wondering if I have to manually edit one of the .php files somewhere?

I had a bit (a lot) of trouble installing - installed from 1.5 and upgraded through to 2.02. Unzipped the update files into the local ee folder but was never prompted to overwrite any - which made me wonder.

Also, although the gallery/ee page (non-admin) is showing up, it says this:

Welcome to Exhibit Engine 1.5 beta 4
See EE forum for more info.

I'm also wondering whether the ftp / test / something folders/files are in the wrong place - as with the 'triple installs' - it is all a bit of a mess. I have yet to see what 'old files' should be deleted - especially ones that pose a security risk. I am just pleased that I have been making some progress.

Any help would be appreciated.

PS
I HAVE been reading other forum posts, which have helped me along the way with the install(s), but none of the ftp issues seem to be the same as mine.

edit post:
the following reports display as well:

msg 740 | internal ftp: LOCAL: DISCONNECTED
msg 739 | internal ftp: QUIT
msg 738 | ftp: LOCAL: FTP TEST PROCEDURE ENDED
msg 737 | internal ftp:

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>

msg 736 | internal ftp:
error in login: unknown
msg 735 | internal ftp: PASS: 530 Login incorrect.
msg 734 | internal ftp: PASS
msg 733 | internal ftp: USER: 331 Password required for username.
msg 732 | internal ftp: USER username
msg 731 | internal ftp: CONNECT: 220 ProFTPD 1.3.0 Server (Main FTP Server) [127.0.0.1]
msg 730 | internal ftp: localhost
msg 729 | internal ftp: local: FTP TEST PROCEDURE STARTED
msg 728 | internal ftp: local
----------------------------------------------------------------------------------------

Pekka
27th of May 2007 (Sun), 07:46
Connect to server seems to be ok, if your ftp username is indeed "username" then your password is incorrect.

clickits
27th of May 2007 (Sun), 08:03
Connect to server seems to be ok, if your ftp username is indeed "username" then your password is incorrect.

no my username is not 'username' - that is what I mean, the test does not appear to be 'registering' my inputs

the results/reports I also pasted seem to confirm this

......................

the report section that says:

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>


I wondered if this 'blocked' may indicate I have a problem elsewhere - again, perhaps in a .php setting, or permissions on a file or folder (although I went through and tried to change all those)

edit:just to clarify - the username and password - are my SERVERS right? (and not the ee one)

Pekka
27th of May 2007 (Sun), 10:26
username and pass are your FTP server's.

blocked =>1 does not indicate a problem, it is a TCP term specifying stream mode.

What you should try is to connect to the ftp server with some ftp client (like SmartFTP) in your computer. If connection succeeds, enter exactly the same username and password in EE. If EE fails, it is possible your firewall prevents ftp connections from localhost. In this case, use server name "localhost" if you used "127.0.0.1" and vice versa, then try your domain name (www.yoursite.com or ftp.yoursite.com).

clickits
27th of May 2007 (Sun), 15:38
What you should try is to connect to the ftp server with some ftp client (like SmartFTP) in your computer. If connection succeeds, enter exactly the same username and password in EE.
I already tested this successfully using filezilla, ie ftp client and my web server's inbuilt ftp tool/client

If EE fails, it is possible your firewall prevents ftp connections from localhost.
my firewall on my pc? or the firewall on my host (webserver) ?

In this case, use server name "localhost" if you used "127.0.0.1" and vice versa, then try your domain name (www.yoursite.com (http://www.yoursite.com) or ftp.yoursite.com). (ftp://ftp.yoursite.com).)
sorry, I didn't understand this part ?

................

also, the inbuilt system test / diagnostics report, that uses the ftp.funet.fi (ftp://ftp.funet.fi) test ftp - gives no error messages

and lastly, whether this is related or not or just another issue I will need to fix, I get these errors

8. ERROR: could not create file handle "temp/installtest.tst". Check that permissions of that folder are 777 (world writeable) and that the folder exists.


12. ERROR: could not create file handle "backup/ee_backup_files/installtest.tst". Check that permissions of that folder are 777 (world writeable) and that the folder exists.



14. Socket to remote port 80 appears to work ok.

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>15. Socket to remote port 21 in test ftp server 'ftp.funet.fi' appears to work ok.

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>16. Socket to local port 21 in local ftp server 'localhost' appears to work ok.

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>17. Socket to local port 21 in local ftp server '127.0.0.1' appears to work ok.

stream_type =>socket
unread_bytes =>0
timed_out =>
blocked =>1
eof =>NOTE: USE FTP SERVER SETUP EDITOR TO SETUP AND TEST FTP ACCOUNTS</B>
18. File index.php found in UPLOAD folder.
19. File SCRIPT_reset_username_and_pass.php not found in UPLOAD folder.

Pekka
27th of May 2007 (Sun), 16:07
I
my firewall on my pc? or the firewall on my host (webserver) ?


Firewall on the server ftp server is on.
Also, make sure Proftpd allows EE's ftp user.

To me it still looks that password is wrong. Are you using any special characters in password?

Also, try using

localhost
or
127.0.0.1

as ftp server names in EE ftp server setup.


8. ERROR: could not create file handle "temp/installtest.tst". Check that permissions of that folder are 777 (world writeable) and that the folder exists.


chmod your /admin/temp folder to 777. You will need that to make EE work.


12. ERROR: could not create file handle "backup/ee_backup_files/installtest.tst". Check that permissions of that folder are 777 (world writeable) and that the folder exists.


If you do not chmod /admin/backup/ee_backup_files to 777 you won't be able to save files with EE Backup.

clickits
27th of May 2007 (Sun), 16:14
To me it still looks that password is wrong. Are you using any special characters in password?

no special characters

Also, try using

localhost
or
127.0.0.1

as ftp server names in EE ftp server setup.



tried - still no


chmod your /admin/temp folder to 777. You will need that to make EE work.

If you do not chmod /admin/backup/ee_backup_files to 777 you won't be able to save files with EE Backup.

I'll get to these later.

I saw you offered to login for another user who was having trouble. I'd be happy for you to login to ee if that might help? I can send you my ee username/password. However, if you need to login to my webhost/server, that might be an issue...

Thanks for your help so far.

Pekka
27th of May 2007 (Sun), 20:14
no special characters



tried - still no



I'll get to these later.

I saw you offered to login for another user who was having trouble. I'd be happy for you to login to ee if that might help? I can send you my ee username/password. However, if you need to login to my webhost/server, that might be an issue...

Thanks for your help so far.

To be able to debug the problem I would need ftp access to the server (or some other method to upload/replace files), and EE admin/ftp passes. PM me if you need me to take a look.

But in your case I really suspect web/ftp server configuration problem. Because EE's ftp connects, it communicates commands and receives replies - there is not much else to do! It is the ftp server that denies user login.

clickits
28th of May 2007 (Mon), 10:06
To be able to debug the problem I would need ftp access to the server (or some other method to upload/replace files), and EE admin/ftp passes. PM me if you need me to take a look.

But in your case I really suspect web/ftp server configuration problem. Because EE's ftp connects, it communicates commands and receives replies - there is not much else to do! It is the ftp server that denies user login.

I have sent you a message. Thank you.

Pekka
28th of May 2007 (Mon), 12:13
Works ok now. It was as I said,

1. ftp server username/pass was not set (username was : username, pass was : pass).
2. temp folder permissions wrong
3. ftp path was wrong (in your server it is / )

clickits
29th of May 2007 (Tue), 06:03
Works ok now. It was as I said,

1. ftp server username/pass was not set (username was : username, pass was : pass).
2. temp folder permissions wrong
3. ftp path was wrong (in your server it is / )

Thank you very much for your assistance. The ftp section is now working.

I will tackle the other issues 'later' (paths, layout, users)...

Thanks - very much appreciated.