1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

some problem with my directory please help

Discussion in 'Directories' started by forumrating, Apr 2, 2007.

  1. #1
    Fatal error: Call to a member function on a non-object in /home/director/public_html/index.php on line 150

    url is directoryrating.com

    please some one help me with this issue thanks.
     
    forumrating, Apr 2, 2007 IP
    paidhosting likes this.
  2. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #2
    What did you change right before seeing this error?
     
    SasaVtec, Apr 2, 2007 IP
    forumrating likes this.
  3. forumrating

    forumrating Notable Member

    Messages:
    6,565
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    275
    #3
    i dint change anything , just saw the directory its showin me error suddenly frm no where.
     
    forumrating, Apr 2, 2007 IP
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Did u just upload some new template files? Or changed index.php file? And did u check that all files are present in that folder?
     
    paidhosting, Apr 2, 2007 IP
    forumrating likes this.
  5. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #5
    Can you just post the lines from 145 through 155 of index.php over here..

    Are you using PHPLD?
     
    NeoGen, Apr 2, 2007 IP
  6. forumrating

    forumrating Notable Member

    Messages:
    6,565
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    275
    #6
    line 150-165
     
    forumrating, Apr 2, 2007 IP
  7. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #7
    Login to your cpanel and try to repair your mysql database through phpmyadmin. especially check the category table.
     
    NeoGen, Apr 2, 2007 IP
  8. forumrating

    forumrating Notable Member

    Messages:
    6,565
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    275
    #8
    i don't know how to repair the db :eek:
     
    forumrating, Apr 2, 2007 IP
  9. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #9
    NeoGen, Apr 2, 2007 IP
  10. seolion

    seolion Active Member

    Messages:
    1,495
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    90
    #10
    If its saying error at line 150, I need to see few lines above that as well.

    Can you post 140-150 ?
     
    seolion, Apr 2, 2007 IP
    forumrating likes this.
  11. forumrating

    forumrating Notable Member

    Messages:
    6,565
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    275
    #11
    lines 129 - 150

    also its showing other error while exporting the db

     
    forumrating, Apr 2, 2007 IP
  12. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #12
    NeoGen, Apr 2, 2007 IP
    seolion likes this.
  13. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I looks like a DataBase problem to me.

    Do one thing. Add an other DB_user to your current Directory Database and then simple change the DB_user in your include/config.php file. See if that helps.

    I got a but similar issue when my DB user reached its Queries limit set by my Host.
     
    Fastian, Apr 2, 2007 IP
    forumrating likes this.
  14. seolion

    seolion Active Member

    Messages:
    1,495
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    90
    #14
    Hi Forumrating,

    I agree with NeoGen, problem could be with your DB as its giveing error at line containing

    $row = $rs->FetchRow();

    $rs in not an object (As there was no resultset), the error.

    Thats what I guess.
     
    seolion, Apr 2, 2007 IP
  15. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #15
    firstly, what's your backend? IIS? Apache?
    second, try clearing your cache folder: temp/templates/
    third, if not 1 or 2, try to repair your DB

    also, ping your mySQL server to ensure that its up and running.

    need more help let me know. i did get your PM.

    Rob
     
    an0n, Apr 2, 2007 IP
    forumrating likes this.
  16. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #16
    Great !!!
    It was a Database problem, repaired and your directory is back online:D:D
     
    NeoGen, Apr 2, 2007 IP
    forumrating likes this.
  17. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #17
    cool good to see another directory back online and kicking ass..
     
    paidhosting, Apr 2, 2007 IP