Product error

booms

New Member
Im try to search here, but didnt found,
i have the problem with Disable URL in Specific Forums
if enable this product, i have error:
Code:
Parse error: syntax error, unexpected '/' in /home/public_html/forum/newreply.php(742) : eval()'d code on line 4

thanks for any advices...
 
Im having exactly the same problem with this same product

the error I get is:
Code:
Parse error: syntax error, unexpected '/' in /home/public_html/xhqvb/newreply.php(742) : eval()'d code on line 1
 
Ok found the problem.

It is a bug/typo in the mod. There is a slash missing in the xml file on line 39.

Uninstall the product, fix the bug in the xml file, and re-install the product:


In "Disable Parse URL in Specific Forum\product_disable_parse_URL_in_specific_forums.xml"
Code:
<phpcode><![CDATA[/ Noopy @Vietvbb.vn
change to
Code:
<phpcode><![CDATA[/[color=Red]/[/color] Noopy @Vietvbb.vn
 
Or alternatively, you can fix this while keeping the mod installed:

ACP >> Plugins & Products >> Plugin Manager >> 'Product : Disable URL in Specific Forums' >> Disable URL in newreply >> [Edit]

And in the "Plugin PHP Code" box, change this:
Code:
/ Noopy @Vietvbb.vn

Add a slash on the 1st line:
Code:
[color=Red]/[/color]/ Noopy @Vietvbb.vn

And click "Save".
 
Back
Top