random failures installing a Mod using FTP method on 0.2.1a

Wondering why that MOD you have won't install correctly? Let's take a look
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
imrich
Registered User
Posts: 38
Joined: Tue Aug 02, 2005 1:42 pm

random failures installing a Mod using FTP method on 0.2.1a

Post by imrich »

I'm using the FTP method of installing a mod with easymod 0.2.1a

The problem I'm having is that it randomly works!

Often when trying to install a mod, it takes a couple minutes to return an error (as if something is timing out) then I get an error saying that FTP could not complete.

When I check the files in the mod folder, I can see that the ./processed and ./backups folders were created. And that a partial file is written to ./processed. No files seem to be written to ./backups

By partial, I mean that the file was not completely written.

The reason I say this fails randomly is that sometimes when I come back at a later time and try to install this mod again, it works perfectly as if there was never any problem.

To me this means that I have proper permissions, etc.

I don't remember ever having this problem when using easymod 0.1.13.

Does anyone have any idea on why this might be happening?


Here's the error:

Warning: ftp_put(): Opening ASCII mode data connection for posting.php.txt in /admin/em_includes/em_ftp.php on line 1168

Critical Error

: complete_file_repro[1]->modio_close[2]

FTP ERROR: could not write file [admin//./mods/mod-topic_calendar-101/processed/posting.php.txt]
MOD script line #693

imrich
Registered User
Posts: 38
Joined: Tue Aug 02, 2005 1:42 pm

Re: random failures installing a Mod using FTP method on 0.2

Post by imrich »

This 'fix' in the bug tracker solved this problem for me:

viewtopic.php?p=124634#124634

The strange problem is that before I changed the code as per the above link, easymod would work sometimes!

imrich
Registered User
Posts: 38
Joined: Tue Aug 02, 2005 1:42 pm

Re: random failures installing a Mod using FTP method on 0.2

Post by imrich »

imrich wrote: This 'fix' in the bug tracker solved this problem for me:

viewtopic.php?p=124634#124634

The strange problem is that before I changed the code as per the above link, easymod would work sometimes!
The forum mentioned above been protected so you can't read it any longer.

You can find the fix that seemed to solve my problem here:

viewtopic.php?p=125390#125390

Locked