WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Count per Day] Count Per Day with PHP 5.2

[Plugin: Count per Day] Count Per Day with PHP 5.2

  • billwynne
    Member

    @billwynne

    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/

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

    @tom-braider

    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?

    billwynne
    Member

    @billwynne

    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…

    Plugin Author Tom Braider
    Participant

    @tom-braider

    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?

    billwynne
    Member

    @billwynne

    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?

    Plugin Author Tom Braider
    Participant

    @tom-braider

    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.

    billwynne
    Member

    @billwynne

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Count per Day] Count Per Day with PHP 5.2’ is closed to new replies.