• Opgelost koetje

    (@koetje)


    Op de website http://www.landbouwfoto.nl gebruik het thema TOPAZ-MAG-Orange, en daarbij hoort de plugin “Popluarity Contest”.

    Nu heb ik die plugin geinstalleerd, maar hij geeft de foutmelding:
    Fatal error: Call to undefined function: akpc_most_popular() in /home/vhosts/landbouwfoto.nl/httpdocs/wp-content/themes/TOPAZ-MAG-Orange/footer.php(2) : eval()’d code(1) : eval()’d code on line 15

    Ook bij het installeren zegt hij dat hij er een fatale fout zit op lijn 255, de tabel bestaat namelijk niet.

    Nu wordt er elke keer in de plugin gesproken over de tabel akpc_most_popular, die zal dus wel niet bestaan, gezien de melding. Hoe kan ik dit oplossen?

    mvg,
    Frederik Roseboom

4 reacties aan het bekijken - 1 tot 4 (van in totaal 4)
  • Je moet je database aanpassen, ik vond de oplossing op het engelstalige forum

    Here’s the two tables you need to create

    CREATE TABLE wp_ak_popularity (
    post_id int(11) NOT NULL,
    total int(11) NOT NULL,
    feed_views int(11) NOT NULL,
    home_views int(11) NOT NULL,
    archive_views int(11) NOT NULL,
    category_views int(11) NOT NULL,
    tag_views int(11) NOT NULL,
    single_views int(11) NOT NULL,
    searcher_views int(11) NOT NULL,
    comments int(11) NOT NULL,
    pingbacks int(11) NOT NULL,
    trackbacks int(11) NOT NULL,
    last_modified datetime NOT NULL,
    KEY post_id (post_id)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    
    --
    -- Dumping data for table wp_ak_popularity
    --
    
    -- Table structure for table wp_ak_popularity_options
    --
    
    CREATE TABLE wp_ak_popularity_options (
    option_name varchar(50) NOT NULL,
    option_value varchar(50) NOT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    Thread starter koetje

    (@koetje)

    Je bent m’n held! Het probleem is nu inderdaad opgelost. Thnx!

4 reacties aan het bekijken - 1 tot 4 (van in totaal 4)

Het onderwerp ‘Popularity Contest’ is gesloten voor nieuwe reacties.