Forum > Code & Stuff
[FIX] Gallery; "The Category Dosen't Exist
(1/1)
Ken:
Problem:
When trying to access any of the albums in sub-category's the following error page comes up.
--- Quote ---An Error Has Occurred!
The category doesn't exist.
--- End quote ---
...it is being caused by a conflict with one of the TinyPortal files.
Fixed it with a coding edit supplied by IchBin™.
... anyone using this edit should backup your files.
Quote from: IchBin™
A temporary fix in Sources/TPortal.php about line #1024 you can find this code:
--- Code: --- //return if not quite a category
if(isset($_GET['action']) && $_GET['action'] == 'manageboards')
return;
--- End code ---
Change it to this:
--- Code: --- //return if not quite a category
if(isset($_GET['action']) && ($_GET['action'] == 'manageboards' || $_GET['action'] == 'gallery'))
return;
--- End code ---
Skhilled:
That's good to know. :)
Navigation
[0] Message Index