Page 1 of 1

Transfer site to new hosting with same domain name (white page)

Posted: Fri 16. Oct 2020, 00:07
by mosai
Hi,

I assisting a none profit organisation, to migrate their every old version of phpwcms to a new hosting provider but with same domain.
After I have done below steps I can't access the site. No matter if it's index.php or login.php I just see a white page.
I think I have googled the web empty and searched this forum without any luck.

- I have made a dump of the db and restored it on the new db server.
- I have download the entire diretory and uploaded it again to the new server via FTP.
- I have tried given 777 permissions to all folder and files

From the changelog.txt file is looks like version is 1.3.5. I have tried changing my php version to 5.2, but that doesn't make a difference

FTP path: domains/foot-step.dk/public_html/haver/

Code: Select all

/ database values
$phpwcms['db_host']           = 'localhost';
$phpwcms['db_user']           = 'u260432542_haver';
$phpwcms['db_pass']           = 'xxxxxxxx';
$phpwcms['db_table']          = 'u260432542_haver';
$phpwcms['db_prepend']        = '';
$phpwcms['db_pers']           = 1;
$phpwcms['db_charset']        = 'utf8';
$phpwcms['db_collation']      = 'utf8_general_ci';
$phpwcms['db_version']        = '';

// site values
$phpwcms['site']              = 'http://haver.foot-step.dk/';
$phpwcms['admin_name']        = 'admin'; //default: Webmaster
$phpwcms['admin_user']        = 'admin'; //default: admin
$phpwcms['admin_pass']        = '21232f297a57a5a743894a0e4a801fc3'; //MD5(phpwcms)
$phpwcms['admin_email']       = 'xxxx@xxxx.dk'; //default: noreplay@host

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '/var/www/www.cubitmedialine.dk/www//inc'
$phpwcms['root']         		= 'haver';         //default: ''
$phpwcms['file_path']         = 'filearchive';    //default: 'filearchive'
$phpwcms['templates']         = 'template';    //default: 'template'
$phpwcms['content_path']      = 'content'; //default: 'content'
$phpwcms['cimage_path']       = 'images';  //default: 'images'
$phpwcms['ftp_path']          = 'upload';     //default: 'upload'


Re: Transfer site to new hosting with same domain name (white page)

Posted: Fri 16. Oct 2020, 14:01
by Oliver Georgi
Check this https://github.com/slackero/phpwcms/wik ... ith-PHP5.5

Also try to find out about possible PHP errors (white pages).

Place this temporary inside the conf.inc.php and check the result:

Code: Select all

error_reporting(E_ALL);
ini_set('display_errors', 1);

Re: Transfer site to new hosting with same domain name (white page)

Posted: Mon 19. Oct 2020, 12:28
by nameless1
Hi there,

if you need professional help with moving your website PM me.

Cheers,

Robert