Results 1 to 8 of 8

Thread: Fatal error: cat_view

  1. #1
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default Fatal error: cat_view

    I am trying to View/Edit/Delete my categories in the admin area. But when I click the link I get the following error:

    Fatal error: Call to a member function on a non-object in /home/pueblosites/www/mysite/links/admin/cat_view.php on line 86

    line 86 is:
    $total = $result->RecordCount();

    Please help

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    do you have any categories to view....? If not, you need to add some.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Yes I have
    And then I deleted all links and cats, still same problem.
    I am moving from one server to another, since then I have noticed that.
    When I had cats, I checked my structure, and there was no errors.

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    re-upload cat_view.php file. make sure you use ascii mode to upload.

    you may need to do a complete re-install using ascii mode for text files / binary mode for images.


    .
    Last edited by esm; 04-13-2008 at 10:09 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    well, I imported my cats and links rather than restoring them, and it worked
    Unfortunetly I lost all my custom fields although I created them before importing.

    regards

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Custom fields won't disappear because you imported links. The fields will still exist, however the file you imported may not have had the data in the fields imported.

  7. #7
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    while I don't know what you did exactly, backups are essential because it is easy to screw things up. If you don't know to backup your data and critical configuation files, what can I say. Backing up data can be a painful lesson to be learned.

    Don't know if you fixed your problem or not. Since INDEXU runs, all errors are ultimately caused by you or your host. The error message indicates the MYSQL statement returned no categories to count. But you say your have categories. Does INDEXU run properly otherwise?

    Custom fields don't just disappear.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  8. #8
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Ofcourse I had backed up my data, but restoring it gave same problem, as time is important for me, I am happy import fixed it, I have almost 320 links, so I can not complain, I will update as much as I can everyday, I already updated 29 links since my last post

    Thanx anyway

    Hani

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
  •