close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


CMS Builder not working after migrating to new server

Thread began 3/07/2013 12:36 pm by ssbinghampl428850 | Last modified 3/07/2013 1:56 pm by Jason Byrnes | 2052 views | 3 replies |


CMS Builder not working after migrating to new server


I have moved a website that used power cms to new hosting (same domain name) and are now seeing the following errors.

When trying to log in via log in page (eg. powercms) I get -

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'backpac_admin'@'localhost' (using password: YES) in /home/baba1754/public_html/powercms/Connections/PowerCMSConnection.php on line 9

Fatal error: Access denied for user 'backpac_admin'@'localhost' (using password: YES) in /home/baba1754/public_html/powercms/Connections/PowerCMSConnection.php on line 9

And where the content on the page used to appear I get -

Warning: include(/home/backpac/public_html/powercms/WA_CMS/addtosite.php) [function.include]: failed to open stream: No such file or directory in /home/baba1754/public_html/gorideawaveactivities.php on line 142

Warning: include() [function.include]: Failed opening '/home/backpac/public_html/powercms/WA_CMS/addtosite.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/baba1754/public_html/gorideawaveactivities.php on line 142

Fatal error: Call to undefined function WA_getCMSContent() in /home/baba1754/public_html/gorideawaveactivities.php on line 14

I think that it may be something to do with the file path changing, but not really sure.

Any help with this would be greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to update the Connections/PowerCMSConnection.php file to use the correct details for connecting to the new MySQL Server.

also, when you add a content area to the page, the path to the WA_CMS/addtosite.php page is generated based on that servers file system,

if you open the PCMS Admin section and select a content area, then view the Developer notes ., it will show the include path for the WA_CMS/addtosite.php file for the server you are on.

you will need to update the code on your pages to use that new path.

Sign in to reply to this post


Hi Jason,

Thanks for the prompt reply. I have changed the PowerCMSConnections file using what I believe to be the correct info but are still getting the same error message when attempting to log in.

Below is the PowerCMSConnections file. Can you tell me where to find the correct usernames and password? (I have replaced them with ???)

# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_PowerCMSConnection = "localhost";
$database_PowerCMSConnection = "?????????_cms";
$username_PowerCMSConnection = "?????????_admin";
$password_PowerCMSConnection = "?????????";
$PowerCMSConnection = mysql_pconnect($hostname_PowerCMSConnection, $username_PowerCMSConnection, $password_PowerCMSConnection) or trigger_error(mysql_error(),E_USER_ERROR);

Sorry for my lack of knowledge on this

Sign in to reply to this post

Jason ByrnesWebAssist

If it giving the:
Fatal error: Access denied for user 'backpac_admin'@'localhost' (using password: YES) in /home/baba1754/public_html/powercms/Connections/PowerCMSConnection.php on line 9

error, it means that you do not have the correct username or password to access the MySQL Server.

Sign in to reply to this post

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...