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

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mosai
Posts: 1
Joined: Fri 16. Oct 2020, 00:00

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

Post 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'

User avatar
Oliver Georgi
Site Admin
Posts: 9707
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

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

Post 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);
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
nameless1
Posts: 863
Joined: Sun 27. Apr 2008, 23:22

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

Post by nameless1 »

Hi there,

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

Cheers,

Robert
Post Reply