Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
4.7 Beta 2 won't install
I tried installing the beta on a server that has two 4.62 sites running just fine. After adding the config.php file, it returns: “Parse error: syntax error, unexpected ‘.’, expecting ‘)’ in /home/wanderi2/italianmenumaster.com/textpattern/vendors/Textpattern/Skin/Form.php on line 81”
https://www.italianmenumaster.com/ now says, “Unknown section”.
Any ideas?
james
Offline
Re: 4.7 Beta 2 won't install
I presume you’re running a version of PHP prior to 5.6. If so, this was an unfortunate big that was fixed since beta 2 was released. I can only suggest you do one of the following, in preferred order:
- Upgrade PHP to 7+ if possible.
- Try the latest dev branch instead of the packaged beta.
- Manually hack your beta to match the fixes given in the link above.
Sorry for the hassle.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.7 Beta 2 won't install
I can’t say what the problem is, but if you search for “Parse error: syntax error, unexpected “ in the forum, you get a lot of threads with people having seen a similar error. Maybe something there can give a clue.
Might just be an adjustment needed in the beta before being ready for prime-time.
I did install beta 2 yesterday locally on a clean spot, no problems. I’m running php 7.1 and mysql 5.7.13, which are not the latest versions of either.
EDIT: Ha! Bloke beat me to the draw.
Offline
Re: 4.7 Beta 2 won't install
- Upgrade PHP to 7+ if possible.
Considering there is already a 7.2 now, upgrading is probably the best move all around. At least that’s what I would try to do.
If the host won’t offer that, there’s a problem with the host.
Offline
Re: 4.7 Beta 2 won't install
Well, that was an adventure. I upgraded to 7.2, but that killed all three of my sites. So I backed off to 7.0 and was able to change the database prefix and get the site running. I might try 7.1 later.
Thanks all!
james
Offline
Re: 4.7 Beta 2 won't install
Also, the message, “Please note that Textpattern 4.7 now requires PHP 5.4 or newer” should be changed because I can confirm that 5.5 does not work.
james
Offline
Re: 4.7 Beta 2 won't install
jrmartin wrote #310554:
Also, the message, “Please note that Textpattern 4.7 now requires PHP 5.4 or newer” should be changed because I can confirm that 5.5 does not work.
You mean using dev branch? If so, what errors do you see?
It won’t work using the beta because of the aforementioned issue but the dev branch is supposed to work for 5.4+. If it doesn’t we need to track down where we’ve used language features that weren’t available in PHP 5.4.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.7 Beta 2 won't install
Sorry, it was the beta and not the dev branch.
Offline
Pages: 1