Tagged: php
-
AuthorPosts
-
March 24, 2014 at 1:02 am #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, 9 months ago by Björn Sennbrink. Reason: More info
March 26, 2014 at 3:37 am #243114Hello Björn,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueMarch 26, 2014 at 10:25 am #243242Josue: 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.
March 26, 2014 at 10:39 am #243248Hi!
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,
DevinMarch 26, 2014 at 11:01 am #243262The 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.
March 28, 2014 at 9:05 am #244251Hi!
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,
PeterMarch 28, 2014 at 10:01 am #244270Thanks Dude, that was the support answer I was looking for. As for the host, the tmp folder has been increased in size.
March 28, 2014 at 1:23 pm #244328I 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.
-
AuthorPosts
- The topic ‘Enfold to blame for thousands of session files in tmp?’ is closed to new replies.