+ Reply to Thread
Results 1 to 3 of 3

Thread: [resolved] Errors

  1. Join Date
    Nov 2006
    Posts
    5

    [resolved] Errors

    I have recently changed domain names, and I'm getting errors in news/admin/index.php:
    Warning: session_start() [function.session-start]: open(/var/lib/php/session /vservers/artoonie/tmp/sess_35bfdbf91ba8b7dda036c09fdf50c40b, O_RDWR) failed: No such file or directory (2) in /vservers/artoonie/htdocs/news/admin/index.php on line 57

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /vservers/artoonie/htdocs/news/admin/index.php:57) in /vservers/artoonie/htdocs/news/admin/index.php on line 57

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /vservers/artoonie/htdocs/news/admin/index.php:57) in /vservers/artoonie/htdocs/news/admin/index.php on line 57

    Warning: EP_Dev_Forum_News_Admin::require_once(../config/config.php) [function.EP-Dev-Forum-News-Admin-require-once]: failed to open stream: Permission denied in /vservers/artoonie/htdocs/news/admin/index.php on line 70

    Fatal error: EP_Dev_Forum_News_Admin::require_once() [function.require]: Failed opening required '../config/config.php' (include_path='.:/usr/share/pear5') in /vservers/artoonie/htdocs/news/admin/index.php on line 70

    Warning: Unknown: open(/var/lib/php/session /vservers/artoonie/tmp/sess_35bfdbf91ba8b7dda036c09fdf50c40b, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session /vservers/artoonie/tmp) in Unknown on line 0
    I deleted the entire news folder, updated to 2.24, reuploaded, but i had the same errors as before.
    I kept the same database (with only the necessary updates).



    I a line in admin/index.php so I could have /news instead of /forum-news:
    Line 376 from:
    Code:
    $referrer = "http://" . $_SERVER['HTTP_HOST'] . str_replace("forum-news/admin/index.php" , "", $_SERVER['PHP_SELF']);
    to
    Code:
    $referrer = "http://" . $_SERVER['HTTP_HOST'] . str_replace("news/admin/index.php" , "", $_SERVER['PHP_SELF']);

    Any ideas?
    && thanks for such an awesome script

  2. Join Date
    Aug 2004
    Posts
    781

    Re: Errors

    This has to do with your new host (did you get a new host?) and their PHP sessions configuration. This is not a problem specific to this script. Ask your host for help in properly configuring your sessions for PHP.

    It looks like your session path is incorrect. This is a php setting specific to your web host.

  3. Join Date
    Nov 2006
    Posts
    5

    Re: Errors

    wow, thanks for the fast reply!
    I contacted my host.

    you rock!

    edit: They resolved most of my errors. Now i get:
    Warning: EP_Dev_Forum_News_Admin::require_once(../config/config.php) [function.EP-Dev-Forum-News-Admin-require-once]: failed to open stream: Permission denied in /vservers/artoonie/htdocs/news/admin/index.php on line 70

    Fatal error: EP_Dev_Forum_News_Admin::require_once() [function.require]: Failed opening required '../config/config.php' (include_path='.:/usr/share/pear5') in /vservers/artoonie/htdocs/news/admin/index.php on line 70
    line 70 is:
    require_once("../config/config.php");

    My permissions are set correctly.
    I appreciate your help

    edit, again:
    randomly started working o.O thanks!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts