Parse Error New Install

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
HKYNUTZ
Registered User
Posts: 26
Joined: Thu May 06, 2021 10:39 am
Name: Adam Ripley
Contact:

Parse Error New Install

Post by HKYNUTZ »

Hello everyone. I am trying to do a fresh install and I am getting a Parse Error when I go point the browser to the installation:
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in /hermes/bosnacweb07/bosnacweb07ai/b2386/dom.hkynutz80167/public_html/forum/vendor/composer/autoload_static.php on line 2027
My website is hosted on domain.com and meet the requirements for install. I used phpBB many many years ago and loved it! Now I'm starting a new business and want to use it again I remember back in the day it didn't have a self installation but you had to manually edit the .config file. Any help would be great. TIA.
User avatar
HKYNUTZ
Registered User
Posts: 26
Joined: Thu May 06, 2021 10:39 am
Name: Adam Ripley
Contact:

Parse Error New Install

Post by HKYNUTZ »

Support Request Template
What version of phpBB are you using? phpBB 3.3.4
What is your board's URL? http://sofaspud.tv/forum/
Who do you host your board with? domain.com
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What styles do you currently have installed? none
What language(s) is your board currently using? not installed
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP but not phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? I have tried to do a fresh install on my new website and get a parse error:
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in /hermes/bosnacweb07/bosnacweb07ai/b2386/dom.hkynutz80167/public_html/forum/vendor/composer/autoload_static.php on line 2027

when I point my browser to the installation
thank you in advance for any help
Please describe your problem. No answer given
Generated by SRT Generator
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1645
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian
Contact:

Re: Parse Error New Install

Post by Crizzo »

Hi,

Open examples.org/yourforum/install/phpinfo.php

What PHP version is there displayed?
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
JoshyPHP
Code Contributor
Posts: 1288
Joined: Mon Jul 11, 2011 12:28 am

Re: Parse Error New Install

Post by JoshyPHP »

I'll use my crystal ball and guess that the file was appended by an FTP client rather than overwritten, resulting in an invalid Frankenstein'ed file.

The solution would be to reupload everything properly.
I wrote the library that handles markup in phpBB 3.2+.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Parse Error New Install

Post by Mick »

The PHP Version is 7.4.10
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
HKYNUTZ
Registered User
Posts: 26
Joined: Thu May 06, 2021 10:39 am
Name: Adam Ripley
Contact:

Re: Parse Error New Install

Post by HKYNUTZ »

JoshyPHP wrote: Thu May 06, 2021 1:41 pm I'll use my crystal ball and guess that the file was appended by an FTP client rather than overwritten, resulting in an invalid Frankenstein'ed file.

The solution would be to reupload everything properly.
ok I think you might be right. I am using a MacBook and I think I read somewhere that Mac users have an issue when it comes to unzipping files that it does do something but I can't find where I read it. I am using FileZill Pro and have it set for auto on the upload. Should it be Binary or ASCII?
User avatar
JoshyPHP
Code Contributor
Posts: 1288
Joined: Mon Jul 11, 2011 12:28 am

Re: Parse Error New Install

Post by JoshyPHP »

Binary, but that's not the issue here. There's probably a setting that says "overwrite" (good) vs append/continue/resume (not good.)

However, that shouldn't matter if it's really a fresh install, so I don't know.
I wrote the library that handles markup in phpBB 3.2+.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Parse Error New Install

Post by Mick »

If this truly is a fresh installation you could delete everything you have and start again - nothing lost nothing gained.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
HKYNUTZ
Registered User
Posts: 26
Joined: Thu May 06, 2021 10:39 am
Name: Adam Ripley
Contact:

Re: Parse Error New Install

Post by HKYNUTZ »

JoshyPHP wrote: Thu May 06, 2021 5:42 pm Binary, but that's not the issue here. There's probably a setting that says "overwrite" (good) vs append/continue/resume (not good.)

However, that shouldn't matter if it's really a fresh install, so I don't know.
Ok Problem solved. Turns out it was the FTP Client. I tried a different one (Transmit 5) instead of the FileZilla and tried the install again and it worked like a charm. Thanks for all your help :D
Post Reply

Return to “[3.3.x] Support Forum”