FTP ftp_put error

Having problems installing EM? Let's fix that
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
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: FTP ftp_put error

Post by Nightrider »

I'm not aware that EM 0.4.0 has been released yet. Do you have a link to it???

The EM configuration is different on Windows servers than it is on *Nix servers. So you can copy the EM files to the proper destination folders and you can run the EM SQL queries to update the database, but when you go into EM Settings in your ACP MOD Center, the settings would be different on your UNIX server than it is on your Windows server...

If you want to attempt a manual install of EM, you can do this, then I will be happy to help you with the EM Settings options. There is no guarantee that this will work though...

Manually Installing EM
  1. #
    #-----[ COPY ]------------------------------------------------
    #
    copy easymod/em_includes/*.* to admin/em_includes/*.*
    copy easymod/includes/admin_easymod.php.txt to admin/admin_easymod.php
    copy easymod/includes/sql/*.* to includes/sql/*.*
    copy easymod/languages/lang_easymod_english.php to languages/lang_english/lang_easymod.php
    copy easymod/includes/*.tpl to templates/subSilver/admin/*.tpl
    copy easymod/includes/emc.gif to templates/subSilver/images/emc.gif
    copy easymod/easymod.gif to templates/subSilver/images/easymod.gif

    *.* means to move ALL files in the designated folder to the destination folder. *.tpl means to move ONLY files with the tpl extension from the source to the destination folders...

    You will want to be careful to rename the lang_easymod_english.php file lang_easymod.php and the admin_easymod.php.txt to admin_easymod.php...
  2. Once you have all the files in the correct destination folders, you would want to update your database. You can download the following file, extract the db_update_easymod.php, then upload ti to your phpBB forum folder and run it from your browser:

    db_update_easymod.zip

    The path could look something like this in your browser:

    Code: Select all

    http://yourdomian.com/phpBB2/db_update_easymod.php
    Once your database is successfully updated, you can delete the db_update_easymod.zip file from your phpBB forum folder...

    If you prefer to manually apply the SQL queries to your database, you can use the following:

    Code: Select all

    #
    #-----[ SQL ]-------------------------------------------------
    #
    CREATE TABLE phpbb_easymod(
    	mod_id mediumint(8) NOT NULL auto_increment,
    	mod_title varchar(255),
    	mod_file varchar(255),
    	mod_version varchar(15),
    	mod_author_handle varchar(25),
    	mod_author_email varchar(100),
    	mod_author_name varchar(100),
    	mod_author_url varchar(100),
    	mod_description text,
    	mod_process_date int(11),
    	mod_phpBB_version varchar(15),
    	mod_processed_themes varchar(200),
    	mod_processed_langs varchar(200),
    	mod_files_edited mediumint(8),
    	mod_tables_added mediumint(8),
    	mod_tables_altered mediumint(8),
    	mod_rows_inserted mediumint(8), 
    	PRIMARY KEY (mod_id)
    );
    
    CREATE TABLE phpbb_easymod_processed_files (
      mod_processed_file varchar(255) NOT NULL default '',
      mod_id mediumint(8) NOT NULL default '0',
      KEY mod_processed_file (mod_processed_file),
      KEY mod_id (mod_id)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    
    INSERT INTO phpbb_easymod (mod_id, mod_title, mod_file, mod_version, mod_author_handle, mod_author_email, mod_author_name, mod_author_url, mod_description, mod_process_date, mod_phpBB_version, mod_processed_themes, mod_processed_langs, mod_files_edited, mod_tables_added, mod_tables_altered, mod_rows_inserted) VALUES (1, 'EasyMOD', 'easymod/easymod_install.php', '0.3.0', 'Nuttzy', 'pktoolkit@blizzhackers.com', 'n/a', 'http://www.blizzhackers.com', 'EasyMOD automatically perfoms in seconds which previously required the tedious task of manually editing files.', 1096879226, '2.0.21', 'subSilver', 'english', 0, 1, 0, 1);
    
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_cache', '0');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_dir', '');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_host', 'localhost');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_pass', '');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_port', '21');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_type', 'ext');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_ftp_user', '');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_move', 'ftpa');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_password', 'd41d8cd98f00b204e9800998ecf8427e');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_read', 'server');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_version', '0.3.0');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('EM_write', 'ftpb');
  3. Then you would need to go into EM Settings in your ACP MOD Center and adjust the settings to work on your board. We can deal with that when you get to that point...
Image

User avatar
Culprit
Registered User
Posts: 12
Joined: Wed Feb 07, 2007 6:50 pm

Re: FTP ftp_put error

Post by Culprit »

Offcourse that I have thelink. But I am not sure to give it. :twisted:
Manually install is fine.

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: FTP ftp_put error

Post by Nightrider »

So did you get EM installed and working correctly???

Image

Locked