Home / Forums / ePix Support / Warning: session_start()

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts

  • Roger
    Participant

    Just installed this theme and am getting the following error:

    Warning: session_start() [function.session-start]: open(/tmp/sess_ea98101323c00536f67893394e38b1f3, O_RDWR) failed: Permission denied (13) in /home/photonew/public_html/wp-content/themes/ePix/functions.php on line 1

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/photonew/public_html/wp-content/themes/ePix/functions.php:1) in /home/photonew/public_html/wp-content/themes/ePix/functions.php on line 1

    The link is http://198.57.205.249/~photonew/. (seems to be just a firefox issue)

    Thank you!


    Tom ( Support)
    Keymaster

    Hi Roger,

    Where exactly are you getting these errors from? I am testing your site in firefox with no errors present. It looks like your server may not have permission to access the function.php file. I recommend logging into your site via FTP and double checking the folder permission to see if they are all the files are set to 0644 and the folders 0755.

    Kind regards,
    Tom


    Roger
    Participant

    Thank you for your response.

    I changed the permission, but it’s still not working.

    When I view the page, it looks like the following:
    http://198.57.205.249/~photonew/wp-content/uploads/2014/02/1.jpg

    When I go to the login page, it looks like this:
    http://198.57.205.249/~photonew/wp-content/uploads/2014/02/2.jpg

    When I login, it looks like this:
    http://198.57.205.249/~photonew/wp-content/uploads/2014/02/3.jpg

    Again, it seems to only be a firefox issue.

    Not sure what to do here!

    Thanks!!


    Tom ( Support)
    Keymaster

    Hi,

    Please try the following.

    You will need to remove a line of code as your hosting does not support session variables. This will be removed in the next version of ePix.

    Locate the file functions.php under ePix/functions.php

    Remove only this line of code: if (!is_admin()) if(!session_id()) session_start();
    Save and re-upload

    DO NOT remove the initial <?php or this will destroy your site.

    Kind regards,
    Tom


    Roger
    Participant

    That worked like a charm!! Thank you so much for your help!


    Tom ( Support)
    Keymaster

    Thats great, thank you for coming back to us.

    If you are happy with the theme, please take a second to rate the theme 5 stars here.

    Much appreciated 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.