GPHemsley wrote: Well, I've taken the liberty of updating this MOD.
It should be compatible with 0.0.10 when it is released (seeing as how I worked with the pre-release version when updating this MOD) and it fixes the wrong comment being shown in templates.
@JuniorZ: The reason was because the substr() that you did not take into account the \n at the end of the filename.
Click Here to Download EasyMOD Uninstaller 1.2.1
GPHemsley wrote: Well, I've taken the liberty of updating this MOD.
It should be compatible with 0.0.10 when it is released (seeing as how I worked with the pre-release version when updating this MOD) and it fixes the wrong comment being shown in templates.
@JuniorZ: The reason was because the substr() that you did not take into account the \n at the end of the filename.
Click Here to Download EasyMOD Uninstaller 1.2.1
aznkoz wrote: Installation Failed
EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.
Critical Error
FIND FAILED: In file [templates/subSilver/admin/mod_history.tpl] could not find:
<td width="5%" class="{install.ROW_CLASS}" align="center"><span class="gensmall">details</span></td>
MOD script line #203
Wonder what happen, I have fail to install it. Could it be because I have added log actions mod before this to cause it to not working . Oh boy, some work to do .
Javve wrote: I found the easiest and quickest way to fix this problem was to add a space in the install.txt file located in the folder of the mod itself.
It said success when I installed it, but I still do not have an uninstall option. Any ideas?
Code: Select all
<form method="post" action="admin_easymod.php?sid=bd50847bb0ed51d7a3b5a6c243707d46">
<input type="hidden" name="mode" value="uninstall">
<input type="hidden" name="mod_id" value="20">
<input type="hidden" name="install_file" value="install.txt">
<input type="hidden" name="install_path" value="./mods/EM_addon/">
<input type="submit" name="post" class="mainoption" value="" />
</form>
Code: Select all
General Error
Critical Error:
Function Trace: main[1]->modio_prep[2]
FTP ERROR: login failed
Code: Select all
<form method="post" action="">
<input type="hidden" name="mode" value="process">
<input type="hidden" name="install_file" value="install.txt">
<input type="hidden" name="install_path" value="./mods/digichat/">
<input type="hidden" name="password" value="********">
<input type="submit" name="post" class="mainoption" value="Process" /><br>
Preview: <input type="checkbox" name="preview" value="0" />
</form>
Code: Select all
<form method="post" action="admin_easymod.php?sid=bd50847bb0ed51d7a3b5a6c243707d46">
<input type="hidden" name="mode" value="uninstall">
<input type="hidden" name="mod_id" value="20">
<input type="hidden" name="install_file" value="install.txt">
<input type="hidden" name="install_path" value="./mods/EM_addon/">
<input type="submit" name="post" class="mainoption" value="" />
</form>
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/mod_history.tpl
#
#-----[ FIND ]------------------------------------------
#
<td width="5%" class="{install.ROW_CLASS}" align="center"><span class="gensmall">details</span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td class="{install.ROW_CLASS}" align="center" valign="bottom">
<form method="post" action="{S_ACTION}">
<input type="hidden" name="mode" value="uninstall">
<input type="hidden" name="mod_id" value="{install.MOD_ID}">
<input type="hidden" name="install_file" value="{install.MOD_FILE}">
<input type="hidden" name="install_path" value="{install.MOD_PATH}">
<input type="submit" name="post" class="mainoption" value="{L_UNNINST}" />
</form>
</td>
Code: Select all
<input type="hidden" name="password" value="********">
Javve wrote: templates/subSilver/admin/mod_history.tpl
I tried the fix and it failed .. it was to open up this file and find
<td width="5%" class="{install.ROW_CLASS}" align="center"><span class="gensmall">details</span></td>
Delete the extra space between 5%" class to make it look like
<td width="5%" class="{install.ROW_CLASS}" align="center"><span class="gensmall">details</span></td>
If you do a search for 5% you will only find the first line unless you do a find next to find this line. Meaning.. there are two lines with 5% that have an extra space between the 5% and class (td width="5%" class="{)
You need to delete the extra space on BOTH lines. I tested and it worked fine for me. I have only been messing with the PHP lines for two weeks so if I can do it, anyone can do it. Thanks you to the people that posted about the extra space, it led me to find there are two lines with an extra space. The uninstall mod was the first mod I installed after easymod, so the extra space is either from the creation of the board, or easymod being installed. Either way an easy fix.
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/mod_history.tpl
#
#-----[ FIND ]------------------------------------------
#
details
#
#-----[ IN-LINE FIND ]------------------------------------------
#
details
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<form method="post" action="{S_ACTION}"><input type="hidden" name="mode" value="uninstall"><input type="hidden" name="mod_id" value="{install.MOD_ID}"><input type="hidden" name="install_file" value="{install.MOD_FILE}"><input type="hidden" name="install_path" value="{install.MOD_PATH}"><input type="hidden" name="password" value="{install.EM_PASS}"><input type="submit" name="post" class="mainoption" value="{L_UNINST}" /></form>
tbartold wrote: blaaaaaJust my 2 cents worth.Code: Select all
# #-----[ OPEN ]------------------------------------------ # templates/subSilver/admin/mod_history.tpl # #-----[ FIND ]------------------------------------------ # details # #-----[ IN-LINE FIND ]------------------------------------------ # details # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # <form method="post" action="{S_ACTION}"><input type="hidden" name="mode" value="uninstall"><input type="hidden" name="mod_id" value="{install.MOD_ID}"><input type="hidden" name="install_file" value="{install.MOD_FILE}"><input type="hidden" name="install_path" value="{install.MOD_PATH}"><input type="hidden" name="password" value="{install.EM_PASS}"><input type="submit" name="post" class="mainoption" value="{L_UNINST}" /></form>
BTW: this also includes the fixes for the missing text on the button, and the missing password problems that I was having.
Code: Select all
General Error
Critical Error:
Function Trace: main[1]->modio_prep[2]
FTP ERROR: login failed