...

View Full Version : Error in reg.php File



S!D
10-08-2009, 09:03 PM
Hello All!
I am getting this error


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/warezspo/public_html/register.php(517) : eval()'d code on line 3

Someone plz help me resolve this.Thanks :)

AaronC
10-08-2009, 09:05 PM
Can you post line 3, may help :)

S!D
10-08-2009, 09:19 PM
I have attached the complete register.php file in .txt format :) Ty :)

Eran
10-08-2009, 11:23 PM
well

line 517
eval(fetch_email_phrases('welcomemail'));

there are meny include pages. look for one of them for the "fetch_email_phrases" function or contact this script creator that is familiar with his own code.

S!D
10-09-2009, 06:22 AM
Anyone Else?

oracleguy
10-09-2009, 05:26 PM
Eran, told you what the problem is, the problem is in fetch_email_phrases or one of the functions it calls. And based on the error, it sounds like you just forgot a closing ].

S!D
10-09-2009, 07:45 PM
Nope , i tried editing the fetch email phrase, but still getting error.
Actually i wasnt just asking where the problem is, i was asking for solution to the problem :(
So any1 else cud help ?

CFMaBiSmAd
10-09-2009, 07:58 PM
eval()'d code on line 3
The error occurred on line 3 of the php code that fetch_email_phrases('welcomemail') returns. I guessing that the 'welcomemail' parameter specifies a template that you have edited.

You would need to echo what fetch_email_phrases('welcomemail') returns, instead of eval'ing it to track down what is causing the problem.

S!D
10-10-2009, 10:39 PM
The error occurred on line 3 of the php code that fetch_email_phrases('welcomemail') returns. I guessing that the 'welcomemail' parameter specifies a template that you have edited.

You would need to echo what fetch_email_phrases('welcomemail') returns, instead of eval'ing it to track down what is causing the problem.

Thanks!
So nice of you.:)
Error resolved :thumbsup::thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum