Install fails

Open to all! Ask other shopowners for help.
Post Reply
Richard H.
Member
Posts: 5
Joined: Fri Apr 21, 2023 9:09 am
Phoenix Version:
Has thanked: 1 time

Install fails

Post by Richard H. »

I am not sure is this the correct forum! I did upload PhoenixCard to the server and now I can not install the shop. I get an
"Parse error: syntax error, unexpected '?' in /storage/content/xx/xxxx/xxxx.com/public_html/includes/application_top.php on line 38"

"Warning: dirname() expects exactly 1 parameter, 2 given in /storage/content/xx/xxxx/xxxx.com/public_html/install/includes/application.php on line 25 Parse error: syntax error, unexpected '?' in /storage/content/xx/xxxx/xxxxx.com/public_html/install/includes/autoloader.php on line 29"

Please help!
Richard
Last edited by Richard H. on Fri May 19, 2023 7:57 am, edited 2 times in total.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Install fails

Post by burt »

What is the PHP version of the hosting account.
If not sure, or you cannot find out, please ask your host, then respond here.

I *suspect* that the PHP version is too low (eg it is PHP5.x) rather than the needed PHP7.x
I am not here to build for you.
I am here to build with you. Let's help each other.
Richard H.
Member
Posts: 5
Joined: Fri Apr 21, 2023 9:09 am
Phoenix Version:
Has thanked: 1 time

Re: Install fails

Post by Richard H. »

Web server
nginx/1.22.1
Database client version: libmysql - mysqlnd 8.1.17
PHP extension: mysqli Documentation mbstring Documentation
PHP version: 8.1.17

I can run the first step of the /install.php but I can not go on to the 2. step.
Setup is spinning and spinning, looks like the phoenix card can not connect to the Database server. In the /includes/configure.php line 48 I have : define('DB_DATABASE', 'XXXXXX_com');
Original was: define('DB_DATABASE', 'Phoenix');
(XXXXXX is replacement instead of the real name)
Last edited by Richard H. on Tue May 23, 2023 2:25 pm, edited 1 time in total.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: Install fails

Post by raiwa »

Actual Phoenix is flagged for max PHP 8.0
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
Richard H.
Member
Posts: 5
Joined: Fri Apr 21, 2023 9:09 am
Phoenix Version:
Has thanked: 1 time

Re: Install fails

Post by Richard H. »

Thank you "raiwa" now Phoenix is working on my server/domain


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply