Results 1 to 4 of 4

Thread: PageRank in 5.0.1 from 5.1.1

  1. #1
    Join Date
    May 2006
    Posts
    13

    Unhappy PageRank in 5.0.1 from 5.1.1

    Hello,
    I have Indexu directory v. 5.0.1 and it hasn't PageRank module. Of course, I can download Indexu 5.1.1 with PageRank, but I want to use version 5.0.1. I copyed googlepr.php and pagerank.class.php from version 5.1.1, but it didn't work. How I can add PR module to 5.0.1 version?

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

    Default

    You need to add new table:
    Code:
    CREATE TABLE `idx_pagerank` (                                                                                                                                                                                                                                                                                                                             
      `link_id` mediumint(8) unsigned NOT NULL default '0',                                                                                                                                                                                                                                                                                                   
      `engine` char(1) NOT NULL default '',                                                                                                                                                                                                                                                                                         
      `rank` tinyint(4) NOT NULL default '0',                                                                                                                                                                                                                                                                                                                 
      `last_update` date NOT NULL default '0000-00-00',                                                                                                                                                                                                                                                                                                       
      PRIMARY KEY  (`link_id`,`engine`)                                                                                                                                                                                                                                                                                                                       
    );

  3. #3
    Join Date
    May 2006
    Posts
    13

    Default

    It not works
    PageRank isn't show and whene I open page eg. mydirectory.com/googlepr.php?link_id=1 it shows:
    Code:
    Fatal error: Call to a member function on a non-object in /home/******/domains/******/public_html/googlepr.php on line 29

  4. #4
    Join Date
    May 2006
    Posts
    13

    Default

    It's very important. How I can do it?

Similar Threads

  1. PageRank statistics
    By pozycjoner in forum Blocks and Modification
    Replies: 3
    Last Post: 07-08-2006, 03:13 PM
  2. Replies: 15
    Last Post: 10-28-2004, 10:01 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
  •