Drupal 6 Gallery 2 URL Rewrite issue

donkasok

Joined: 2008-09-16
Posts: 21
Posted: Wed, 2008-09-17 02:16

Hi,

I am usin drupal and gallery 2 for my website.Everything was working fine before i enabled url rewrite.Now i am able to access all gallry from gallery side. But In drupal it showing gallery menu .Once i click it goes to gallery main page . But once i clik the albums insie the gallery page 'Page not found error is showing'.

From Gallery side,http://xxx.net/gallery2/main.php is the main page of gallery and from drupal side
http://xxx.net/gallery is the gallery main page. Both are accessible.

I am able to access my album called photo gallery from gallery side. The url is showing http://xxx.net/gallery2/v/Photo+Gallery/. But In drupal side if i click on the album named photo gallery its showing error The requested page could not be found. The url is showing http://xxx/v/Photo+Gallery/

Please help me clear this issue.

with regards,
Don.K.Asok

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2008-09-17 02:50

I've never embedded Gallery in anything, otherwise I'd give helping you a stab. But it looks like Gallery is working as expected, but everything isn't working right when going through Drupal. I believe you may need to run through the URL Rewrite module when going through Drupal.

Always try searching the forums and the documentation. I found this, hope it helps:
http://codex.gallery2.org/Integration:Drupal:Installation:URL_Rewrite
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
donkasok

Joined: 2008-09-16
Posts: 21
Posted: Wed, 2008-09-17 03:00

Thanks. I have a small doubt . From drupal i can see gallery navigation and i am able to access gallery main page. I can see the albums also but i am not able to access the albums.

Don.K.Asok

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2008-09-17 03:23

Can you post a link to your site?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
donkasok

Joined: 2008-09-16
Posts: 21
Posted: Wed, 2008-09-17 04:11

My PM wont allow me to do that. BCoz this project is under development.Sorry for that.

Once i login as a administrator i can see a gallery button in drupal navigation menu. If i click on it it is showing the gallery main page where i have two albums , the url is showing as http://myweb.net/gallery. If i access the main page of gallery directly from gallery2 admin the url is showing as http://myweb.net/gallery2/main.php. this also showing my two albums.

But once i click on the album from drupal the url is showing as http://myweb.net/gallery/holiday/ and an error message is showing as you are not authorized to view this page.. If i go to the same album from gallery2 admin side the url is http://myweb.net/gallery2/gallery/holiday/ and it is accessiable.

In Galler2 URL Rewrite section i only enabled show items and the URL pattern is given as gallery/%path%

Please help me to solve this.

Don.K.Asok

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2008-09-17 04:43

If you can't either post or send me a link via Private Message by clicking on Write to author, then I can only suggest that you review the Gallery/Drupal integration instructions I posted earlier to make sure you've done everything correctly or you'll have to wait for someone else who has experience with integrating Gallery.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
donkasok

Joined: 2008-09-16
Posts: 21
Posted: Fri, 2008-09-19 05:47

At last i cleared the issue. Thanks 4 ur support. i posted how i cleared the issue on http://gallery.menalto.com/node/81643.

Thanks,
Don.K.Asok