Parse error after uploaded newly designed site to host

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Hello everyone. Looking for some help. Thanks a lot in advance.

Downloaded my newly designed website. Uploaded it to my host. But, get the following error message:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/cubsdug/public_html/router.inc.php on line 70

Hoping for some guidance.

Thanks,
Michael
Photo of eamuscat

eamuscat

  • 2 Posts
  • 0 Reply Likes
  • confused

Posted 10 years ago

  • 1
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Hi eamuscat,

Is the server where you are hosting your site running PHP 5.2x or higher? If not an upgrade may solve your problem. Please contact your hosting service for support in this regard.
Photo of eamuscat

eamuscat

  • 2 Posts
  • 0 Reply Likes
Ruth,

Thanks for the quick reply.

Yes, the server is running the right version of PHP.

In fact, I just had the host upgrade to PHP version 5.2.6 before attempting to design and publish my site, since I knew it was a requirement.

Thanks,
Michael
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Hi Michael,

I'm not sure how to help you when you are hosting your own site.I hope you will be able to appreciate our dilemma.

If you host your site with us we offer everything completely free of charge:

1. Free site building
2. Free hosting
3. Free email support
4. Excellent uptime for our published sites - even when our site builder is down for maintenance, published sites stay up.
5. Easily edit your site and then update with a single click!
6. Publish your site to your own domain and still host it with us for free.

We are in a position to do all this because we understand every aspect of our site building and publishing workflow and can answer any questions about those features. We also have an outstanding team of engineers who work tirelessly to ensure that our infrastructure is 100% reliable and that our published sites always run smoothly on our servers. If anything does go wrong, we leap into action to put it right as quickly as possible.

In order to give you as much choice as possible we have also given you the option of downloading your site as a zipped PHP file and uploading it to your own hosting provider.

We consider this to be an inferior option to the one explained above because of the potential cost and hassle involved, but we want to respect your freedom of choice as to where you host your site.

However, if you select this option the situation changes. We no longer have any knowledge of, or control over, the environment of your hosting provider.

And so we can now only support you with:
* building your site
* downloading your site as a zipped file
* giving you instructions to pass on to your hosting provider on how to upload the site. (the ones you see in our publishing dialog box when you select the third option)

Our expectation is that this option will either be used by advanced users who understand these instructions or people who can pass these on to a hosting service who can do everything necessary on their behalf.

If an error occurs when you try to upload your site to the server of another host we cannot help you. Not because we do not wish to, but because we are not able to, as we do not have access to your hosting environment. We constantly test our publishing environment to make sure that everything is working properly. We have no way of testing our sites on the servers of another host.

I hope you will understand the situation we find ourselves in and will accept our offer of support for whichever option you choose for your site - understanding that the nature of the support we are able to offer is dependent on the option you select.