[Beta] EasyMOD Add-on

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Froggie89
Registered User
Posts: 14
Joined: Sat Apr 16, 2005 9:17 pm

Re: Critical error

Post by Froggie89 »

bbus3r wrote: Could not perform improperly formed COPY command.
includes/em_addon_functions.php.txt to includes/em_addon_functions.php

Same thing happens to me.
So, what does that mean exactly? How does one fix that problem? Sorry, but most of this stuff is totally over my head and I'm just plodding my way through as best I can, but any help would be much appreciated...
Mere-Mortal
Registered User
Posts: 15
Joined: Fri Oct 17, 2003 1:13 pm

Post by Mere-Mortal »

It means the modder muddled up ;)

What I sometimes find myself doing is having to edit the .MOD file accordingly so EasyMOD will read it correctly. I haven't come accross any problems with EM, but I do find it is only as good as the modder himself. If there's errors, EM is useless until resolved.

Try opening the .MOD file and (backup first) locate the section of code you are struggling with. Perform the task manually and then delete the code from the file. Sometimes you might need to manually copy individual files to their correct lcoation.

I tell you another thing to watch out for. Sometimes the mod will request a "FIND" which is successful, and will then request another "FIND" for a section of text it has already gone past. As with notepad, it just doesn't like it, and will reach the end of the document. Therefore you might need to play around with some.

Best solution is to go for the EM Comliant Mods, which are obvbious by the Logo next to the entry in ACP.

Also take into cosideration the over the course of new phpBB versions, the code will change. For this reason, a Mod for 2.0.x might not work for 2.0.13 unless you specifically ammend the outstanding details.
Protopia
Registered User
Posts: 20
Joined: Sun Nov 14, 2004 3:27 pm

Re: Critical error

Post by Protopia »

Froggie89 wrote:
bbus3r wrote:Could not perform improperly formed COPY command.
includes/em_addon_functions.php.txt to includes/em_addon_functions.php

Same thing happens to me.
So, what does that mean exactly? How does one fix that problem? Sorry, but most of this stuff is totally over my head and I'm just plodding my way through as best I can, but any help would be much appreciated...


1. It appears from the error message that Froggie89 and bbus3r are having problems when trying to install EasyMod itself.

2. The error message suggests to me that the em_addon_functions.php.txt file has not been uploaded to the correct place.

I hope this helps.

Protopia
Keva
Registered User
Posts: 101
Joined: Mon Mar 28, 2005 12:21 pm
Contact:

Re: Critical error

Post by Keva »

Froggie89 wrote:
bbus3r wrote:Could not perform improperly formed COPY command.
includes/em_addon_functions.php.txt to includes/em_addon_functions.php

Same thing happens to me.
So, what does that mean exactly? How does one fix that problem? Sorry, but most of this stuff is totally over my head and I'm just plodding my way through as best I can, but any help would be much appreciated...


i get that too
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3542
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Post by bonelifer »

The copy command seems to be because they formated it this way:

Code: Select all

includes/em_addon_functions.php.txt to includes/em_addon_functions.php
and it should be formated this way:

Code: Select all

copy includes/em_addon_functions.php.txt to includes/em_addon_functions.php
Froggie89
Registered User
Posts: 14
Joined: Sat Apr 16, 2005 9:17 pm

Yay!

Post by Froggie89 »

Thanks so much for your help guys, I have it all figured out and installed now! :D
crappytheclown
Registered User
Posts: 106
Joined: Tue Mar 29, 2005 10:50 pm
Location: NYC
Contact:

Post by crappytheclown »

when i go to the ACP, the menu on the left is not there (this is rite after i installed the uninstaller), adn it says
Parse error: parse error, unexpected T_BOOLEAN_OR in /home/ctcforum/public_html/phpbb/admin/admin_easymod.php on line 1295

on taht line is where i added || ($mode == 'uninstall') adn im sure i did it correctly; is there a bug or something??
TheLeprachaun
Registered User
Posts: 1
Joined: Sat May 07, 2005 6:14 pm

Re: Found Fix, Please Sticky

Post by TheLeprachaun »

tbartold wrote:
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.


It seems like you're not taking the EasyMOD philosophy to heart (never REPLACE and always use the least text needed to FIND). I changed my version of the mod to be insensitive to this "space" problem.

Why not change it to:

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>
Just my 2 cents worth.

BTW: this also includes the fixes for the missing text on the button, and the missing password problems that I was having.


thanks a lot,you fixed it :wink:
Nekaid
Registered User
Posts: 91
Joined: Wed Jun 01, 2005 2:07 am
Location: United States - Summerville, South Carolina
Contact:

Post by Nekaid »

Ummm, is there any other place I can get this mod? The download is no more. I think they took it off the site. I'd really like to have this mod.
kashifns
Registered User
Posts: 47
Joined: Tue Jul 05, 2005 5:52 pm
Location: London, UK
Contact:

Post by kashifns »

Nekaid wrote: Ummm, is there any other place I can get this mod? The download is no more. I think they took it off the site. I'd really like to have this mod.


Same here. I am looking for this MOD but no luck at the moment. Anyone please let me know from where to get the MOD.
User avatar
Manshu
Registered User
Posts: 127
Joined: Sun Dec 15, 2002 3:37 pm

Post by Manshu »

I also need this mod :D
-=Azrael=-
Registered User
Posts: 1
Joined: Sun Jul 10, 2005 4:15 pm

Post by -=Azrael=- »

Link has been updated...

*EDITED*

(link is gone again)...
Peace Out,
-=Azrael=-
kashifns
Registered User
Posts: 47
Joined: Tue Jul 05, 2005 5:52 pm
Location: London, UK
Contact:

Post by kashifns »

-=Azrael=- wrote: Link has been updated...

*EDITED*

(link is gone again)...


If you are able to download it then let me know and I will give you some space to upload this so others can download that as well Or let us know when it will be available again. :(
masterchief07
Registered User
Posts: 4
Joined: Thu Jul 07, 2005 4:18 pm

Post by masterchief07 »

I need this mod fast because some stupid mod that I tried to install on my forum, Log Actions, wont let anyone edit their posts. So I need a link quickly.

Thanks. :D
User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Post by ChALkeR »

what about sql? does it undo sql commands?
Sorry for my bad English
Locked

Return to “[2.0.x] MODs in Development”