Log in

View Full Version : unexpected T_VARIABLE Syntax error


A.Chakery
06-12-2011, 08:26 PM
Today I notice that I have a unexpected T_VARIABLE Syntax error at the Login Redirect page,

I found out that its related to photoplog product, I am using vb 3.8.7 ,

Any Help is appreciated

regards....

Zachery
06-12-2011, 09:28 PM
The entire, true error message would help a ton :)

A.Chakery
06-12-2011, 09:34 PM
Thanks for the reply...

oh I am really sorry, I totally forgot it :(

Here is the full error :

Parse error: syntax error, unexpected T_VARIABLE in /home/user/public_html/community/includes/functions.php(3072) : eval()'d code on line 5

thankss

--------------- Added 1307918184 at 1307918184 ---------------

and I forgot to say,

I have another VB.3.8.7 powered forum and this plugins is working great on that one, and all other plugin and products are the same.

Disasterpiece
06-13-2011, 12:22 AM
deactivate mod by mod and find the one which causes the trouble.

Then update/uninstall it

Paul M
06-13-2011, 01:02 AM
Thats an error on the "redirect_generic" hook.

Not a commonly used hook - you should be able to see what product it is by viewing your pligins in the ACP.

A.Chakery
06-13-2011, 08:12 AM
Thanks everyone for the replies, Really appreciate your help,

As I mentioned before I know what plugin is causing this issue, its PhotoPlog , But I wonder why its working great on my other forum with same plugins and same version,

Really appreciate any help

A.Chakery
06-16-2011, 02:28 AM
Any other ideas ?

Adrian Schneider
06-16-2011, 02:29 AM
Are you on PHP 5?

A.Chakery
06-16-2011, 02:30 AM
thanks for the reply,

Yes, I am on PHP5.

BirdOPrey5
06-19-2011, 11:57 AM
Can you determine which line in the plugin is causing the issue?

One way to narrow it down is to edit the plugin and add a blank line in the middle, if the line number in the error changes the affected line is below the blank line you just made. if it doesn't, it's above it. Keep repeating by splitting the remaining code in half with a blank line until you find the line responsible.