Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error in reg.php File

    Hello All!
    I am getting this error

    Code:
    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

  2. #2
    New Coder
    Join Date
    Oct 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can you post line 3, may help

  3. #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have attached the complete register.php file in .txt format Ty
    Attached Files Attached Files

  4. #4
    Regular Coder
    Join Date
    Apr 2009
    Location
    somewhere over the rainbow
    Posts
    105
    Thanks
    2
    Thanked 14 Times in 14 Posts
    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.
    :. -= | Eran | =- .:
    __________________

  5. #5
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone Else?

  6. #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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 ].
    OracleGuy

  7. #7
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ?

  8. #8
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,661
    Thanks
    3
    Thanked 419 Times in 410 Posts
    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.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  9. #9
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CFMaBiSmAd View Post
    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


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •