Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #241890

    Since my last thread was closed by the moderator: Here we go again.
    I have thousands of sessions files building up on sites that use the Enfold theme. When Enfold theme is active I get an error message since my /tmp folder is filled to the limit, no space left and the folder content have been set to delete on a regular basis by my web host. When I change to another theme, the error messages disappear.

    So my question is: Is Enfold to blame or is this a web host server setting gone rogue?

    • This topic was modified 10 years, 8 months ago by Björn Sennbrink. Reason: More info
    #243114

    Hello Björn,

    Have you tried disabling all third-party plugins to see if it gets fixed?

    Regards,
    Josue

    #243242

    Josue: A clean WP install with a fresh copy of Enfold will be used later this week. Feel free to close this thread, I will blog about the results instead.

    #243248

    Hi!

    This is the first I’ve ever come across something like it so from the basic description you’ve given my guess would be either a plugin or a host setting. On my company dev server I’ve not had any issues and its been running various versions of the theme since its release.

    Tweet Kriesi a link to your blog post or post it here and we can take a look deeper based on the additional information. Or if you have more information we can see you can post it here as a private reply.

    Best regards,
    Devin

    #243262

    The error messages that was shown point to row 33 in avia-shortcodes/masonry_entries.php and there is a start_session() feature, in the function extra_assets. Like I said, more testing is required.

    #244251

    Hi!

    Enfold creates a session for each website visitor to store the breadcrumb structure. Otherwise we wouldn’t be able to generate proper breadcrumbs for portfolio and masonry grids. No other user complained about a “session” limit yet and I know the theme runs on websites with several thousand visitors each day. If you want to remove the session open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and delete

    
    if(!is_admin() && !session_id()) session_start();
    

    Alternatively you can try to contact your hoster and ask them to tweak the server configuration (i.e. make sure sessions are deleted after 24h or increase the tmp data limit).

    Regards,
    Peter

    #244270

    Thanks Dude, that was the support answer I was looking for. As for the host, the tmp folder has been increased in size.

    #244328

    I can add to this that I admin Enfold powered sites on other hosts without any issues. Thanks to your description on what it is in the theme that initiate sessions I can make more informed business decisions, keep on recommending the Enfold theme etc.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold to blame for thousands of session files in tmp?’ is closed to new replies.