close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PowerCMS and PowerStore Integration Challange

Thread began 11/16/2009 7:03 am by buzzellm352279 | Last modified 11/19/2009 5:50 pm by buzzellm352279 | 2888 views | 7 replies

buzzellm352279

PowerCMS and PowerStore Integration Challange

Eric,

The database connection files for PowerCMS and PowerStore are located as follows:

PowerCMS files are at root including the Connections directory for PowerCMS database connections

PowerStore files are located under root in a directory called "store" and under the store directory the Connections folder for the PowerStore database connections is located.

With this configuration if I don't include the PowerCMS includes in the PowerStore home page everything works fine both in PowerStore and PowerCMS. PowerStore connects to the somersf3_choicesStore Table accordingly. No errors. and Power CMS connects to it's database somersf3_choicesCMS.

Here is the PoweCMS connections code located in the Connections directory under root: (passwords X'd out for security)

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "somersf3_choicesCMS";
$username_localhost = "somersf3_choices";
$password_localhost = "XXXXXXXXX";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>


Here is the PowerStore connections code located in the Connections directory under root, under the directory called store, in the folder call Connections: (passwords X'd out for security):

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "somersf3_choicesStore";
$username_localhost = "somersf3_choices";
$password_localhost = "XXXXXXXXXX";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>


Again the only thing I am changing in the overall setup is adding the PowerCMS includes in the PowerStore home page. I really need to get this resolved. Again if providing you access to the site is helpful let me know.

Thanks,

Mike

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

Content

rating

Layout

rating

Ease of use

rating

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