Install fails

Ask the community for help and support.
Post Reply
Richard H.
Posts: 3
Joined: Fri Apr 21, 2023 9:09 am
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.
burt
Lead Developer
Lead Developer
Posts: 2423
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 49 times
Been thanked: 137 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
Gamechanger Addon: Queued Emails, try before you buy.
Richard H.
Posts: 3
Joined: Fri Apr 21, 2023 9:09 am
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
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Has thanked: 38 times
Been thanked: 102 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.
Posts: 3
Joined: Fri Apr 21, 2023 9:09 am
Has thanked: 1 time

Re: Install fails

Post by Richard H. »

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