WordPress.org

Support

Support » Plugins and Hacks » Slickr Flickr » [Resolved] [Plugin: Slickr Flickr] Fatal error: Uncaught exception 'Exception' with message 'Co

[Resolved] [Plugin: Slickr Flickr] Fatal error: Uncaught exception 'Exception' with message 'Co

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Russell Jamieson

    @powerblogservice

    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?

    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

    Plugin Author Russell Jamieson

    @powerblogservice

    Thanks for the update.
    Russell

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Slickr Flickr] Fatal error: Uncaught exception 'Exception' with message 'Co’ is closed to new replies.
Skip to toolbar