Quote:
Originally Posted by Pen411
Seems to be working (the profile field cannot be private).
However, I do get this error when installed:
Parse error: syntax error, unexpected T_STRING in /public_html/forum/admincp/plugin.php(1995) : eval()'d code on line 2
|
there are two missing " in the XML:
@line 100:
Code:
<code version="1.0.4">
<installcode>
<![CDATA[
$db->query_write("UPDATE ".TABLE_PREFIX."gwowevents SET `response` = '4' WHERE `response` = '3');
$db->query_write("UPDATE ".TABLE_PREFIX."gwowevents SET `response` = '3' WHERE `response` = '2');
]]>
</installcode>
<uninstallcode />
</code>
should be:
Code:
<code version="1.0.4">
<installcode>
<![CDATA[
$db->query_write("UPDATE ".TABLE_PREFIX."gwowevents SET `response` = '4' WHERE `response` = '3' ");
$db->query_write("UPDATE ".TABLE_PREFIX."gwowevents SET `response` = '3' WHERE `response` = '2' ");
]]>
</installcode>
<uninstallcode />
</code>
/lun