Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: [FIX] Gallery; "The Category Dosen't Exist  (Read 7848 times)

0 Members and 2 Guests are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
[FIX] Gallery; "The Category Dosen't Exist
« on: February 07, 2015, 06:50:27 PM »
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.
...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: [Select]
    //return if not quite a category
    if(isset($_GET['action']) && $_GET['action'] == 'manageboards')
    return;


    Change it to this:
 
Code: [Select]
    //return if not quite a category
    if(isset($_GET['action']) && ($_GET['action'] == 'manageboards' || $_GET['action'] == 'gallery'))
    return;
« Last Edit: February 07, 2015, 07:30:08 PM by Ken »
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9423
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: [FIX] Gallery; "The Category Dosen't Exist
« Reply #1 on: February 08, 2015, 08:58:45 AM »
That's good to know. :)