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
Errors after new installation
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Errors after new installation
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
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
Here are a lot of corns: Phoenix user guide
-
Bertil
- Member
- Posts: 28
- Joined: Wed Mar 17, 2021 2:22 pm
- Phoenix Version: v1.0.9.0
- Been thanked: 3 times
Re: Errors after new installation
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
- Member
- Posts: 28
- Joined: Wed Mar 17, 2021 2:22 pm
- Phoenix Version: v1.0.9.0
- Been thanked: 3 times
Re: Errors after new installation
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
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
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Errors after new installation
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
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
Bertil
- Member
- Posts: 28
- Joined: Wed Mar 17, 2021 2:22 pm
- Phoenix Version: v1.0.9.0
- Been thanked: 3 times
Re: Errors after new installation
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
- Member
- Posts: 28
- Joined: Wed Mar 17, 2021 2:22 pm
- Phoenix Version: v1.0.9.0
- Been thanked: 3 times
Re: Errors after new installation
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
- Certified Developer
- Posts: 382
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: Errors after new installation
@Bertil
I am running a store on PHP Version 8.0.26 which works perfectly.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Errors after new installation
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: Errors after new installation
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.
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
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27