Errors after new installation

Ask the community for help and support.
Post Reply
Bertil
Posts: 24
Joined: Wed Mar 17, 2021 2:22 pm
Been thanked: 3 times

Errors after new installation

Post by Bertil »

Errors after new installation

I'm back after a few years that I've done other things, but now not so up to date with php programming. I have done a complete review of the Swedish language module, and have installed ce phoenix cart at https://bpdata.se/phoenix/. There are some errors and warnings that I need help width. Please anyone have a clue? as follows:

Login at https://bpdata.se/phoenix/admin/
user: adminb
password: AD4321ad

English and swedish

https://bpdata.se/phoenix/admin/server_info.php

Fatal error: Uncaught Error: Call to undefined function exec() in /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/includes/classes/system_info.php:35 Stack trace: #0 /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/server_info.php(15): system_info->__construct() #1 {main} thrown in /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/includes/classes/system_info.php on line 35

https://bpdata.se/phoenix/admin/modules.php?set=content

?php /* $Id$ CE Phoenix, E-Commerce made Easy https://phoenixcart.org Copyright (c) 2021 Phoenix Cart Released under the GNU General Public License */ const MODULE_CONTENT_CS_CONTINUE_BUTTON_TITLE = 'Fortsätt Knappen'; const MODULE_CONTENT_CS_CONTINUE_BUTTON_DESCRIPTION = 'Visar Fortsätt Knappen.'; const MODULE_CONTENT_CS_CONTINUE_BUTTON_TEXT = 'Din beställning är klar! Fortsätt handla';

swedish
https://bpdata.se/phoenix/index.php?cPath=1

Warning: Constant TEXT_DISPLAY_NUMBER_OF_PRODUCTS already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 13 Warning: Constant TABLE_HEADING_IMAGE already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 30 Warning: Constant TABLE_HEADING_MODEL already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 31 Warning: Constant TABLE_HEADING_PRODUCTS already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 32 Warning: Constant TABLE_HEADING_MANUFACTURER already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 33 Warning: Constant TABLE_HEADING_QUANTITY already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 34 Warning: Constant TABLE_HEADING_PRICE already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 35 Warning: Constant TABLE_HEADING_WEIGHT already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 36 Warning: Constant TABLE_HEADING_BUY_NOW already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 37 Warning: Constant TABLE_HEADING_LATEST_ADDED already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 38 Warning: Constant TABLE_HEADING_ORDERED already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 39 Warning: Constant TEXT_SORT_BY already defined in /customers/4/b/1/bpdata.se/httpd.www/phoenix/includes/languages/swedish/system/versioned/1.0.8.4/split_page_results.php on line 42
User avatar
Kofod95
VIP Member
VIP Member
Posts: 613
Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 142 times

Re: Errors after new installation

Post by Kofod95 »

I think you have some lines left in swedish.php, that shouldn't be there anymore (you could compare with english.php - this is on the catalog-side), as the product-list defines have been moved from the main (swedish.php/english.php) to split_page_results.php

https://bpdata.se/phoenix/admin/modules.php?set=content
Here, it seems like a missing '<' in the beginning of the file includes/languages/swedish/modules/content/checkout_success/cm_cs_continue.php

That should solve all but one.

Welcome back!

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Bertil
Posts: 24
Joined: Wed Mar 17, 2021 2:22 pm
Been thanked: 3 times

Re: Errors after new installation

Post by Bertil »

Thank's a lot Daniel, I have corrected some of the errors, and hope to fix the rest to morrow. After testing I will update my swedish language pack.
Bertil
Posts: 24
Joined: Wed Mar 17, 2021 2:22 pm
Been thanked: 3 times

Re: Errors after new installation

Post by Bertil »

Hi, there were som excessive lines in swedish.php. Iupdated the language pack to ver 2.2.
The following error remains on bpdata.se/phoenix/, but is not seen on a local installation. Can it be serverside php setting, or server version? Due to this error I can not see the server info.
https://bpdata.se/phoenix/admin/server_info.php

Fatal error: Uncaught Error: Call to undefined function exec() in /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/includes/classes/system_info.php:35 Stack trace: #0 /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/server_info.php(15): system_info->__construct() #1 {main} thrown in /customers/4/b/1/bpdata.se/httpd.www/phoenix/admin/includes/classes/system_info.php on line 35

/Bertil
User avatar
Kofod95
VIP Member
VIP Member
Posts: 613
Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 142 times

Re: Errors after new installation

Post by Kofod95 »

I'm not sure, but googlinf tells me that your host may have disabled the PHP-function exec(), which would explain why it works locally, but not online

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Bertil
Posts: 24
Joined: Wed Mar 17, 2021 2:22 pm
Been thanked: 3 times

Re: Errors after new installation

Post by Bertil »

Thanks I will check with my host about the settings. I have found another error in the swedish language pack so after testing I will update to version 2.3
Bertil
Posts: 24
Joined: Wed Mar 17, 2021 2:22 pm
Been thanked: 3 times

Re: Errors after new installation

Post by Bertil »

I talked with my host supporter and he said that this host PHP version was PHP 8.0 and he thought that the CE Phoenix Cart software maybe didn't support PHP 8.0, what do you think? Is PHP 8.0 verified for CE Phoenix Cart v 1.0.8.20?
tessthepup
VIP Member
VIP Member
Posts: 253
Joined: Mon Mar 01, 2021 5:55 pm
Has thanked: 27 times
Been thanked: 8 times

Re: Errors after new installation

Post by tessthepup »

Bertil wrote: Wed Dec 14, 2022 11:42 am I talked with my host supporter and he said that this host PHP version was PHP 8.0 and he thought that the CE Phoenix Cart software maybe didn't support PHP 8.0, what do you think? Is PHP 8.0 verified for CE Phoenix Cart v 1.0.8.20?
@Bertil

I am running a store on PHP Version 8.0.26 which works perfectly.
heatherbell
VIP Member
VIP Member
Posts: 2025
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 28 times
Been thanked: 187 times

Re: Errors after new installation

Post by heatherbell »

Bertil wrote: Wed Dec 14, 2022 11:42 amIs PHP 8.0 verified for CE Phoenix Cart v 1.0.8.20?
Yes, that is stated in the README.md:
https://github.com/CE-PhoenixCart/Phoen ... quirements
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1211
Joined: Sat Dec 21, 2019 8:08 am
Has thanked: 38 times
Been thanked: 103 times

Re: Errors after new installation

Post by raiwa »

The problem is not your PHP version.
The problem causing the error is that in your server's PHP installation/configuration, the function:
function exec()
is missing or disabled.
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
Post Reply