Same Fatal Parse/Syntax Line 34 error, running WordPress as CLEAN, NEW INSTALL on my own server with PHP Server 5.5.xx + WP 4.8.1
Wanting to run "Reseller Store" WordPress Plugin on my own server. I'll be placing it on a canonical subdomain called: shop.(myresellerdomainnamehere).com
(I haven't yet added SSL to avoid issues in setup but after it's set up and working satisfactorily, I'll add an SSL certificate and force all traffic through port 443 https:// so it's secure. But right now it's on port 80. This adds another point -- I hope the API feeds out secure data and images so we don't get problems with browsers reporting in-secure elements in the pages.)
OK, I'm getting the same error as others, although I suspect they're installing on GoDaddy's WordPress Server whereas I'm installing on my own server.
I did this:
Totally FRESH, NEW install of WordPress on a unique IP address using a canonical subdomain (that's properly set up and pointed in the DNS of my primary domain) -- a subdomain of my reseller domain name also hosted (on separate IP, in separate server account) by me, also OUTSIDE of GoDaddy's servers -- on my own server.
What I'm using:
- PHP 5.5.37 (per phpMyAdmin)
- WordPress 4.8.1 (per WordPress control panel and the version I installed)
- CentOS 6.x (plenty high enough)
- WHM/cPanel is installed (this should be irrelevant)
- I'm controlling WordPress from the WordPress control Panel from the website /wp-admin/index.php and all looks right
- All database and PHP permissions have been given to the site
I have been told I can run it on my own server and it does not need to be run from my GoDaddy account. Yep, I want it on my own server for control over WordPress and updates and security.
I've been told I can do it this way, and yet I get this error when trying to activate the Plugin:
Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/(site_directory)/public_html/wp-content/plugins/reseller-store/reseller-store.php on line 34
So, if the issue is that I'm running on my own server, I need the following:
*** ----> Please advise how I need to "Edit" the Plugin so that it will make the appropriate API calls to GoDaddy from a server outside the GoDaddy ecosystem, and anything I need to add to identify my reseller account and send passwords securely.
I've been assuming that's my problem -- running on my own server -- until just NOW seeing others with the same error, and I think they are getting that same error while running it on GoDaddy's WordPress hosting from right inside their own reseller account on GoDaddy's free hosting.
So maybe it's something else...
---- If this is not possible to do on my own server... ----
I would consider setting it up on GoDaddy in my Reseller Account using my own free hosting, but ONLY on a subdomain of my primary reseller domain name since I have a sprawling site that would exceed bandwidth and desired pipe size and I need to do some unique things that GoDaddy WordPress hosting wouldn't allow for.
So I'm OK with separating the two so long as I can run this storefront on a subdomain. I can point all the DNS correctly from where it's hosted on my own server.
I assume that will work as a backup if I can't run this Storefront Plugin on my own server?
BUT AGAIN, I've been told this WP plugin does not need to be on a GoDaddy server to access the API and have full functionality. Can somebody verify at least that much for me?
Please install the latest version of the plugin. We have made some changes to the plugin to make it more compatible with other plugins and themes. We have also added some additional messaging if an error does occur. If you continue to have an issue please contact our customer support so we can get more specifics about your server configuration so that we can try to reproduce the issue. Thank you for trying out our plugin and giving us feedback.