close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

sub directory

Thread began 12/20/2012 6:14 am by JamieEff | Last modified 12/20/2012 7:59 am by JamieEff | 1792 views | 6 replies |

JamieEff

sub directory

Hey Jason

My live testing server runs off a suib directory (clients.domain.co.uk/etcetc)

At the moment to be able to see the gallery, I need to use.. etcetc)

How should I amend the gallery code so that it will display within that sub folder.

<?php
$pg_id = '4';
$pg_theme = 'light';
include('/home/xxxxxx/public_html/gallery/galleries/ribbon_lightbox/index.php');
?>



Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

the gallery code should not need to be changed as long as the gallery itself is not being moved on the server.

Sign in to reply to this post

JamieEff

but when i go to the page using the sub directory route (ie clients.domain.co.uk/folder/inde.php) I get this error:


Warning: scandir(../home/xxxxx8wh/public_html/gallery/images) [function.scandir]: failed to open dir: No such file or directory in /home/motle8wh/public_html/gallery/admin_gallery/common/functions.php on line 721

If I go to the page normally (ie index.php) then it works absolutley fine....

Sign in to reply to this post

Jason ByrnesWebAssist

please give a valid link

Sign in to reply to this post

JamieEff

ok

If you visit the page this way the gallery works absolutely fine: rally/



But if you go to the same page this route, the gallery doesnt work: rally/

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

JamieEff

thanks and info sent through

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