View Full Version : Please Help
photocroatia
27th of January 2004 (Tue), 06:41
I am getting the following errors now, i don't know what has changed. I have loaded over 1200 photos without problems now this, PLEASE HELP!
msg 21532 | ftp
UPLOAD FINISHED WITH ERRORS.
[Tue Jan 27th, 2004 04:27:08]
msg 21531 | ftp
Photo id 1402 added to database.
[Tue Jan 27th, 2004 04:27:07]
msg 21530 | ftp
LOCAL: FAILED TO DISCONNECT. Reason: ftp_quit() expects parameter 1 to be resource, boolean given
[Tue Jan 27th, 2004 04:27:07]
msg 21529 | ftp
LOCAL: ERROR in connecting to 'www.xxxxxx.com'. Reason: ftp_quit() expects parameter 1 to be resource, boolean given
[Tue Jan 27th, 2004 04:27:06]
msg 21528 | ftp
LOCAL: FAILED TO DISCONNECT. Reason: ftp_quit() expects parameter 1 to be resource, boolean given
[Tue Jan 27th, 2004 04:25:36]
Pekka
27th of January 2004 (Tue), 09:41
Those ftp_quit() related errors are not important. They happen with some ftp servers. Perhaps you server admin has changed ftp server software?
About "UPLOAD FINISHED WITH ERRORS": track down ftp messages and see what it reports and where the error may be.
Do graphics module tests and see if they run ok.
photocroatia
28th of January 2004 (Wed), 16:00
The Module test all works fine, I get errors when I test the FTP server Setup, its runs for a long time, and these are the errors.
CONNECTION (ftp address): FAILED Reason:
and the rest have error "FAILED Reason: ftp_put() expects parameter 1 to be resource, boolean given"
I do remember having a similar problem, I don't know if it is the same problem when I had a single quote in some of my text, I have checked my descriptions I have entered and can't find any single quotes, is there a fix for special characters like single quaotes and & ect. Just in case that is the problem.
I spoke to my Hosting company and they reckon that the FTP server is working fine. PLEASE HELP!
Pekka
28th of January 2004 (Wed), 16:16
The error you get means that ftp has not connected when ftp put command is given. It has nothing to do with quotes (they are handled by totally separate system). There is a resource cache in PHP which sometimes messes up, maybe that is what happens there.
I have internal ftp system in EE 1.5 RC. The RC is not fully finished yet (small stuff missing here and there) - internal ftp and upload system using it are done. If you want to give it a shot mail me pekka@photography-on-the.net you ftp info, I'll go there and install the new version so we can see how that works. I bet it solves the problem nicely because it bypasses PHP's ftp module completely (there are many odd problems with php module, like the one you have now). If for some reason internal ftp does not work either in your system I can find the reason and tune it up because that code is fully mine.
photocroatia
28th of January 2004 (Wed), 16:28
Pekka,
Thank You very much, I have sent you my details via email.
Pekka
29th of January 2004 (Thu), 09:05
OK as I thought the PHP's ftp connect function in your server is haywire - nothing wrong with the server, it is purely PHP function's problem or bug: the identical tests work ok from my home, but not when run in your server.
Your ftp server software PureFTPd 1.0.12 is configured to talk back all responses like Shakespeare and I adjusted my own ftp code for that behaviour. Everything seems to work now fine from here with internal ftp code. I'll set up the EE for you during this evening (it is now 5pm here) and we'll see how it goes on from there.
photocroatia
29th of January 2004 (Thu), 17:08
Pekka,
Thank You very much for all your help. If you could let me know when its done I would appreciate it, Thank Again!
Pekka
31st of January 2004 (Sat), 12:06
Pekka,
Thank You very much for all your help. If you could let me know when its done I would appreciate it, Thank Again!
Now it is done and all works fine :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.