WordPress.org

Forums

Count per Day
Count Per Day with PHP 5.2 (7 posts)

  1. billwynne
    Member
    Posted 3 years ago #

    I just had GoDaddy move my wp blogs to a new grid server to increase the load speed of my blogs. It went well and the sites are loading faster but I am getting one error on all the blogs that moved with the CPD plugin.
    The guys at GoDaddy suggested it was due to the upgrade to the newest PHP 5.2.

    Ideas?

    Here is what the error looks like:
    Warning: session_start() [function.session-start]: open(/var/chroot/home/content/15/5297815/tmp/sess_pk8jp8c7sg8fcp82iqf6doafv7, O_RDWR) failed: No such file or directory (2) in /home/content/15/5297815/html/wp-content/plugins/count-per-day/counter.php on line 160

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/15/5297815/html/wp-content/plugins/count-per-day/counter.php:160) in /home/content/15/5297815/html/wp-content/plugins/count-per-day/counter.php on line 160

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

  2. Tom Braider
    Member
    Plugin Author

    Posted 3 years ago #

    I just use the session to store one path valiable. It's real PHP and works in PHP 5.3 too.
    I start the session in line 160 only if no session_id().
    After that your cache system? seems to want to start the session new. Maybe you can clean the cache?

  3. billwynne
    Member
    Posted 3 years ago #

    I tried cleaning the WP cache but it did not work, that is the cache that you are referring to? I am only having this issue with the new hosting with GoDaddy. I love the plugin and am willing to move the site to my HostGator hosting just to keep it...

  4. Tom Braider
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry, i can't reproduce this error.
    Could you empty the tmp directory /var/chroot/home/content/15/5297815/tmp/ to delete the sess_... files?

  5. billwynne
    Member
    Posted 3 years ago #

    Tom,
    I have not worked with MySQL at this level. Can you point me to a reference that will explain how to go in and do that?

  6. Tom Braider
    Member
    Plugin Author

    Posted 3 years ago #

    It's not MySQL or PHP, just go per FTP to the directory /var/chroot/home/content/15/5297815/tmp/.
    "tmp" should be next to "html" with your website files. I don't know if you have the permissions to delete files in tmp, but you can try it.

  7. billwynne
    Member
    Posted 3 years ago #

    I don't have access to those folders and they won't help me out. GoDaddy is relatively lame. Looks like I will have to move my sites if I want to keep using your plugin.

    Thanks for your prompt and helpful comments Tom.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Count per Day
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic