7 replies
I screwed something up.

I upgraded an install from a trial to a paid lease, all I changed was my license key and now this is all I see;

Parse error: syntax error, unexpected T_VARIABLE in /home/transiti/public_html/support/configuration.php on line 1


What is a T_VARIABLE????

Thanks in advance.

I have submitted a support ticket for this, but I would've like to have this fixed an hour ago.
#tvariable
  • Profile picture of the author arcdigital
    Check the configuration file that you edited. Make sure you didn't accidentally delete one of the " or ; marks.
    {{ DiscussionBoard.errors[826254].message }}
  • Profile picture of the author Web Dummie
    Don't think I did.... my problem with that is, I overwrote the original file when I made the change.

    You see my name right?

    Here's line 1;
    <?php$license = "Leased-2Cme5555555dabafoonf";$db_host = "localhost";$db_username =

    Can you see the error?
    {{ DiscussionBoard.errors[826343].message }}
  • Profile picture of the author pdjsolutions
    well i think leaving a space btw
    <?php and $lincense should solve the error.

    I am not sure though
    {{ DiscussionBoard.errors[826628].message }}
    • Profile picture of the author Web Dummie
      Originally Posted by pdjsolutions View Post

      well i think leaving a space btw
      <?php and should solve the error.

      I am not sure though
      As your name states.... solutions!

      Thank you very much as this solved the problem and everything came back up.

      YES!!!!

      The support response I got was to find any and all spaces and delete them. HA!

      Thanks again!
      {{ DiscussionBoard.errors[827384].message }}
  • Profile picture of the author AndyBlackSEO
    Yes, there is something missing from the end too. Php lines should end with a ; or ) depending on the syntax. It appears that you have a value missing and maybe a colon that signifies the end of a php statement.

    You may need to access the database via cpanel etc and see what the username and password is for the database. I'm assuming it's on your server as it states 'localhost'.
    Signature
    [FREE SEO TOOL] Build 29 Effective, High Authority Backlinks that Will Increase Your Google Rankings in 2020... CLICK HERE ...
    ... Instant backlinks that can get you results within 24-72hrs.
    {{ DiscussionBoard.errors[826708].message }}
  • Profile picture of the author Dylan W
    Could you post the whole script?

    Often the error message will state where the error begins and not where the fault lies.
    {{ DiscussionBoard.errors[826891].message }}
  • Profile picture of the author pdjsolutions
    Anytime,

    PDJSolutions @ your service
    {{ DiscussionBoard.errors[827794].message }}

Trending Topics