Page 1 of 1
Blank shop and admin page
Posted: Mon Feb 07, 2022 12:29 am
by tedukes
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
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 2:04 am
by zipurman
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.
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 9:29 am
by LeeFoster
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.
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 5:28 pm
by tedukes
zipurman wrote: ↑Mon Feb 07, 2022 2:04 am
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.
Thanks!!
Everything looks good with the config files, also running the same version of PHP 7.4
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 5:29 pm
by tedukes
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.
Thanks!!
I think I will try that!
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 5:32 pm
by tedukes
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!!
Re: Blank shop and admin page
Posted: Mon Feb 07, 2022 5:36 pm
by zipurman
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?