HELP!!!! T_Variable

by 7 replies
8
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.
#programming #tvariable
  • Check the configuration file that you edited. Make sure you didn't accidentally delete one of the " or ; marks.
  • 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?
  • well i think leaving a space btw
    <?php and $lincense should solve the error.

    I am not sure though
    • [ 1 ] Thanks
    • [1] reply
    • 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!
  • 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'.
  • Could you post the whole script?

    Often the error message will state where the error begins and not where the fault lies.
  • Anytime,

    PDJSolutions @ your service

Next Topics on Trending Feed