Page 1 of 1

Install fails

Posted: Fri May 19, 2023 7:52 am
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

Re: Install fails

Posted: Fri May 19, 2023 9:43 am
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

Re: Install fails

Posted: Tue May 23, 2023 1:36 pm
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)

Re: Install fails

Posted: Tue May 23, 2023 1:55 pm
by raiwa
Actual Phoenix is flagged for max PHP 8.0

Re: Install fails

Posted: Tue May 23, 2023 5:00 pm
by Richard H.
Thank you "raiwa" now Phoenix is working on my server/domain