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

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

An update...

All roads seem to point to a PHP issue on the server.

It reports version 4.4.9 and they're having some issues updating it. (although it was previously fine)

I've got an escalated support ticket in with my WebHost and will report back with what they find

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

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