Jump to content

Help... Parse error: syntax error, unexpected T_VARIABLE in /home/


frandegioia

Recommended Posts

HI

I have just started trying to install WHMCS and have followed all of the instructions but when I go to the admin folder to start setting things up I get this error message

 

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

 

Any ideas where to start?

 

The installation details told me to move three folders to the home/ directory which I did but had to create the home/ directory first as there wasn't one

 

The path in message above does not exist on my server hence why I think is has a problem

Link to comment
Share on other sites

  • 8 months later...

[edit] Hmm, just realized this is an old thread, from June....:( Still, might be useful to someone[/edit]

 

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

...

The path in message above does not exist on my server hence why I think is has a problem

That path has to be correct, since it's an error message based on the file as it ran.

Check the information you'd added to look for this.

 

The installation details told me to move three folders to the home/ directory which I did but had to create the home/ directory first as there wasn't one

I think I understand your confusion. It states to move them to the "home" directory. That directory is where your account resides on the server, so you wouldn't see it. Structurally, it's:

/ (root)

/home (where accounts are typically installed on Cpanel servers; only privileged users can view this level)

/home/fdegioia (your account. Mail, stats and non-public things like the three folders are stored here)

/home/fdegioia/public_html (pubilc facing files are placed here)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated