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. Publish 97 is currently on TC1! They are currently focusing on the pet customization aspect of the pet revamp. Head to TC1 and send in your feedback or discuss here!
    Dismiss Notice
  5. Broadsword is hosting a 20th Anniversary Party for UO this September! Learn more here. Will you be there, Guest?
    Dismiss Notice
  6. A new State of Stratics is up. Check it out here!
    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 Evergreen

    Joined:
    Feb 25, 2004
    Messages:
    4,319
    Likes Received:
    1,680
    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.