Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

Yesterday at 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

Yesterday at 20:57:10
Now that you mention it...  :D
 

Skhilled

Yesterday at 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

Yesterday at 20:31:37
Hey Steve.
 

Skhilled

Yesterday at 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D
 

Skhilled

2024-03-24, 09:52:09
It may be released as early as today...if we all agree on it. ;)

Recent Topics

TP Articles


Search in titles
Search in article texts

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

0 Members and 1 Guest are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11667
  • 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: 8990
  • 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. :)