• Hi, I love this plugin so much, and been using it for months at many of my blogs. Until recently i noticed that i got Fatal error: Call to undefined function cpd_geoip_open() in /home/xxxxx/public_html/wp-content/plugins/count-per-day/counter.php on line 135.
    When I logged into my dashboard, I can view my site properly. But when I logged out, my site is displaying Fatal error: Call to undefined function cpd_geoip_open() in /home/xxxxx/public_html/wp-content/plugins/count-per-day/counter.php on line 135
    I have tried to patch the geop file and the development version of this plugin mentioned in few threads, but unfortunately nothing work.Could someone help me with problems.
    Thanks

    http://wordpress.org/plugins/count-per-day/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tom Braider

    (@tom-braider)

    cpd_geoip_open() is defined in geoip/geoip.inc line 380. Check it.
    I can’t see this error. Logged in or logged out is all ok.

    Thread Starter jagonly

    (@jagonly)

    Hi, Tom, I’m sorry, I can’t understand your replay. Do you need a link to one of our blogs?

    Plugin Author Tom Braider

    (@tom-braider)

    Upload the plugin once again to be sure all files are up to date and on your server.
    The error looks like the file geoip/geoip.inc is corrupt or absent.

    Thread Starter jagonly

    (@jagonly)

    Hi Tom, I’m sorry for saying this, but your solution isn’t working. I’ve tried upload the plugin once again, and even trying to repair the table, but it isn’t working. It still made our site can’t be viewed by visitors beside the admin.

    Plugin Author Tom Braider

    (@tom-braider)

    Please activate the debug mode, load a page with this error and post the debug infos from the bottom of the page on pastebin.com. Maybe i can find something…

    Thread Starter jagonly

    (@jagonly)

    Hello Tom, I’m really sorry but I’m not really a tech savvy. I gooogled for how to activate debug mode in wordpress. Is this what I need to do to debug?
    “add the following code to my wp-config.php file.

    if ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘debug’)
    define(‘WP_DEBUG’, true);

    Once done, simply add a GET parameter to the url of the page I’d like to debug, like below:

    http://www.mydomain.com/contact?debug=debug”

    Is this what I have to do to activate the debug mode?

    The problem is my whole site pages and posts are showing Fatal error: Call to undefined function cpd_geoip_open() in /home/xxxxx/public_html/wp-content/plugins/count-per-day/counter.php on line 135

    in some sites “counter.php on line 132”
    Should I pick one page only like homepage or contact?
    Thanks

    Plugin Author Tom Braider

    (@tom-braider)

    CpD has its own “Debug mode”. See the settings, set the checkbox on Debug mode and save.
    After that open a post with the error and copy the debug infos from the bottom of the page to pastbin.com.
    Or go to tomsdimension.de/kontakt and send me the login data from the blog. Than i check it directly.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘I Got "Fatal error"’ is closed to new replies.