WordPress.org

Ready to get started?Download WordPress

Forums

Slickr Flickr
[resolved] Fatal error: Uncaught exception 'Exception' with message 'Co (4 posts)

  1. cdanni
    Member
    Posted 1 year ago #

    I've recently inherited a site that is running v1.42 of Slikr Flickr and I'm finding an error in my logs that I'm having trouble debugging. The errors are as follows (with site information removed):

    [08-Oct-2012 02:56:12 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'Connection closed' in /wp-content/plugins/slickr-flickr/phpFlickr.php:19
    Stack trace:
    #0 /wp-content/plugins/slickr-flickr/phpFlickr.php(19): session_start()
    #1 /wp-content/plugins/slickr-flickr/slickr-flickr-feed.php(4): require_once('/mnt/stor12-wc2...')
    #2 /wp-content/plugins/slickr-flickr/slickr-flickr-public.php(52): require_once('/mnt/stor12-wc2...')
    #3 /wp-content/plugins/slickr-flickr/slickr-flickr.php(140): require_once('/mnt/stor12-wc2...')
    #4 /wp-settings.php(196): include_once('/mnt/stor12-wc2...')
    #5 /wp-c in /wp-content/plugins/slickr-flickr/phpFlickr.php on line 19

    Any suggestions on how to handle this? The ('/mnt/stor12-wc2...') is exactly as printed out by the error logs, along with #5 '/wp-c in'

    I am assuming it has something to do with sessions as the line that starts it all is @session_start (line 19 in phpFlickr.php) but I really am not sure what might need to be changed in my environment. Any information or suggestions would be greatly appreciated.

    http://wordpress.org/extend/plugins/slickr-flickr/

  2. Russell Jamieson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I have not seen this before - as you indicated it seems to be a general problem with session handling - the line that is failing is @session_start()

    There is a similar problem described here: https://github.com/nicolasff/phpredis/issues/184

    Do you have any special session handling in your php.ini file?

    Look for a line such as session.save_handler=... or session.save_path=...

    Sessions in PHP are handled through cookies so maybe if your server can't write to the tmp folder where it keeps the cookies then maybe it can't start the session?

  3. cdanni
    Member
    Posted 1 year ago #

    Russel, thanks for the link. I talked to our host and reviewed the issue with them and the link and they suggested creating a sessions folder and making a couple of additions to .htaccess. Doing so seems to have eliminated this particular issue. Noting it here in case it may help someone else.

    # BEGIN Session Handling
    php_value session.save_path /myserverpath/web/sessions
    php_value session.save_handler files
    # END Session Handling

  4. Russell Jamieson
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the update.
    Russell

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.