#45 IN-LINE REPLACE WITH action problem

v0.3.0
closed
nobody
5
2008-02-10
2006-07-26
Mac
No

When encountering such code (see below) EM won't parse
correctly

//-> Start
#
#-----[ FIND ]------------------------------------------
#
'TOTAL_REGISTERED_USERS_ONLINE' =>
sprintf($l_r_user_s, $registered_users) .
sprintf($l_h_user_s, $hidden_users),

#
#-----[ IN-LINE FIND
]------------------------------------------
#
. sprintf($l_h_user_s, $hidden_users)

#
#-----[ IN-LINE REPLACE WITH
]------------------------------------------
#
# delete the code

//-> End

Error code:

Critical Error

IN-LINE REPLACEFAILED: Invalid command body supplied in
MOD script

Discussion

  • Jim Wigginton

    Jim Wigginton - 2006-11-14

    Logged In: YES
    user_id=1265254
    Originator: NO

    Just encountered this problem, myself. The problem appears to occur whenever IN-LINE REPLACE WITH is empty. Testament to this is that when I had EasyMOD replace the IN-LINE FIND line with "a", it worked.

     
  • Jim Wigginton

    Jim Wigginton - 2006-11-14

    Logged In: YES
    user_id=1265254
    Originator: NO

    Just encountered this problem, myself. The problem appears to occur whenever IN-LINE REPLACE WITH is empty. Testament to this is that when I had EasyMOD replace the IN-LINE FIND line with "a", it worked.

     
  • Eric Faerber

    Eric Faerber - 2007-02-09

    Logged In: YES
    user_id=657440
    Originator: NO

    Do empty REPLACE WITHs work? Not INLINE?

     
  • Jim Wigginton

    Jim Wigginton - 2007-02-12

    Logged In: YES
    user_id=1265254
    Originator: NO

    Empty REPLACE WITHs do indeed work. It's just INLINE ones that don't.

     
  • Jim Wigginton

    Jim Wigginton - 2008-02-10

    Logged In: YES
    user_id=1265254
    Originator: NO

    This bug has been fixed in CVS and will appear in the next
    version of EasyMOD. Thank you for reporting it.

     
  • Jim Wigginton

    Jim Wigginton - 2008-02-10
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks