Syntax Parse error when accessing site

4 posts by 2 authors in: Forums > CMS Builder
Last Post: August 28, 2013   (RSS)

By gkornbluth - August 27, 2013 - edited: August 28, 2013

Hi All,

Wish I could say that I checked this today, but all I can say is the last time that I checked (a few weeks ago) , the CMSB site, http://www.pollick.net was working fine.

What I did today was I installed the PHP application “The Next Generation of Genealogy” Sitebuilding (TNG) in a totally separate directory with a separate database.

When I tried to access the CMSB Site, I encountered the following error (on all pages and the admin page)

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/a887307/pollick.net/cmsAdmin/lib/field_class.php on line 7

which has something to do with:
// member variables
public $name;

I tried changing the name of the tng folder,  re-uploading 2.53 files, and deleting the active plugins in the settings.dat.php file but those didn’t seem to help.

I can't access the admin page or I would try restoring a backup of the database.

Any ideas?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Synax Parse error when accessing site

Hi Jerry,

Thanks for keeping us in the loop.

Let me know if they think it's an issue with CMS Builder and I'll take a look into it for you.

Cheers!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Synax Parse error when accessing site

Well, the issue has been solved.

The admins updated the PHP on the site to 5.3.21 and the site is up and running again. (didn't know that PHP installations could vary between sites on the same server/account)

What's weird, is that I know that I initially installed CMSB 2.53 on this site and it was working just fine. In addition, all the other sites on this account/server are running PHP 5.2+ and CMSB 2.53.

I guess the digital gremlins must have been at work...

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php