Install loop on macOS 10.13.3

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Install loop on macOS 10.13.3

Post by Wod »

Hi,

I'm trying to install 3.2.2 but not having a lot of luck. After filling out the second screen (with the database details) and clicking install it kicks me back to the first screen. There is no indication of errors - or if there are it happens too fast for my eyes. Are there logs of the install somewhere? There are no errors in my apache log.

Version 3.2.2
MySQL Version 5.7.21
Followed the install guide - ran the chmods on config.php etc
Set up a new database and new user with ALL permissions and verified I could connect from the command line

Without a solid error to work on I'm pretty in the dark here. 8-)

Any help much appreciated.

Thanks,
Wod!
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Install loop on macOS 10.13.3

Post by stevemaury »

Please fill out the Support Request Template and post it back here to enable us to assist you better.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

Support Request Template
What version of phpBB are you using? phpBB 3.2.2
What is your board's URL? http://localhost
Who do you host your board with? local
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? english?
Which database type/version are you using? MySQL 5
What is your level of experience? New to phpBB but not PHP
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Just trying to install the board. Seems to get stuck connecting to the db but there is no error.
Please describe your problem. I'm trying to install 3.2.2 but not having a lot of luck. After filling out the second screen (with the database details) and clicking install it kicks me back to the first screen. There is no indication of errors - or if there are it happens too fast for my eyes. Are there logs of the install somewhere? There are no errors in my apache log.

Version 3.2.2
MySQL Version 5.7.21
Followed the install guide - ran the chmods on config.php etc
Set up a new database and new user with ALL permissions and verified I could connect from the command line
Tried Chrome and Safari - get the same issue.
Generated by SRT Generator
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

stevemaury wrote: Sat Mar 03, 2018 2:37 pm Please fill out the Support Request Template and post it back here to enable us to assist you better.
Thanks! Done!
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

Anyone got any idea about this, or best way to debug it?
Thx
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Install loop on macOS 10.13.3

Post by GanstaZ »

Maybe this can help you: Known issues in 3.2.2
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72351
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Install loop on macOS 10.13.3

Post by KevC »

How have you done the server set up?
I run MAMP with no problems
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

KevC wrote: Mon Mar 12, 2018 9:06 am How have you done the server set up?
I run MAMP with no problems
It's MySQL Version 5.7.21, Apache 2.4.8, MacOS 10.13.3. phpinfo() seems fine. Webserver is fine. MySQL is fine. I'm really surprised there is no log file for the install. This could literally save me weeks of floundering and debugging!

I'm currently trying to hook up XDebug so I can generate a trace of the install to work out what the heck it's doing. Anyone got a better idea, I'm all ears!

Thanks,
Wod.
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

GanstaZ wrote: Mon Mar 12, 2018 2:13 am Maybe this can help you: Known issues in 3.2.2
Hi, Thanks for the suggestion - I've applied the fixes in that thread and sadly my issues remains. I'll be sure to post a solution in there if it turns out to be phpbb code related.

I couldn't see this file though:

Code: Select all

phpBB/includes/functions_posting.php
However it really doesn't look like it would be related to install. My guess is the installer writes that file perhaps.
Wod.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72351
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Install loop on macOS 10.13.3

Post by KevC »

That is a standard file in the downloaded zip.

Unless you know exactly how to do it, setting up all of the separate server components to talk to each other isn't easy. MAMP does the whole lot for you in one click with all the parts set up correctly. I'd try that first.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
Wod
Registered User
Posts: 7
Joined: Sat Mar 03, 2018 9:23 am

Re: Install loop on macOS 10.13.3

Post by Wod »

Thanks, KevC!
KevC wrote: Mon Mar 12, 2018 7:16 pm That is a standard file in the downloaded zip.
Sorry, yes.
Unless you know exactly how to do it, setting up all of the separate server components to talk to each other isn't easy. MAMP does the whole lot for you in one click with all the parts set up correctly. I'd try that first.
You were right, there is something fishy with the php/apache/mysql setup. I downloaded MAMP and now it's 'working', but still failing: at least I'm getting an error message now:

Code: Select all

Could not connect to the database, see error message below.
Access denied for user 'phpbb'@'localhost' to database 'phpbb_phpbb3'
I created the database and user as per the instructions on this page:

https://wiki.phpbb.com/Practical.Runnin ... _localhost

I.e:

Code: Select all

CREATE DATABASE phpbb_phpBB3;
CREATE USER 'phpbb'@'localhost' IDENTIFIED BY 'password'; GRANT ALL ON phpbb.* TO 'phpbb'@'localhost';
I double-checked the username/password tried with and without the non-standard port 8889.

I verified that I can connect to the db on the command line, e.g. this works:

Code: Select all

/Applications/MAMP/Library/bin/mysql -u phpbb -p
The password challenge comes up, I type the password and the mysql prompt appears.

Now I've just realised that there is a typo (of course!) in the script above, it should be:

Code: Select all

GRANT ALL ON phpbb_phpBB3.* TO 'phpbb'@'localhost';
I fixed that and now I've got a working forum! Next stage for me is to convert an old version 2 forum....

Thank you!
Wod
User avatar
rich06
Registered User
Posts: 18
Joined: Fri Feb 19, 2010 1:05 pm

Re: Install loop on macOS 10.13.3

Post by rich06 »

I have the exact same problem -- no errors nothing logged... support template below.

Mac OS X 12
Chrome/Firefox/Safari - all fail
MySQL v5.6.10
PHP v.5.6.16

Support Request Template
What version of phpBB are you using? phpBB 3.2.3
What is your board's URL? internal host name
Who do you host your board with? locally hosted
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? default
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? Experienced with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Trying to install phpBB
Please describe your problem. I am trying to install phpBB3 on Mac OS X 12 after I submit the database connection parameters it silently goes back to the previous step (administrator account details) - nothing seems to be logged and no error messages are shown :(
Generated by SRT Generator
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26514
Joined: Fri Aug 29, 2008 9:49 am

Re: Install loop on macOS 10.13.3

Post by Mick »

It's very rare two installs are identical so please start your own topic.
  • "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
rich06
Registered User
Posts: 18
Joined: Fri Feb 19, 2010 1:05 pm

Re: Install loop on macOS 10.13.3

Post by rich06 »

OK - new post has been created viewtopic.php?f=556&t=2489351
Post Reply

Return to “[3.2.x] Support Forum”