Viewing 15 replies - 31 through 45 (of 73 total)
  • Thread Starter Lester Chan

    (@gamerz)

    okie my bad, I think make it global settings is more efficient.

    i’m confused still a little, sorry… what do you mean by the asd.php and asd2.php? do you use it in templates? i was under the impression that the code could be placed anywhere…in a post, on a page, in the sidebar, etc…

    Thread Starter Lester Chan

    (@gamerz)

    yap it can. i mean my bad, ignore the previous post.

    lol…ok…

    can I use this for certain pages and not posts?

    Thread Starter Lester Chan

    (@gamerz)

    yes u can. but you need runPHP to run <?php the_ratings_vote(); ?> in the post. I am going to add a tag for post soon.

    Hey GamerZ

    I was hoping you’d might be able to help me. I’ve been away with work, and I’ve finally been able to upload your plugin.

    I placed <?php if(function_exists('the_ratings')) { the_ratings(); } ?> in my index.php AND single.php inside the Loop. I did this because I have multiple categories & single.php’s and I thought it might be missed via Index.php

    I placed <?php if(function_exists('the_ratings')) { the_ratings_vote(); } ?> as is, just before my ‘filedunder’ info, still within the loop.

    I get this error:WordPress database error: [Table 'xxxx_wrdp1.wp_ratinglogs' doesn't exist]
    SELECT rating_ip FROM wp_ratinglogs WHERE rating_postid = 18 AND rating_ip = '60.229.191.16'

    Could you advise what I did wrong?
    You can check out the test page here, on my site.

    I’ve disabled your plugin because of the error, but you can see under the article what I’ve coded into the template.

    Thanks heaps.

    Kate

    Thread Starter Lester Chan

    (@gamerz)

    wierd, it seems that the ratingslog table is not created. maybe you can decativate and deactivate it again? did u download the latest version?

    Hey GamerZ

    Yep – downloaded the very latest version this morning, activated; error produced. De-activated: error goes.

    Re-activated; error produced.

    Latest version: Version 1.00 (01-03-2006) from your site.

    Kate

    Thread Starter Lester Chan

    (@gamerz)

    can u check whether is there a ratingslog table created in your database?

    I have the same problem with your useronline plugin…

    Thread Starter Lester Chan

    (@gamerz)

    erm the problem is because the script cant create the table.

    Grab this -> https://dev.wp-plugins.org/file/wp-useronline/trunk/useronline.php
    Put into your plugin folder, and activate.

    can u check whether is there a ratingslog table created in your database?

    Sorry – probably very obvious, but: How do I do that?

    More code errors for you to check out. Got this when I reactivated the plugin and attempted to post rate anyway, hoping the error might disappear.

    WordPress database error:
    [Table 'xxxx_wrdp1.wp_ratinglogs' doesn't exist]
    SELECT rating_ip FROM wp_ratinglogs WHERE rating_postid = 18 AND rating_ip = '60.229.191.16'

    WordPress database error:
    [Table 'xxxx_wrdp1.wp_ratinglogs' doesn't exist]
    INSERT INTO wp_ratinglogs VALUES (0, 18, 5,'1139846425', '60.229.191.16', 'admin')

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxx/public_html/wp-includes/wp-db.php:98) in /home/xxx/public_html/wp-content/plugins/postratings/postratings.php on line 187

    Now, just to be absolutely sure – I uploaded your entire folder into my plugins folders and activated.

    I didn’t move postrating.php from your folder into the standard plugins section. Is this right?

    I’m having allmost the same problem Katie is having:

    WordPress database error: [Column count doesn’t match value count at row 1]
    INSERT INTO caro_ratinglogs VALUES (0, 99, 5,’1139812754′, ‘83.35.202.108’, ‘Guest’)

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxx/xxx/fst/var/www/html/wp-includes/wp-db.php:102) in /home/xxx/xxx/fst/var/www/html/wp-content/plugins/postratings/postratings.php on line 187

    great plugin

Viewing 15 replies - 31 through 45 (of 73 total)
  • The topic ‘New Plugin: WP-PostRatings’ is closed to new replies.