close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

file missing but cant find it in installation files

Thread began 2/08/2012 1:57 am by JamieEff | Last modified 2/08/2012 10:18 am by Jason Byrnes | 1650 views | 4 replies |

JamieEff

file missing but cant find it in installation files

Hi

Have just uploaded my first Gallery and am getting this error on the published page:

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

I have looked in the files downloaded from you site in the zip and the functions.php file is not there nor is it in the instaleld files on the live server....

Please advise

Cheers

Jamie

EDIT: Just found this other thread which may be conencted? showthread.php?p=119427#post119427

Sign in to reply to this post

Jason ByrnesWebAssist

here is an updated copy of the admin_gallery/common/functions.php file that should correct the problem.

Attached Files
functions.php.zip
Sign in to reply to this post

JamieEff

Thanks Jason

Should I hold on to that file for future gallery installations or was it just a rogue ?

Cheers

Jamie

Sign in to reply to this post

JamieEff

ok

thats worked i had to update

$dp_themes = opendir( str_replace("/WA_Globals", "/powergallery", $GLOBALS['absLink']).'/galleries/' . $galleryDirName . '/css/themes');

to

$dp_themes = opendir( str_replace("/WA_Globals", "/gallery", $GLOBALS['absLink']).'/galleries/' . $galleryDirName . '/css/themes');

As i had called the folder 'gallery' as opposed to powergallery

One thing also, I have a jquery slideshow in the header area and as soon as the gallery is added it disappears (its still visible on all other non-gallery pages)

Any ideas please?

EDIT: managed to fix the jquery conflict.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear it is working.

Sign in to reply to this post

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