Can anyone give me a good explanation of what the 'level' field does in the items table. Some of the manual changes I made are not working, and if this is what I think, its current value needs to be changed too.
[Edit]
Ok, by observation it represents the depth of the path to the filename, including the thumbs, resizes and albums folder. So a value in relative_path_cache of '2008/Oct 2008/DSC06038.JPG' would have a value of 4.
In 4 of my albums, the value was wrong but now that is set correctly. But I am still getting an error ('Dang ...') when I click on a thumbnail in those albums, the error follows:
Quote:
Help!
If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
The page you requested, 2008/Oct 2008/DSC06038, could not be found.
File: D:/Website/gallery3/system/core/Kohana.php, line: 841
And here's how we got there:
*
Kohana::show_404( )
* D:\Website\gallery3\system\core\Event.php [209]:
call_user_func( Array
(
[0] => Kohana
[1] => show_404
)
)
* D:\Website\gallery3\system\libraries\Router.php [163]:
Event::run( system.404 )
*
Router_Core::setup( )
* D:\Website\gallery3\system\core\Event.php [209]:
call_user_func( Array
(
[0] => Router
[1] => setup
)
)
* D:\Website\gallery3\system\core\Bootstrap.php [49]:
Event::run( system.routing )
* D:\Website\gallery3\index.php [86]:
require( D:\Website\gallery3\system\core\Bootstrap.php )
I realize it is a 'file not found' situation, but since it does not show the exact path and file it is trying, it is hard to diagnose.
The file is where I beleive it is supposed to be, but maybe thats not where it is looking!
(RE-EDIT)
Ok the problem is solved and it is a stupid 'fat-finger' error of mine. When rebuilding the last 4 albumbs after moving the files, for the relative_url_cache I replaced the blanks with %20. I should have done that to relative_path_cache instead, and replace blanks with dash '-' in relative-url_cache.
Sorry for wasting your time!
Martyn T. Griffin