Title: Host install error
Last modified: August 31, 2016

---

# Host install error

 *  Resolved [bassick19](https://wordpress.org/support/users/bassick19/)
 * (@bassick19)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/)
 * I installed this plugin at home on my test WordPress site and it worked fine.
 * I uploaded my WordPress site to a host and the site works fine. But now I’m trying
   to activate this plugin and I get this error msg.
 * Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING
   or ‘(‘ in /home2/…/wp-content/plugins/wp-db-table-editor/DBTableEditor.class.
   php on line 8
 * Any help appreciated. Thanks
 * [https://wordpress.org/plugins/wp-db-table-editor/](https://wordpress.org/plugins/wp-db-table-editor/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [bobbysmith007](https://wordpress.org/support/users/bobbysmith007/)
 * (@bobbysmith007)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/#post-7142742)
 * My guess would be that namespaces are not supported on your host due to a low
   version of php. Php must be 5.3 or above for namespaces. If you see that this
   is not the issue, please follow up.
 * [http://stackoverflow.com/questions/6473126/namespaces-in-php-5-2](http://stackoverflow.com/questions/6473126/namespaces-in-php-5-2)
 *  Thread Starter [bassick19](https://wordpress.org/support/users/bassick19/)
 * (@bassick19)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/#post-7142769)
 * Thanks for the response.
 * I’m using Bluehost as my web host and the php is currently “5.4.24”. I do have
   the option of changing it to 5.6 if you think that might help.
 * Unless you don’t have any more friendly suggestions, I will try to seek help 
   with them. Thanks again.
 *  Plugin Author [bobbysmith007](https://wordpress.org/support/users/bobbysmith007/)
 * (@bobbysmith007)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/#post-7142788)
 * hrm… well The above links claim that Php 5.4 should be sufficient, but if you
   are getting a syntax error on importing the namespace, it would seem *something*
   must be wrong.
 * Line 8 and 9 are just importing the PHPSQL stuff so its easier to manipulate 
   the queries being sent to the server.
 * #8 use PHPSQL\Parser;
    #9 use PHPSQL\Creator;
 * I am not sure what else to suggest as it has always worked for me.
 *  Thread Starter [bassick19](https://wordpress.org/support/users/bassick19/)
 * (@bassick19)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/#post-7142820)
 * Thanks for responding again. I called Bluehost support. After researching some
   things, they found out that even though my cPanel said my version of PHP was “
   5.4.24”, the “.htaccess” file for my domain was missing. Without that file, my
   site was using an earlier version of PHP even though the cPanel said otherwise..
 * The support person replaced the file and edited it to make sure I was using the
   currect version of PHP.
 * After those steps, I was able to activate the plugin.
 * Thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Host install error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-db-table-editor.svg)
 * [WP-DB-Table-Editor](https://wordpress.org/plugins/wp-db-table-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-db-table-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-db-table-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-db-table-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-db-table-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-db-table-editor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [bassick19](https://wordpress.org/support/users/bassick19/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/host-install-error/#post-7142820)
 * Status: resolved