PDA

View Full Version : Help! Parse Error after Poll Hack


07-20-2000, 03:24 PM
I need your help please! This is a repost of what I added to the bottom of the POll hack thread:

I'm not sure whether this is related to this hack or not. Im running 1.1.3 beta 3 with the latest version of the PM hack installed. I have just added this poll hack (v0.9) and had followed the step by step instructions precisely to the stage where i had successfully posted a test poll, which worked perfectly. I could view the test poll and vote on it without a problem

at this point i decided to switch my VB back on. However, after submitting the options I ended up getting a parse error:

Parse error: parse error, expecting `STRING' or `'{'' or `'$'' in global.php on line 57

which corresponds to
// ###################### Start dovars #######################

If I try to visit the forum I receive a slightly different parse error:
Parse error: parse error, expecting `STRING' or `'{'' or `'$'' in global.php on line 52
corresponding to:
eval($optionstemp[template]);

I've got no idea why this has suddenly happened, especially as global.php isnt altered by the poll?

I have just rehacked the board, but this time doing the poll hack before the PM hack and the parse error still occurs.

Does anyone know what I could do to fix this problem?

TIA

07-20-2000, 03:57 PM
very wierd. Do you get these errors without the Poll hack installed? The error is obviously in admin/options.php, which does change. Could you send me the options.php to doronr@naboonline.com? Must be realted to the differences added by the pm hack and the poll hack.