• I got this message on the top of mye page. Not sure why and I did not do anything before this happened. I can’t even log in to the admin page. It seems like it has something to do with the theme I am using. I tried to upload the theme again but without any changes.
    Can anyone help me?

    This is the warning on the top of the page:

    Warning: session_start(): open(/tmp/sess_255752c79e491e7bab25d5b337004735, O_RDWR) failed: Read-only file system (30) in /home/scream/domains/screammagazine.com/public_html/scream2017/wp-content/themes/sport/functions.php on line 20

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/scream/domains/screammagazine.com/public_html/scream2017/wp-content/themes/sport/functions.php:20) in /home/scream/domains/screammagazine.com/public_html/scream2017/wp-content/themes/sport/functions.php on line 20

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • siddhartha

    (@siddhartha10jun)

    Hey @runarpettersen,

    This is an issues from your functions.php file line number 20 can you tell me whats code write at line no. 20?

    Thread Starter runarpettersen

    (@runarpettersen)

    Well, it’s just this one:

    session_start();

    If I show you the complete section with codes fra line 19 to 26 maybe it’s more helpful:

    if (!session_id()) {
    session_start();
    }
    if (!include_once (get_template_directory().”/inc/library.php”) )wp_die(“Cannot include file /inc/library.php.”);
    $settingsfile=’settings’;
    $defparamsfile=”defaults”;
    $default=’global|slider|layout|seo|translations’;

    Take a screen shot its easier and you can see the line numbers. I would guess you have no endif;

    Thread Starter runarpettersen

    (@runarpettersen)

    Here is a screenshots of the codes in the file. Hope it helps:

    View post on imgur.com

    Thread Starter runarpettersen

    (@runarpettersen)

    Anybody?

    At least is it possible to change the theme without login in? Since I can’t log in at the admin section.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning message on the top of my page’ is closed to new replies.