[Solved] Next page: wrong path

wslagendijk

Joined: 2009-11-15
Posts: 3
Posted: Sun, 2009-11-15 13:19

The next (and previous) buttons on a album page refer to a wrong url. The path is incorrect, instead of refering to album/subalbum?page=2 it refers to album/album/subalbum?page=2.

in the error message below the following album structure is used:
Top (Wildspitze)
-sub 1 (Alwin)

o here's the error:
The page you requested, Wildspitze2009/Wildspitze2009/Alwin?page=2, could not be found.

File: system/core/Kohana.php, line: 849
And here's how we got there:

    *

      Kohana::show_404(  )

    * system/core/Event.php [209]:

      call_user_func( Array
      (
          [0] => Kohana
          [1] => show_404
      )
       )

    * system/libraries/Router.php [163]:

      Event::run( system.404 )

    *

      Router_Core::setup(  )

    * system/core/Event.php [209]:

      call_user_func( Array
      (
          [0] => Router
          [1] => setup
      )
       )

    * system/core/Bootstrap.php [49]:

      Event::run( system.routing )

    * index.php [90]:

      require( system/core/Bootstrap.php )
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sun, 2009-11-15 16:39

Please upgrade to an experimental version:
FAQ: How do I upgrade?

Post a url with the behavior if it still occurs after the upgrade.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
wslagendijk

Joined: 2009-11-15
Posts: 3
Posted: Sun, 2009-11-15 17:05

Forgot to tell: using latest version from git.
Error still occurs.

URL: www.hakkietakkie.net

Error occurs from every subalbum.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Mon, 2009-11-16 03:20

Thanks for reporting, fixed:
http://github.com/gallery/gallery3/commit/5df00737c90058bffeecb55bbc38f3068435c611
please upgrade to a experimental version to get the fix.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
wslagendijk

Joined: 2009-11-15
Posts: 3
Posted: Mon, 2009-11-16 07:18

Indeed, fixed in latest git version. Tnx!