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

Power CMS Power Gallery inclusion error

Thread began 4/14/2014 6:21 pm by kata387222 | Last modified 1/29/2015 12:36 pm by kata387222 | 1016 views | 13 replies

kata387222

Power CMS Power Gallery inclusion error

Hi
I have installed Power CMS on my site and on pages that have a Power Gallery inclusion I am getting the following error:

Warning: opendir(/home/mindwork/public_html/otel/WA_Globals/galleries/ribbon_fullsize_lightbox/css/themes) [function.opendir]: failed to open dir: No such file or directory in /home/mindwork/public_html/otel/powergallery/admin_gallery/common/functions.php on line 490

I have been through the threads and seems that the functions.php file may need tweaking - Not sure what to though.

i am on DW CS6 and using Design Extender 1.1.7 and Databridge 1.1.9

See below for code with and without Power CMS added.

your help will be greatly appreciated.

Thanks Kata


Here is the code with Power CMS added to page with existing Power Gallery (this code is returning the error):

<body>
<h4>Curtain Side Bodies</h4>
<div class="galContainer">
<div class="galCopy"> <?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Vehicle Builds', 'Curtain Sides'); ?> </div>
<div class="galPlug">
<?php
$pg_id = '4';
$pg_theme = 'otel';
include('/home/mindwork/public_html/otel/powergallery/galleries/ribbon_fullsize_lightbox/index.php');
?>
<!--end galPlug--></div>
<br class="clearfloat" />
<!--end galContainer--></div>
<div class="clearfloat"> </div>
<?php WA_manageSEO(); ?>


</body>


Here is the Original Code prior to adding Power CMS where the gallery was working fine:

<body>
<h4>Curtain Side Bodies</h4>
<div class="galContainer">
<div class="galCopy">

<ul>
<li>Any length and width
</li>
<li>Timber decks; either Shiplap hardwood Balau, Calophylum or Heavy Hopea, Trans Tek, container ply 25 0r 28mm or just treated plywood
</li>
<li>Steel decks; either mild steel plate, corten plate or treadplate at what ever thickness required
</li>
<li>Load anchorage rails with hooks and or chain plates if required
</li>
<li>Lashing rings fitted into deck if required
</li>
<li>Flush mounted headboards lined with ply or steel on inside
</li>
<li>Roof support poles as required to suit body length (our own unique design)
</li>
<li>One piece aluminum roof
</li>
<li>T3 curtain tensioners
</li>
<li>Curtains to colour of your choice rated as per LTNZ requirements
</li>
<li>Pressed steel mudguards and OTEL embossed mudflaps
</li>
<li>Tail lifts, what ever brand/style you require
</li>
<li>Optional folding or removable internal side screens and rails
</li>
<li>All painted to your requirements</li>
</ul>
</div>
<div class="galPlug">
<?php
$pg_id = '4';
$pg_theme = 'otel';
include('/home/mindwork/public_html/otel/powergallery/galleries/ribbon_fullsize_lightbox/index.php');
?>
<!--end galPlug--></div>
<br class="clearfloat" />
<!--end galContainer--></div>
<div class="clearfloat"> </div>


</body>
</html>

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