Blank shop home page
-
tedukes
- Member
- Posts: 87
- Joined: Wed Oct 27, 2021 11:27 pm
- Phoenix Version:
- Has thanked: 17 times
- Been thanked: 1 time
Re: Blank shop home page
Thanks!!
For SESSION_FORCE_COOKIE_USE:
105 Force Cookie Use SESSION_FORCE_COOKIE_USE False Force the use of sessions when cookies are only en... 15 2
NULL
2021-10-27 12:51:47
NULL
Config::select_one(['True', 'False'],
For GZIP_COMPRESSION:
103 Enable GZip Compression GZIP_COMPRESSION false Enable HTTP GZip compression. 14 1
NULL
2021-10-27 12:51:47
NULL
Config::select_one(['true', 'false'],
For SESSION_FORCE_COOKIE_USE:
105 Force Cookie Use SESSION_FORCE_COOKIE_USE False Force the use of sessions when cookies are only en... 15 2
NULL
2021-10-27 12:51:47
NULL
Config::select_one(['True', 'False'],
For GZIP_COMPRESSION:
103 Enable GZip Compression GZIP_COMPRESSION false Enable HTTP GZip compression. 14 1
NULL
2021-10-27 12:51:47
NULL
Config::select_one(['true', 'false'],
-
tedukes
- Member
- Posts: 87
- Joined: Wed Oct 27, 2021 11:27 pm
- Phoenix Version:
- Has thanked: 17 times
- Been thanked: 1 time
Re: Blank shop home page
New snippet from the error log:
thrown in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 30
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant GZIP_COMPRESSION - assumed 'GZIP_COMPRESSION' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/gzip.php on line 14
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_FORCE_COOKIE_USE - assumed 'SESSION_FORCE_COOKIE_USE' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 19
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_FORCE_COOKIE_USE - assumed 'SESSION_FORCE_COOKIE_USE' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 28
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_BLOCK_SPIDERS - assumed 'SESSION_BLOCK_SPIDERS' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 36
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_SSL_SESSION_ID - assumed 'SESSION_CHECK_SSL_SESSION_ID' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 17
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_USER_AGENT - assumed 'SESSION_CHECK_USER_AGENT' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 24
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_IP_ADDRESS - assumed 'SESSION_CHECK_IP_ADDRESS' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 31
[05-Jan-2022 23:13:43 Europe/London] PHP Notice: Undefined index: language in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.2/language.php on line 167
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant TEMPLATE_SELECTION - assumed 'TEMPLATE_SELECTION' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 26
[05-Jan-2022 23:13:43 Europe/London] PHP Fatal error: Uncaught Error: Class 'TEMPLATE_SELECTION_template' not found in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php:30
Stack trace:
#0 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.7.other/1.0.7.12/guarantor.php(17): Template->__construct()
#1 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.2/language.php(173): Guarantor::ensure_global('Template')
#2 /home/xxxxxxxxxxx/public_html/shop/includes/classes/usu_init.php(36): language::map_to_translation('includes/langua...')
#3 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.1/hooks.php(160): usu_init->i(Array)
#4 /home/xxxxxxxxxxx/public_html/shop/includes/application_top.php(30): hooks->generate('startApplicatio...')
#5 /home/xxxxxxxxxxx/public_html/shop/index.php(13): require('/home/vrj84iy0o...')
#6 {main}
thrown in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 30
thrown in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 30
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant GZIP_COMPRESSION - assumed 'GZIP_COMPRESSION' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/gzip.php on line 14
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_FORCE_COOKIE_USE - assumed 'SESSION_FORCE_COOKIE_USE' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 19
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_FORCE_COOKIE_USE - assumed 'SESSION_FORCE_COOKIE_USE' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 28
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_BLOCK_SPIDERS - assumed 'SESSION_BLOCK_SPIDERS' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/segments/application/start_session.php on line 36
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_SSL_SESSION_ID - assumed 'SESSION_CHECK_SSL_SESSION_ID' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 17
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_USER_AGENT - assumed 'SESSION_CHECK_USER_AGENT' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 24
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant SESSION_CHECK_IP_ADDRESS - assumed 'SESSION_CHECK_IP_ADDRESS' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/classes/application.php on line 31
[05-Jan-2022 23:13:43 Europe/London] PHP Notice: Undefined index: language in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.2/language.php on line 167
[05-Jan-2022 23:13:43 Europe/London] PHP Warning: Use of undefined constant TEMPLATE_SELECTION - assumed 'TEMPLATE_SELECTION' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 26
[05-Jan-2022 23:13:43 Europe/London] PHP Fatal error: Uncaught Error: Class 'TEMPLATE_SELECTION_template' not found in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php:30
Stack trace:
#0 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.7.other/1.0.7.12/guarantor.php(17): Template->__construct()
#1 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.2/language.php(173): Guarantor::ensure_global('Template')
#2 /home/xxxxxxxxxxx/public_html/shop/includes/classes/usu_init.php(36): language::map_to_translation('includes/langua...')
#3 /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.1/hooks.php(160): usu_init->i(Array)
#4 /home/xxxxxxxxxxx/public_html/shop/includes/application_top.php(30): hooks->generate('startApplicatio...')
#5 /home/xxxxxxxxxxx/public_html/shop/index.php(13): require('/home/vrj84iy0o...')
#6 {main}
thrown in /home/xxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.4/template.php on line 30
-
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: Blank shop home page
Then your configuration table is not loaded. It has nothing to do with slim checkout or any other addon.
Check in your database in the hook table if you have this entry:
hooks_id: 6:
6 shop system startApplication _03_read_configuration application_surface read_configuration
If it is missing, try to recover an older backup of your database which includes this entry.
If you do not have a backup you can use the following hook table backup with all core hooks for Phonix 1.0.8.6-1.0.8.9: For the case you have several databases, make also sure that you are looking at the right database comparing to the one which is defined in your configuration file:
includes\configure.php line 48:
Check in your database in the hook table if you have this entry:
hooks_id: 6:
6 shop system startApplication _03_read_configuration application_surface read_configuration
If it is missing, try to recover an older backup of your database which includes this entry.
If you do not have a backup you can use the following hook table backup with all core hooks for Phonix 1.0.8.6-1.0.8.9: For the case you have several databases, make also sure that you are looking at the right database comparing to the one which is defined in your configuration file:
includes\configure.php line 48:
Code: Select all
define('DB_DATABASE', 'your_database_name');
You do not have the required permissions to view the files attached to this post.
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
-
tedukes
- Member
- Posts: 87
- Joined: Wed Oct 27, 2021 11:27 pm
- Phoenix Version:
- Has thanked: 17 times
- Been thanked: 1 time
Re: Blank shop home page
Thanks!!
I have that but my hook id is 3
SELECT * FROM `hooks`
hooks_id hooks_site hooks_group hooks_action hooks_code hooks_class hooks_method
1 shop system startApplication _01_project_version application_surface project_version
2 shop system startApplication _02_request application_surface request
3 shop system startApplication _03_read_configuration application_surface read_configuration
4 shop system startApplication _04_general function_surface general
5 shop system startApplication _05_href_link function_surface usu_href_link
6 shop system startApplication _06_image function_surface image
7 shop system startApplication _07_html_output function_surface html_output
8 shop system startApplication _08_sessions function_surface sessions
9 shop system startApplication _09_gzip application_surface gzip
10 shop system startApplication _10_start_session application_surface start_session
11 shop system startApplication _11_check_ssl_session_id Application check_ssl_session_id
12 shop system startApplication _12_check_user_agent Application check_user_agent
13 shop system startApplication _14_check_ip Application check_ip
14 shop system startApplication _15_cart Application ensure_session_cart
15 shop system startApplication _16_usu_init Usu_init i
16 shop system startApplication _17_fix_numeric_locale Application fix_numeric_locale
17 shop system startApplication _18_set_currency currencies set_currency
18 shop system startApplication _19_ensure_navigation_history Application ensure_navigation_history
19 shop system startApplication _20_messageStack Loader messageStack
20 shop system startApplication _21_customer_data Loader customer_data
21 shop system startApplication _22_customer Application set_customer_if_identified
22 shop system startApplication _23_parse_actions application_surface parse_actions
23 shop system startApplication _24_whos_online whos_online::update
24 shop system startApplication _25_password_funcs function_surface password_funcs
25 shop system startApplication _26_template_title Application set_template_title
I have that but my hook id is 3
SELECT * FROM `hooks`
hooks_id hooks_site hooks_group hooks_action hooks_code hooks_class hooks_method
1 shop system startApplication _01_project_version application_surface project_version
2 shop system startApplication _02_request application_surface request
3 shop system startApplication _03_read_configuration application_surface read_configuration
4 shop system startApplication _04_general function_surface general
5 shop system startApplication _05_href_link function_surface usu_href_link
6 shop system startApplication _06_image function_surface image
7 shop system startApplication _07_html_output function_surface html_output
8 shop system startApplication _08_sessions function_surface sessions
9 shop system startApplication _09_gzip application_surface gzip
10 shop system startApplication _10_start_session application_surface start_session
11 shop system startApplication _11_check_ssl_session_id Application check_ssl_session_id
12 shop system startApplication _12_check_user_agent Application check_user_agent
13 shop system startApplication _14_check_ip Application check_ip
14 shop system startApplication _15_cart Application ensure_session_cart
15 shop system startApplication _16_usu_init Usu_init i
16 shop system startApplication _17_fix_numeric_locale Application fix_numeric_locale
17 shop system startApplication _18_set_currency currencies set_currency
18 shop system startApplication _19_ensure_navigation_history Application ensure_navigation_history
19 shop system startApplication _20_messageStack Loader messageStack
20 shop system startApplication _21_customer_data Loader customer_data
21 shop system startApplication _22_customer Application set_customer_if_identified
22 shop system startApplication _23_parse_actions application_surface parse_actions
23 shop system startApplication _24_whos_online whos_online::update
24 shop system startApplication _25_password_funcs function_surface password_funcs
25 shop system startApplication _26_template_title Application set_template_title
-
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: Blank shop home page
1.
2. You should instead check this:
If this is correct I'm out of ideas and I believe someone needs to have a look on your store.
I said:Ran the hook.sql, didn't work.
If you have the hook entry, independent of the id, it makes no sense to try this.If it is missing, try to recover an older backup........or use the hook backup...
2. You should instead check this:
For the case you have several databases, make also sure that you are looking at the right database comparing to the one which is defined in your configuration file:
includes\configure.php line 48:Code: Select all
define('DB_DATABASE', 'your_database_name');
If this is correct I'm out of ideas and I believe someone needs to have a look on your store.
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
-
tedukes
- Member
- Posts: 87
- Joined: Wed Oct 27, 2021 11:27 pm
- Phoenix Version:
- Has thanked: 17 times
- Been thanked: 1 time
Re: Blank shop home page
Thanks!!
I'm using the correct db.
Also, I just installed 1.0.8.9 on my home CentOS 8 server. Getting the blank page also on the shop side. Admin side good.
Still trying to install a fresh 1.0.8.9 on Godaddy but not having any luck.
I'm using the correct db.
Also, I just installed 1.0.8.9 on my home CentOS 8 server. Getting the blank page also on the shop side. Admin side good.
Still trying to install a fresh 1.0.8.9 on Godaddy but not having any luck.
-
tedukes
- Member
- Posts: 87
- Joined: Wed Oct 27, 2021 11:27 pm
- Phoenix Version:
- Has thanked: 17 times
- Been thanked: 1 time
Re: Blank shop home page
Still trying to install a fresh 1.0.8.9 on Godaddy. The automatic install doesn't work so I tried a manual install by uploading the files and running the phoenix.sql in the install directory.
Getting this error:
Error
SQL query:
CREATE TABLE configuration (
configuration_id int NOT NULL auto_increment,
configuration_title varchar(255) NOT NULL,
configuration_key varchar(255) NOT NULL,
configuration_value text NOT NULL,
configuration_description text NOT NULL,
configuration_group_id int NOT NULL,
sort_order int(5) NULL,
last_modified datetime NULL,
date_added datetime NOT NULL,
use_function varchar(255) NULL,
set_function varchar(255) NULL,
PRIMARY KEY (configuration_id),
UNIQUE KEY uq_configuration_key (configuration_key)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
MySQL said: Documentation
#1071 - Specified key was too long; max key length is 767 bytes
Getting this error:
Error
SQL query:
CREATE TABLE configuration (
configuration_id int NOT NULL auto_increment,
configuration_title varchar(255) NOT NULL,
configuration_key varchar(255) NOT NULL,
configuration_value text NOT NULL,
configuration_description text NOT NULL,
configuration_group_id int NOT NULL,
sort_order int(5) NULL,
last_modified datetime NULL,
date_added datetime NOT NULL,
use_function varchar(255) NULL,
set_function varchar(255) NULL,
PRIMARY KEY (configuration_id),
UNIQUE KEY uq_configuration_key (configuration_key)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
MySQL said: Documentation
#1071 - Specified key was too long; max key length is 767 bytes