Fix for recent install problems in 0.2.0

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
TerraFrost
Former Team Member
Posts: 90
Joined: Wed Feb 09, 2005 12:21 am

Fix for recent install problems in 0.2.0

Post by TerraFrost » Thu Jun 23, 2005 2:57 am

If you have downloaded 0.2.0a then you don't need to apply these fixes. If you downloaded 0.2.0, you can either apply these fixes yourself or go and download 0.2.0a. - wGEric

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
easymod_install.php
#
#-----[ FIND ]------------------------------------------
#
if ( file_exists(@phpbb_realpath($phpbb_root_path . $script_path . 'language/lang_easymod_' . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . '.' .$phpEx)) )
#
#-----[ REPLACE WITH ]----------------------------------
#
if ( file_exists(@phpbb_realpath($phpbb_root_path . $script_path . 'languages/lang_easymod_' . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . '.' .$phpEx)) )
#
#-----[ FIND ]------------------------------------------
#
$command_file->afile[] = "copy language/lang_easymod_" . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . ".$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ;
#
#-----[ REPLACE WITH ]----------------------------------
#
$command_file->afile[] = "copy languages/lang_easymod_" . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . ".$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ;
#
#-----[ FIND ]------------------------------------------
#
$command_file->afile[] = "copy language/lang_easymod_english.$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ;
#
#-----[ REPLACE WITH ]----------------------------------
#
$command_file->afile[] = "copy languages/lang_easymod_english.$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ;
#
#-----[ OPEN ]------------------------------------------
#
easymod_display_functions.php
#
#-----[ FIND ]------------------------------------------
#
if (test_ftp( $ftp_user, $ftp_pass, $ftp_dir, $ftp_host, true, $ftp_type, $ftp_cache))
#
#-----[ REPLACE WITH ]----------------------------------
#
if (test_ftp( $ftp_user, $ftp_pass, $ftp_dir, $ftp_host, $ftp_port, true, $ftp_type, $ftp_cache))
#
#-----[ OPEN ]------------------------------------------
#
em_includes/em_functions.php
#
#-----[ FIND ]------------------------------------------
#
if ( copy( 'language/lang_easymod_'.$language.'.' . $phpEx, $phpbb_root_path . 'EM_test.txt'))
#
#-----[ REPLACE WITH ]----------------------------------
#
if ( copy( 'languages/lang_easymod_'.$language.'.' . $phpEx, $phpbb_root_path . 'EM_test.txt'))
After making these changes (or atleast I hope that that's all of them), EasyMOD worked for me. Let me know if it works / doesn't work for you.

A new version of EasyMOD incorporating these changes (and a few more) should be out soon, but in the interim, if ya'll could test 'em out, that'd be great. Thanks :)
Last edited by wGEric on Thu Jun 23, 2005 1:13 pm, edited 1 time in total.

jimmygoon
Registered User
Posts: 75
Joined: Thu Jun 23, 2005 3:59 am

Re: Fix for recent install problems

Post by jimmygoon » Thu Jun 23, 2005 4:00 am

This fix DID work for me. Thank you very much!

Blondie357
Registered User
Posts: 7
Joined: Tue Jun 21, 2005 11:18 pm

Re: Fix for recent install problems

Post by Blondie357 » Thu Jun 23, 2005 6:59 am

I tried that but still no luck, more information in my other post.

BitterDream
Registered User
Posts: 5
Joined: Thu Jun 23, 2005 8:33 am

Re: Fix for recent install problems

Post by BitterDream » Thu Jun 23, 2005 8:36 am

Working in localhost, after the above fix.
admin_easymod.php, looking for: admin_easymod.php
Confirmed!

mod_install.tpl: verifying existence
Confirmed!

Updating EasyMOD table data
Storing config table entries: Done

Executing SQL: INSERT INTO phpbb_easymod ( 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 ( 'EasyMOD', 'easymod/easymod_install.php', '0.2.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.', 1119515528, '2.0.15', 'subSilver; subSilver; ptifo', 'english; italian', 0, 1, 0, 1)

Progress :: . Done
Result :: No errors


Installation Confirmed. EasyMOD is installed!
You can now proceed to the Admin Control Panel and select "Install MODs" under "MOD Center". You may install the included MODs if you desire. Return to Forum Index.

firsty
Registered User
Posts: 6
Joined: Tue Jun 21, 2005 8:02 pm

Re: Fix for recent install problems

Post by firsty » Thu Jun 23, 2005 4:32 pm

worked for me. thanks!

calimus
Registered User
Posts: 1
Joined: Thu Jun 23, 2005 6:05 pm

Re: Fix for recent install problems

Post by calimus » Thu Jun 23, 2005 6:55 pm

This did the trick for me as well. Thanks :D

badmatty
Registered User
Posts: 3
Joined: Mon Dec 20, 2004 5:17 am
Contact:

Re: Fix for recent install problems

Post by badmatty » Thu Jun 23, 2005 6:59 pm

Your fanbase is growing...LOL

This worked perfectly.
a very boring sig

wGEric
Registered User
Posts: 521
Joined: Wed Jun 11, 2003 2:07 am
Contact:

Re: Fix for recent install problems

Post by wGEric » Fri Jun 24, 2005 6:05 pm

Please don't use this topic for support. Make a new one.
Eric

Dash_Merc
Registered User
Posts: 1
Joined: Thu Oct 20, 2005 3:58 am

Re: Fix for recent install problems in 0.2.0

Post by Dash_Merc » Thu Oct 20, 2005 4:04 am

Arrrgh, me mateys, it doesn't work.

It keeps telling me:
CRITICAL ERROR: the lang_easymod_english. file could not be found in the easymod/languages directory. EasyMOD cannot be installed without this file present.
That's an exact quote of the output that occurs when I try to open the file.

Is there something missing? Did I not do it right? I opened Dreamweaver and used find and replace in all three files. No change from the original message, quoted above.

Maybe it's my host? http://www.byethost.com" target="_blank

The forum's at http://dashmerc.byethost15.com/PHPBB2/

and the installer's at

http://dashmerc.byethost15.com/PHPBB2/e ... nstall.php.

Please help.

Thank you,

Dash

<EDIT>
I just tried to navigate to the lang_easymod_english.php file here, but it says "the page cannot be displayed." Is that supposed to happen, or does that mean that even though the file is actually there, it just can't see it?

Sorry to bug so much!

Locked