Error on clean install

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Error on clean install

Post by xxxmicrobexxx »

Brand new install. Empty directory. Fresh download.

I try to run installer I get Error 500

In error_log I see

Code: Select all

[29-Jul-2013 23:13:30] PHP Parse error:  syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /inc/Bootstrap.php on line 20
Suggestions?
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error on clean install

Post by Thorsten »

Hi,

you need PHP 5.3.3 or later. Seems like you're using an old, unsupported PHP version.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Error on clean install

Post by xxxmicrobexxx »

RIght. It is 5.2.7 - this might cause you more headaches than it is worth :P
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Error on clean install

Post by xxxmicrobexxx »

Thorsten, changing to PHP 5.3 has done the trick...almost.

All my data is there, but clicking "login" nothing happens. I have tired in Chrome, FF and IE which leads me to suspect it is my upgraded installation as there would be plenty of posts about it here if login was broken.

Register takes me to a registration screen, but nothing for login. No apparent login console errors.

Though I do notice this FYI

Code: Select all

Viewport argument value "device-width;" for key "width" is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated. 
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error on clean install

Post by Thorsten »

Hi,

do you use the config/constants.php file from your old installation? The viewport issue will be fixed with 2.8.3

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Error on clean install

Post by xxxmicrobexxx »

I am not sure which version of the file I am using any more. All the ones I have compared look identical.

It is 9.98Kb

Can you attach a version that will work with 2.8.2 under PHP 5.3

Thanks so much...
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error on clean install

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Error on clean install

Post by xxxmicrobexxx »

I used that code and I get an error 500 breaking the whole site
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error on clean install

Post by Thorsten »

Hi,

I hope you used the raw format: https://raw.github.com/thorsten/phpMyFA ... stants.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Error on clean install

Post by xxxmicrobexxx »

I did and I found that the 5.2 version was still there! ??? I can't explain what happened - anyway it is working now AND the login is working - excellent!

Thanks for your help Thorsten
Post Reply