• jaymax

    (@jaymax)


    I cannot find an exact solution to this problem in the forum.
    Whenever I attempt to save the permalink page, default mode, without any customization I get the following set of error messages and can’t figure out what is wrong.

    Warning: file(/home/hostname/public_html/.htaccess): failed to open stream: Permission denied in /home/hostname/public_html/wp-admin/includes/misc.php on line 74

    Warning: implode(): Invalid arguments passed in /home/hostname/public_html/wp-admin/includes/misc.php on line 74

    Warning: Cannot modify header information - headers already sent by (output started at /home/hostname/public_html/wp-admin/includes/misc.php:74) in /home/hostname/public_html/wp-includes/pluggable.php on line 1195

    The server is running on shared host with a linux O/S

    Any helpnwould be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Farhan Noor

    (@farhannoor)

    Hi Jaymax,

    Make sure your hosting provider allows you to edit files using PHP script. Discuss this matter with your hosting support. It seems to be a permissions issue.

    Farhan.

    Thread Starter jaymax

    (@jaymax)

    I can edit the file, line 74 is
    ‘if ( $markerdata = explode( “\n”, implode( ”, file( $filename ) ) ));’
    the file permission is 0644
    I changed it to 0744

    Thread Starter jaymax

    (@jaymax)

    I forgot to mention that this made no difference –
    Should I have made it 754 instead?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Default Permalink set up issue’ is closed to new replies.