 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/04/2007 3:35 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:08 PM
Location: St Pete, FL
|

|
|
|
|
 |
Unless your host requires the file permissions be set to 755, ALL of your file permissions should be set to 644, including those in the sub-folders. It is best to correct all of the permissions before continuing...
The cache and images/avatars folder permissions should be set to 777 unless your host disallows the use of the 777 permission. That doesn't appear to be the case on your server. The reason why these folders should be set to 777 is because data can be written to them by outside sources and the only way that can happen is if you give full privileges to do so. If you don't allow members to upload avatars to your server in their profile, then you don't need to set the avatars folder permissions to 777...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 9:37 AM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:08 PM
|

|
|
|
|
 |
| OK, I've reset all the folders to 755 and files (within and outside those folders) to 644. (Except the cache and Avatar folder which are 777). Time to try re-run the install? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 10:07 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:08 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, go ahead and try it now...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 10:32 AM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:08 PM
|

|
|
|
|
 |
| damn...got the same original error (ftp port error). |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 11:02 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:08 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, try this. Change the PHP FTP Extensions setting to No and change localhost to your FTP address. Then try again:
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 11:55 AM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:08 PM
|

|
|
|
|
 |
I already had the host set to my ftp address rather than localhost.
...tried it again, same ftp error... |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/05/2007 12:14 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:08 PM
Location: St Pete, FL
|

|
|
|
|
 |
Let's try to bypass the EM install utility then. You can manually install EM using the following instructions:
Manually Installing EM
- #
#-----[ 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...
- 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:
|
|
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:
|
#
#-----[ 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');
|
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/06/2007 9:41 AM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:08 PM
|

|
|
|
|
 |
Well, I did all that and now my ACP is a mess of error messages (perhaps normal at this point):
| Code:
|
Warning: main(./../language/lang_english/lang_easymod.php): failed to open stream: No such file or directory in /nfs/2/yyy/xxx.com/htdocs/gbl/jab/admin/admin_easymod.php on line 32
Warning: main(): Failed opening './../language/lang_english/lang_easymod.php' for inclusion (include_path='.:/usr/local/lib/php') in /nfs/2/yyy/xxx.com/htdocs/gbl/jab/admin/admin_easymod.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /nfs/2/yyy/xxx.com/htdocs/gbl/jab/admin/admin_easymod.php:32) in /nfs/2/yyy/thexxx.com/htdocs/gbl/jab/admin/page_header_admin.php on line 143
Warning: Cannot modify header information - headers already sent by (output started at /nfs/2/yyy/thexxx.com/htdocs/gbl/jab/admin/admin_easymod.php:32) in /nfs/2/yyy/thexxx.com/htdocs/gbl/jab/admin/page_header_admin.php on line 145
Warning: Cannot modify header information - headers already sent by (output started at /nfs/2/yyy/thexxx.com/htdocs/gbl/jab/admin/admin_easymod.php:32) in /nfs/2/yyy/thexxx.com/htdocs/gbl/jab/admin/page_header_admin.php on line 146
|
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/06/2007 9:53 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:08 PM
Location: St Pete, FL
|

|
|
|
|
 |
This is likely caused because you didn't rename the lang_easymod_english.php file to lang_easymod.php. You need to strip _english from the lang_easymod_english.php file that you stored in lang_english and any other language folder that you are supporting...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Need help installing - FTP ERROR: connection to ftp...failed |  |
Posted: 04/06/2007 9:59 AM |
|
|
|
|
|
| Sparrow |
| Posts |
16 |
| Word Cnt. |
1,079 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 04, 2007
Local time: 1:08 PM
|

|
|
|
|
 |
| Right, thanks, fixed that. Looks better now. There's even an easymod settings option now. |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|