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

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
    Professional Stratics Veteran Alumni Stratics Legend Campaign Benefactor Evergreen

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