close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

moving a website

Thread began 3/18/2015 12:25 pm by russb335115 | Last modified 3/26/2015 5:27 pm by russb335115 | 1267 views | 25 replies

Jason ByrnesWebAssist

this was showing a blank page meaning php errors.

i added the following code at line 1 to turn on error reporting:
<?php error_reporting(E_ALL); ini_set('display_errors','on'); ?>

this gave the following errors:

Notice: Undefined variable: database_localhost in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 39

Notice: Undefined variable: localhost in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 39

Warning: mysql_select_db() expects parameter 2 to be resource, null given in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 39

Notice: Undefined variable: localhost in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 41

Warning: mysql_query() expects parameter 2 to be resource, null given in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 41

meaning that code on the page was written for a connection named localhost, but that connection was not included.

this gave a new error:
Warning: include(/homepages/19/d403739231/htdocs/antronix/WA_CMS/addtosite.php) [function.include]: failed to open stream: No such file or directory in /data/0/0/89/28/89517/user/90902/htdocs/antronix/antronix-solutions-Access-Network.php on line 92

meaning the path to the WA_CMS/addtosite.php file was using the path for the old server in the require code:

i changed each instance to use the new server path:

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...