Results 1 to 6 of 6

Thread: Can Anybody Help with this Script Error

  1. #1
    Join Date
    Oct 2009
    Posts
    10

    Default Can Anybody Help with this Script Error

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/ejasonco/public_html/include/phpmailer/class.phpmailer.php on line 42

    How can I fix this ???

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    What version of PHP you use ?
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Oct 2009
    Posts
    10

    Default

    I am using vshare 2.7

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    I am asking PHP version, use PHP 5.2.x, it will work. Latest PHP 5.3 have many issues with most scripts as it have too many changes.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5
    Join Date
    Oct 2009
    Posts
    10

    Default

    Thanks for the help.. Where would i find out how to verify this ? The reason I am getting this error is because my site was being migrated to a Dedicated server, and it was working fine. Now the server people are asking me to ask Vshare if there is anything they need to enable on there end,

    So thats y i posted this question for help. I need to tell them what they need to fix.

    Thanks again

  6. #6
    Join Date
    Sep 2007
    Posts
    906

    Default

    you can see php version at

    http://yourdomain/phpinfo.php

    Ask the web host to install PHP 5.2.x, it will solve the problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Tags for this Thread

Bookmarks

Posting Permissions

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