Geez, here we go again!
I moved to a new hosting provider. Imported the DB with no problems. Uploaded the files to the new site and getting blank pages on the shop/home page and admin/home page.
Only thing I can find is in the error log:
[06-Feb-2022 19:18:57 America/New_York] PHP Fatal error: DB: [] in /home1/xxxxx/public_html/outlet/includes/system/versioned/1.0.8.1/database_core.php on line 44
I hate blank pages!!
Any help or suggestions?
TIA
Blank shop and admin page
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Has thanked: 93 times
- Been thanked: 162 times
Re: Blank shop and admin page
Make sure all paths in the configure.php files are the correct paths for your new host.
Check the version of php being used on your new host.
Check the version of php being used on your new host.
zipurman
-----------
-----------
-
LeeFoster
- Contributor
- Posts: 263
- Joined: Sun Feb 28, 2021 9:41 pm
- Phoenix Version: v1.0.8.20
- Has thanked: 1 time
- Been thanked: 5 times
Re: Blank shop and admin page
What I would do if I were moving to a new hosting provider is this -
1. Upload a clean version of Phoenix, ensure it's the same as your current one.
2. Install said version along with database creation.
3. Take a copy of the configuration and admin/configuration files.
4. Upload your files overwriting all except the 2 configuration files.
5. Take a copy of your current database.
6. Delete the new database and replace with yours.
1. Upload a clean version of Phoenix, ensure it's the same as your current one.
2. Install said version along with database creation.
3. Take a copy of the configuration and admin/configuration files.
4. Upload your files overwriting all except the 2 configuration files.
5. Take a copy of your current database.
6. Delete the new database and replace with yours.
-
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 and admin page
Thanks!!
Everything looks good with the config files, also running the same version of PHP 7.4
-
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 and admin page
Thanks!!LeeFoster wrote: ↑Mon Feb 07, 2022 9:29 am What I would do if I were moving to a new hosting provider is this -
1. Upload a clean version of Phoenix, ensure it's the same as your current one.
2. Install said version along with database creation.
3. Take a copy of the configuration and admin/configuration files.
4. Upload your files overwriting all except the 2 configuration files.
5. Take a copy of your current database.
6. Delete the new database and replace with yours.
I think I will try that!
-
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 and admin page
Update:
I have the admin side working but still have the blank page on the store side.
New set of warnings and errors:
[07-Feb-2022 10:46:37 America/Chicago] PHP Fatal error: require(): Failed opening required '/outlet/includes/system/autoloader.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home1/xxxxxxxxxxxx/public_html/outlet/admin/includes/application_top.php on line 20
[07-Feb-2022 12:17:19 America/New_York] PHP Fatal error: Uncaught Error: Call to a member function data_seek() on null in /home1/xxxxxxxxxxx/public_html/outlet/includes/hooks/admin/siteWide/swPwa.php:198
Stack trace:
#0 /home1/xxxxxxxxxxx/public_html/outlet/includes/system/versioned/1.0.8.1/hooks.php(150): hook_admin_siteWide_swPwa->listen_injectSiteEnd(Array)
#1 /home1/xxxxxxxxxxx/public_html/outlet/includes/system/versioned/1.0.8.1/hooks.php(144): hooks->cat('injectSiteEnd', Array)
#2 /home1/xxxxxxxxxxxxx/public_html/outlet/admin/includes/template_bottom.php(21): hooks->call('siteWide', 'injectSiteEnd')
#3 /home1/xxxxxxxxxxxxx/public_html/outlet/admin/reviews.php(43): require('/home1/xxxxxxxxxxxx...')
#4 {main}
thrown in /home1/xxxxxxxxxxxxx/public_html/outlet/includes/hooks/admin/siteWide/swPwa.php on line 198
Halfway there, LOL!!
I have the admin side working but still have the blank page on the store side.
New set of warnings and errors:
[07-Feb-2022 10:46:37 America/Chicago] PHP Fatal error: require(): Failed opening required '/outlet/includes/system/autoloader.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home1/xxxxxxxxxxxx/public_html/outlet/admin/includes/application_top.php on line 20
[07-Feb-2022 12:17:19 America/New_York] PHP Fatal error: Uncaught Error: Call to a member function data_seek() on null in /home1/xxxxxxxxxxx/public_html/outlet/includes/hooks/admin/siteWide/swPwa.php:198
Stack trace:
#0 /home1/xxxxxxxxxxx/public_html/outlet/includes/system/versioned/1.0.8.1/hooks.php(150): hook_admin_siteWide_swPwa->listen_injectSiteEnd(Array)
#1 /home1/xxxxxxxxxxx/public_html/outlet/includes/system/versioned/1.0.8.1/hooks.php(144): hooks->cat('injectSiteEnd', Array)
#2 /home1/xxxxxxxxxxxxx/public_html/outlet/admin/includes/template_bottom.php(21): hooks->call('siteWide', 'injectSiteEnd')
#3 /home1/xxxxxxxxxxxxx/public_html/outlet/admin/reviews.php(43): require('/home1/xxxxxxxxxxxx...')
#4 {main}
thrown in /home1/xxxxxxxxxxxxx/public_html/outlet/includes/hooks/admin/siteWide/swPwa.php on line 198
Halfway there, LOL!!
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Has thanked: 93 times
- Been thanked: 162 times
Re: Blank shop and admin page
Looks like the php pear libs are missing? You should check your cpanel and make sure pear is enabled. You then also want to check the outlet/includes/hooks/admin/siteWide/swPwa.php to see what path it is using and where your host paths for pear are located. You could also just remove swPwa.php for now if it is not needed... not sure what it does?
zipurman
-----------
-----------