-
AuthorPosts
-
May 28, 2014 at 10:22 pm #271453
These are the errors:
Warning: session_start(): open(/tmp/sess_08283c07860eed9fb2c1f92bfe7a0bf9, O_RDWR) failed: Permission denied (13) in /home/coobom/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/coobom/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php:33) in /home/coobom/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
This is what is happening. I have about 6 new WordPress sites made over the past 2 months. Some use templates made by the same creator others are from completely different creators yet all have the same issue. I only have one site right now using your enfold template but it is having same issues when used on the same server with there other sites. Errors only occurs when you open more than 1 of the wordpress sites on my server on a single browser. So the first will be fine but the second will display the error. If you completely shut down your browser and open them in the other order, the other will then have the error.
Another topic here with similar php error issue was given this advice
“Please ask your host. You should have space in your /tmp directory, and with the correct permissions. If you don’t know anything about it please contact your hosting support.”
I did that and hosting support said
“The /tmp directory on the server is not full, and has correct permissions as you can see from this output:”
root@host [~]# stat /tmp
File: `/tmp’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 700h/1792d Inode: 2 Links: 4
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-05-28 11:06:12.000000000 -0400
Modify: 2014-05-28 16:08:27.000000000 -0400
Change: 2014-05-28 16:08:27.000000000 -0400
root@host [~]#- This topic was modified 10 years, 6 months ago by blaker19.
May 29, 2014 at 12:09 am #271523Have some more information
There is something in common between these two wordpress sites that is writing the session file causing the issue. Upon replicating this issue on both sites, I got slightly different errors however the file that is referenced in both cases is “/tmp/sess_a7467dcbf6594d2b841dccbfe3e710ca, O_RDWR”. This means that two sites are attempting to use the same session file, which will cause these issues.
May 29, 2014 at 4:16 am #271603Hi!
Thank you for using the theme.
I’m sorry but we’re really not sure of the problem. Do you have Enfold on both sites? Have you tried deleting the session file on the tmp directory?
Best regards,
IsmaelMay 29, 2014 at 8:01 am #271660Hey!
Unfortunately I can’t tell you how to fix the session error – this is definitely something which needs to be fixed by the server administrator/host. We just use the session_id() function: http://www.php.net/manual/en/function.session-id.php to check if a session exists and if not we call the session_start() function http://www.php.net/manual/en/function.session-start.php to create a new session. Everything else is handled by php on your server and our code can’t change/affect the session processing. The only “solution” would be to deactivate the theme session completely but this may break the breadcrumb. If you want to deactivate the session insert this code into your child theme functions.php file:
add_theme_support('avia_no_session_support');
Regards,
PeterMay 29, 2014 at 4:41 pm #271857I will relay the information you given me so far to my hosting support and see if this helps them pinpoint the problem.
Ismael, They are 2 completely different themes. One is your Enfold and the other is called Vellum. If I open the sites in the other order. Opening first your Enfold and then the site with vellum I get this error for Vellum site that is similar but not exactly the same
Warning: session_start(): open(/tmp/sess_c80834bad8986f5fa720604a9e294d8d, O_RDWR) failed: Permission denied (13) in /home/locatesy/public_html/dev/wp-content/themes/parallelus-vellum/extensions/contact-fields/inc/functions.php on line 3
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/locatesy/public_html/dev/wp-content/themes/parallelus-vellum/extensions/contact-fields/inc/functions.php:3) in /home/locatesy/public_html/dev/wp-content/themes/parallelus-vellum/extensions/contact-fields/inc/functions.php on line 3
May 29, 2014 at 8:51 pm #272012As a test I installed 2 temporary wordpress with enfold themes on another server and they work perfectly. So it appears to be my new server that is the problem.
You may not know but I thought I would ask about one other thing. These WordPress sites on the new server do not yet have a propagated domain name because they are not ready yet. So thy are accessed through an ip number /~account name. That is the only other difference I can think of. I was wondering if this might be causing the problem.
May 30, 2014 at 7:29 am #272264Hi!
No, I don’t think that’s the cause of the problem but your best bet is to contact the host/server administrator. They know the server configuration and limitations better than we do and can give you a precise answer.
Cheers!
PeterMay 30, 2014 at 11:51 am #272341Hi,
I already updated WordPress to 3.9.1, all the plugins and the enfold theme, but I’ve got this error:Warning: session_start(): open(D:\Temp\php\session\\sess_jvhkbq1h9mv227ggf57icnemp0, O_RDWR) failed: No such file or directory (2) in D:\Hosting\10716695\html\berenice\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\masonry_entries.php on line 33
I didn’t modify theme files. It seems to me that is adding a double \\. How can I fix it?
Thanks
LCJune 1, 2014 at 5:03 pm #272961Hi!
Please contact the host provider/administrator. The session folder needs to be configured on the server and we can’t change or fix this with our theme files. Also see https://kriesi.at/support/topic/error-issues-with-masonry_entries-php-on-line-33/#post-271660 for more details.
Best regards,
PeterJuly 23, 2014 at 7:45 pm #295097This reply has been marked as private.July 26, 2014 at 10:40 am #296190Hey!
You can either deactivate the sessions: https://kriesi.at/support/topic/error-issues-with-masonry_entries-php-on-line-33/#post-271660 or contact the server administrator and ask him to fix the sessions configuration.
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.