Results 1 to 11 of 11

Thread: Server Error Log

  1. #1
    Join Date
    Aug 2006
    Posts
    32

    Default Server Error Log

    Hi, I happened to be troubleshooting another script (CMS type) and was looking at the error log on my server.

    There is this line on the server domlog (error log) whenever I access the front page:

    PHP Fatal Error: Call to a member function Fields() on a non-object in /..../lib/category.class.php on line 368. I checked line 368 is:

    $result = $dbConn->Execute($query);
    return $result->Fields("meta_keyword");

    What I did was point to my front page on the browser, and then vi the error_log on my server immediately after that (via SSH), and noting the server time.

    I checked my page source for my index page and the meta keyword is doing fine. There are no problems with the site right now, but I wonder if there is any problem with the above message. In any case, I doubt it is critical (or "fatal").

    btw, I could not find any error log for my CMS script...

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Hmm... I can not investigate the error without knowing how to reproduce the error

  3. #3
    Join Date
    Aug 2006
    Posts
    32

    Default

    Hi Dody,

    1) This is how I did it:

    When the category is set to free access, everything is OK.

    When I set the category to "registered member" only, I get this message when trying to access the category on the front page:

    Fatal error: Call to a member function Fields() on a non-object in /......../lib/category.class.php on line 368

    2) I have been wanting to ask (PM+support):

    The IDesk that is bundled with the unlimited IndexU license, is it a single domain license or also unlimited?

    Regards

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    About the above problem, please submit a ticket and don't forget to provide us your ftp account. I've checked here, and found no problem.

    About the unlimited license, the idesk bonuse is in a single domain license.

  5. #5
    Join Date
    Aug 2006
    Posts
    32

    Default

    Quote Originally Posted by dody
    About the above problem, please submit a ticket and don't forget to provide us your ftp account. I've checked here, and found no problem.

    About the unlimited license, the idesk bonuse is in a single domain license.
    Hi Dody, I just changed the "kids and gardening" in your demo and received the same error when trying to access as a visitor to a "registered user" section.
    Attached Images Attached Images

  6. #6
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Yes, you right. We're working on it now. Thanks.

  7. #7
    Join Date
    Aug 2006
    Posts
    32

    Default

    Hi Dody, thanks for your help.

  8. #8
    Join Date
    Aug 2006
    Posts
    32

    Default

    Hi Dody, any update for this, hope it is not forgotten

  9. #9
    Join Date
    Aug 2006
    Posts
    32

    Default

    Hi Dody, any update is appreciated, even if in progress.

    Please provide patch just for this one. The error is similar to the one I get when I try to put a .htaccess/.htpasswd to secure my admin area. However, one occur in Admin Area, while this error (this thread) occurs whenever a visitor tries to access a "Registered User Only" area.

    Pref. not to patch everything from RXXX to RXXX as I made some mods to the template files. When I followed the SVN, it just links back and back and the only way is to apply all SVN patches which may not be stable. Just this particular bug-fix pls.

  10. #10
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Sorry about this, but I'll post the solution today.

  11. #11
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Here is the bug fix: edit browse.php [Line : 283]

    Change :
    Code:
    $back_url = urlencode("browse.php?cat=$cat");
    header ("Location: login.php?f=1&b=$back_url");
    To :
    Code:
    header("Location: ". $site_url . "/login.php?f=1&b=" . 
    urlencode($_SERVER['REQUEST_URI']));

Similar Threads

  1. Internal Server Error
    By kevinrstruck in forum v5.x
    Replies: 17
    Last Post: 07-14-2006, 09:42 AM
  2. Internal Server Error
    By berto in forum v5.x
    Replies: 4
    Last Post: 04-05-2006, 12:55 PM
  3. Fatal error - moved to new server !
    By 12noon in forum v5.x
    Replies: 23
    Last Post: 01-23-2005, 08:08 AM
  4. Changed my server - script error
    By 12noon in forum v5.x
    Replies: 2
    Last Post: 10-09-2004, 07:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •