1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice
  3. Greetings Guest, Having Login Issues? Check this thread!
    Dismiss Notice
  4. Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
    Dismiss Notice
  5. Author Wes Locher has teamed up with Stratics for a giveaway of his new book Braving Britannia. This book explores the history and impact of Ultima Online and includes interviews from current and past dev team members as well as many UO and Stratics community members. Click here for more details!
    Dismiss Notice

Error from Stratics Item Catelogue database

Discussion in 'UHall' started by Winter, Jan 31, 2014.

  1. Winter

    Winter Lore Keeper

    Joined:
    Mar 19, 2013
    Messages:
    996
    Likes Received:
    716
    I was looking for the selection of Blackthorn artifacts available on the UO Stratics main page, and used the term "Blackthorn" as a search criteria in the Item Catelogue search box. It crashes every time and this is the error message I received:

    Notice: Use of undefined constant MainCategory - assumed 'MainCategory' in /home2/stratics/public_html/subdomains/uoss/database/search.php on line 179

    Notice: Undefined variable: prevcat in /home2/stratics/public_html/subdomains/uoss/database/search.php on line 179

    Notice: Use of undefined constant SubName - assumed 'SubName' in /home2/stratics/public_html/subdomains/uoss/database/search.php on line 186

    Notice: Use of undefined constant MainCategory - assumed 'MainCategory' in /home2/stratics/public_html/subdomains/uoss/database/search.php on line 193

    Warning: Cannot modify header information - headers already sent by (output started at /home2/stratics/public_html/subdomains/uoss/database/search.php:179) in/home2/stratics/public_html/subdomains/uoss/database/search.php on line 206
     
  2. Kirthag

    Kirthag Former Stratics Publisher
    Stratics Veteran Alumni Stratics Legend Campaign Benefactor

    Joined:
    Feb 25, 2004
    Messages:
    4,397
    Likes Received:
    1,790
    This issue still exists - but the site is no longer crashing and it is returning results. The error appears above the header area.
    Working on this one to fix - but am "code blind" right now so will work on it tomorrow.

    Actually was a simple fix - so fixed it. :)

    All searches work now.
     
    #2 Kirthag, Nov 12, 2014
    Last edited: Nov 12, 2014
    Tjalle and Zuckuss like this.