How can I temporarily view my integrated Gallery2 as a standalone?

adriancollins

Joined: 2006-09-24
Posts: 8
Posted: Fri, 2007-12-14 14:41

Hi, I have a problem in which I need to either view my integrated Gallery2 install (Drupal 5.5/ Gallery 2.2.3) as a Gallery2 standalone, or find another alternative to fix this problem as per link below.

http://gallery.menalto.com/node/72260

All I need to do is view a link visible in the 'Your Account' bit of Gallery which is not visible viewing it via Drupal5.

The easiest way is probably to view as a standalone but I get access denied if I go to www.mysite.com/gallery2.

I believe I may have to edit the .htaccess file to allow this, or is there a way to temporarily 'unlink' Drupal and Gallery2?

Any ideas please? Thanks

Cheers, Adrian

 
tierns

Joined: 2007-12-07
Posts: 5
Posted: Sat, 2007-12-15 20:58

Adrian,

If I understand right, then really all you need to do is go to your gallery installation directory. In my case, my directory structure looks a little like this:

public_html (this is the directory I have Drupal installed into, so my drupal install can be accessed via http://www.mysite.com
public_html/gallery2 (this is my gallery2 installation)

So because my gallery2 is installed in a directory under my root called gallery2, I can access it via http://www.mydomain.com/gallery2

Hope this helps!

 
adriancollins

Joined: 2006-09-24
Posts: 8
Posted: Sat, 2007-12-15 23:12

Hi tierns,

Thanks for your help but as I put, because this is a Drupal embedded site rather than just a standalone I get an access denied error as copied below:

Security Violation

The action you attempted is not permitted.

Back to the Gallery

thanks for your help anyway, Adrian

 
tierns

Joined: 2007-12-07
Posts: 5
Posted: Thu, 2007-12-20 02:45

Weird. Did you ensure you synced your gallery users with your drupal users? Essentially what I'm asking is if you're accessing Gallery as "adrian" user and it doesn't exist in Gallery, you may see that error.

Also, just thinking out loud - but you're trying to access the link while logged into your drupal account right?

 
adriancollins

Joined: 2006-09-24
Posts: 8
Posted: Fri, 2007-12-21 10:29

Hi tierns,

Yep all synced ok. I have tried while logged into Drupal and otherwise.

The annoying thing is that all I want to do is see the link for a very short time! Crazy really. I have emailed the developer some time ago but had nothing back either.

I wondered if it was to do with the .htaccess file or similar deliberately blocking standalone access to Gallery2 ?

Cheers

Adrian

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2007-12-21 12:46

suggestion: have a look in the Gallery config.php file: look for a line like this:

$gallery->setConfig('mode.embed.only', false);

make sure that setting is false, not true.

 
adriancollins

Joined: 2006-09-24
Posts: 8
Posted: Fri, 2007-12-21 13:23

Hi alecmyers,

Thanks for the info, thats all I needed to do and works like a charm!

Its so easy when you know aint it!

Many thanks for saving my sanity

Adrian