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. The Broadsword team is seeking alternative castle designs! Learn more and discuss here!
    Dismiss Notice
  4. Broadsword is hosting a 20th Anniversary Party for UO this September! Learn more here. Will you be there, Guest?
    Dismiss Notice
  5. Greetings Guest, Having Login Issues? Check this thread!
    Dismiss Notice

Error from Stratics Item Catelogue database

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

  1. Winter

    Winter Lore Keeper

    Mar 19, 2013
    Likes Received:
    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 Evergreen

    Feb 25, 2004
    Likes Received:
    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.