Same Error Message, different result after modification.
Hi Jason, I get the same error message as this user but when I apply the same fix you offered I still get issues. Simply put if I put my Gallery code first and my CMS code next it displays correctly, if I place it CMS Code first followed by the powergallery code I get the ' [function.opendir]: failed to open dir: No such file or directory' error. This is the code I am using:
<!--This is the gallery -->
<?php
$pg_id = '1';
$pg_theme = 'Gaiety 01';
include('/home/fhlinux190/g/gaietyballoons.co.uk/user/htdocs/powergallery/galleries/grid_lightbox/index.php');
?>
<!--This is the CMS area for the descriptor -->
<?php
include('/home/fhlinux190/g/gaietyballoons.co.uk/user/htdocs/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Gallery Descriptors', 'Airwalkers', false);
?>
This works albeit the CMS dialog is displayed after the gallery, I want the CMS dialog to precede the gallery, but reversing the code thus:
<!--This is the CMS area for the descriptor -->
<?php
include('/home/fhlinux190/g/gaietyballoons.co.uk/user/htdocs/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Gallery Descriptors', 'Airwalkers', false);
?>
<!--This is the gallery -->
<?php
$pg_id = '1';
$pg_theme = 'Gaiety 01';
include('/home/fhlinux190/g/gaietyballoons.co.uk/user/htdocs/powergallery/galleries/grid_lightbox/index.php');
?>
This gives the error.