Publishing site to self-hosted domain

  • 2
  • Question
  • Updated 10 years ago
  • Answered
I am getting this error message after selecting option 3 to publish:

Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /usr/www/users/hermao/classes/commons/component/ComponentBase.class.php on line 21

Server is on php 5.2 and have chmod'd 777 classes/work/templates_c

Please help.


Photo of Vanessa


  • 1 Post
  • 0 Reply Likes
  • waiting eagerly

Posted 10 years ago

  • 2
Photo of Awesome-O'Sean


  • 58 Posts
  • 9 Reply Likes
Hi Venessa,

Could it be possible that you ask your webhost (or you can do it yourself) to put up a phpinfo page on your webserver and send the url to so that we can check the hosting specs.

To create a phpinfo page using notepad, create a new page and type in the following :

Save the page as info.php and upload it to your server and give us the url to verify.

We will be able to give you a bit more information and possibly a solution once we know what you have running on your server.

Kind Regards,
Sean Nieuwoudt
PHP Developer