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

Connection(s) to Existing Database

Thread began 8/19/2009 3:45 pm by robert222776 | Last modified 8/24/2009 3:09 pm by robert222776 | 1484 views | 3 replies


Thanks Eric. I made a second db connection that works fine.

From other posts on this forum and from the WA documents I was able to create a test page that I can see, and edit/update its content without the benefit of my pre-existing stylesheet for this site.

Now I would like to "attach" my pre-existing style sheet via IRite. I have tried to follow the steps (from Jason) outlined in another post dealing with "PowerCMS and IRite" without success. When I follow his suggestions and use the IRite Wizard on the content_update.php file I am getting the following error. See the before and after code:


// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../WA_iRite/", "713px", "400px", "Custom", "../custom/contents_update_ContentValue1.js", "".($totalRows_HistoryUpdate > 0)?$row_HistoryUpdate['HistoryValue']:($row_WADAContents['ContentValue']) ."");

// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_2 = CreateRichTextEditor ("myStyles", "../../WA_iRite/", "100%", "200px", "Default", "../custom/contents_update_myStyles1.js", "");

This line is also inserted at the top of the page with the others:
<?php require_once("../../WA_iRite/WARichEditorPHP.php"); ?>

When I upload the file I get the following error:

Warning: main(mydomain/WA_iRite/fckeditor.php) [function.main]: failed to open stream: No such file or directory in /mydomain/WA_iRite/WARichEditorPHP.php on line 1

Fatal error: main() [function.require]: Failed opening required '/mydomain/WA_iRite/fckeditor.php' (include_path='.:/opt/php/lib/php/') in /mydomain/WA_iRite/WARichEditorPHP.php on line 1

Also, I do not see any file called "contents_update_myStyles1.js" which was named in the above "after" code.

Any suggestions?


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