Results 1 to 14 of 14

Thread: Fatal error occurs when I update from 5.1.1 to 5.2

  1. #1
    Join Date
    May 2006
    Posts
    15

    Default Fatal error occurs when I update from 5.1.1 to 5.2

    I upgrade my indexu today from 5.1.1 to 5.2.0. When I click every catagory in index page http://www.all-business-logo.com, all give me the same error:

    Fatal error: Call to a member function on a non-object in /home/allblogo/public_html/lib/category.class.php on line 368

    Please help me to solve this problem

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

    Default

    Please submit a helpdesk ticket, and provide us your ftp account

  3. #3
    Join Date
    Jan 2005
    Posts
    164

    Default same problem

    I just went from 5.1.1 to 5.2 and have the same problem. What was the fix?
    Using INDEXU Version 5.4

  4. #4
    Join Date
    Jan 2005
    Posts
    164

    Default fixed

    Ok this problem was fixed with a simple update category path. However now my category structure is messed up.
    I've updated it category path as well ask checked the structure. I've also deleted all the cache files. When I click on my main categories they take to a completely different category in my directory. The website is www.slpwebsites.com example click on Speech Language Pathology and it take you to Top > Regional > Albania > Speech Language Pathology

    Any ideas?

    I'm assuming it is the mod-rewrite. It took me awhile to upgrade, but I didn't notice anyone else having this problem.
    Using INDEXU Version 5.4

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

  6. #6
    Join Date
    Jan 2005
    Posts
    164

    Default still problem

    Ok, I've made the code change, but my categories are still messed up.
    Using INDEXU Version 5.4

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

  8. #8
    Join Date
    Sep 2005
    Location
    The Netherlands
    Posts
    19

    Default

    Hi, when I try the above, nothing changes.
    The /lib/category.class.php file now looks like this @ line 1011:
    Code:
    $id = $dbConn->Lookup('category_id', 'idx_category_path', "path_with_url like '%\"$path%' order by path asc");
    But I still get the same error:
    Fatal error: Call to a member function Fields() on a non-object in /var/www/regenerate/links.dutchjoomla.org/lib/category.class.php on line 368
    You can view this live @ http://links.dutchjoomla.org/
    When putting mod_rewrite OFF the problem is gone but how to fix the problem for mod_rewrite ON?
    Last edited by Regenerate; 08-27-2006 at 08:28 AM.

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

    Default

    Does your web host support mod-rewrite?
    Please submit a helpdesk ticket and provide us your ftp account.

  10. #10
    Join Date
    Sep 2005
    Location
    The Netherlands
    Posts
    19

    Default

    My dedicated server does support mod-rewrite, I use it on several other website, and sorry, but I'm not giving anyone my FTP details, If anyone knows a solution I can follow trough on it myself
    Indexu 5.2.0 - PHP 5.1.1 - MySQL 5.0.18

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

    Default

    Try to update category path.
    Admin panel > category > update category path

  12. #12
    Join Date
    Aug 2006
    Posts
    32

    Default

    Quote Originally Posted by dody View Post
    Try to update category path.
    Admin panel > category > update category path
    I think you should include this as a automated function rather than requiring a click for every addition of a link.

    Not that we are lazy, but I am getting plenty of 368 errors and my web server fully supports mod-rewrite with every other scripts that I have.

    This problem is critical. Why?

    If for some reason this is not done, there will be an error on the page - site is not functioning properly. I get so sick everytime I see this that I am losing every bit of confidence. Now I am getting this while accessing the Admin Area, and I haven't even done any changes to my PHP, MYSQL, nor any IndexU codes. I was simply adding links and starting up the site.

    It was fine and after I leave my PC and come back to work again, it happened again. I am feeling so sick of this error.

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

    Default

    I think you should include this as a automated function rather than requiring a click for every addition of a link.
    Actually we did this in earlier version long ago. But users with so many categories experience slow page load after working with categories. This is caused by complex computation when calculating the category path. So we just add a reminder link for user to perform 'update category path'. I believe most users will agree with this approach.

  14. #14
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    Yep, Im with Dody on this one..... I think he has done it the right way, I guess if there is spare time could always put in a feature so you can select in the control panel to enable it to be automatically done,

    But surely there are better features to spend time on....

Similar Threads

  1. Fatal error
    By norshopper in forum v5.x
    Replies: 8
    Last Post: 06-11-2005, 12:35 PM
  2. Fatal Error...help Me!!!
    By kikoweb in forum v5.x
    Replies: 3
    Last Post: 05-05-2005, 10:00 AM
  3. Fatal Error
    By Rob Picken in forum v5.x
    Replies: 3
    Last Post: 09-08-2003, 06:24 AM
  4. Fatal error ...
    By kim117 in forum v5.x
    Replies: 0
    Last Post: 03-01-2003, 09:38 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
  •