Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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, 7 months ago by blaker19.
    #271523

    Have 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.

    #271603

    Hi!

    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,
    Ismael

    #271660

    Hey!

    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,
    Peter

    #271857

    I 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

    #272012

    As 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.

    #272264

    Hi!

    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!
    Peter

    #272341

    Hi,
    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
    LC

    #272961

    Hi!

    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,
    Peter

    #295097
    This reply has been marked as private.
    #296190

    Hey!

    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

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.