close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

moving servers

Thread began 10/08/2010 10:35 am by colin.needham292860 | Last modified 10/15/2010 11:49 am by Jason Byrnes | 1607 views | 11 replies |

colin.needham292860

moving servers

Hi,

I have been using version 1 of Power CMS for some time but I have just set up my first version 2 of the software on a local server. Thing is I now need to move the site to a remote server so the client can see it and as the file structure has changed I seem to be getting some issues. Can anyone tell which files need to be changed to make the site work on the remote server now, the database is ready and waiting.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to edit the wa_settings table in the database to set the root URL.

Sign in to reply to this post

colin.needham292860

There are 7 items in that table, do you mean id2 PCMS Remote Root? If that is the item do I just put the URL in place of what is there in value, I tried this and it didn't work.

Sign in to reply to this post

Jason ByrnesWebAssist

you need to change the remote root to a site relive path to where the power cms ditrectory is on your site.


for example, if you use the URL:
admin

to get to the admin console, then the remote root should be set to:
/powerCMS/

Sign in to reply to this post

colin.needham292860

Yes but that directory is the same on the testing server, I have tried changing the the two database links on PowerCMSConnection.php and the file in the Connections folder to the remote servers MySQL database but it doesn't seem to work, surely there must be a simple way to migrate from the local test server to the remote server or do I have to reinstall every time a site is moved?

Sign in to reply to this post

colin.needham292860

OK, I worked out the issue, what I thought was a database connection issue is actually down to the way data is now aded to pages from Power CMS. In the old system if you moved servers you simply had to redirect the Globals file to the new location, now you have to change every entry that relates to database content so the files have the correct URL. This means 24 changes on an 8 page site with 3 content areas on each page instead of the old single change.

Not an issue I know if you do find and replace across the site but that wont work if I want to keep a local version of the site as well.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, the Advanced file management setting in PowerCMS 2 will store the entire file address pointing to your server, moving servers will mean that the file information will need to be updated in the database.

Sign in to reply to this post

colin.needham292860

OK next issue, admin is working but I have two issues.

1: The i rite data is missing, I just get a text entry box.

2. The developer notes are creating gibberish on the echo line.

echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, '@@content-group@@'

instead of.


echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Home Page', 'Column 1', false);

Any ideas

Sign in to reply to this post

Jason ByrnesWebAssist

this is an issue with the lighter.php.js file being processed as a php file instead of treated as a js file. see this page for details:
faq/

this is also pobably causing the issue with the irite toolbars

Sign in to reply to this post

colin.needham292860

Right, I've spoken to my hosting company and that is something they are not willing to do on the server, is there a way of mr implementing this via a php.ini file, failing that I will have to revert back to version 1 of Power CMS

Sign in to reply to this post
loading

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