• When I tried to edit my sidebar.php and save changes, it gives me the below error? Can anyone help me please?

    And the sidebar.php in my dashboard looks nothing like my actual sidebar.php on my site. Does anyone know why?

    Warning: fopen(C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs/wp-content/themes/fjords04-10/sidebar.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs\wp-admin\theme-editor.php on line 44

    Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs\wp-admin\theme-editor.php on line 45

    Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs\wp-admin\theme-editor.php on line 46

    Warning: Cannot modify header information – headers already sent by (output started at C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs\wp-admin\theme-editor.php:44) in C:\Inetpub\vhosts\saltypaws.co.uk\httpdocs\wp-admin\theme-editor.php on line 55

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your theme’s sidebar.php and the admin sidebar.php are 2 completely different files.
    The theme’s sidebar.php is what your visitors see on your site and likely what you want to work with.
    The admin sidebar.php is for the dashboard only and shouldn’t be messed with unless you really know what you’re doing.

    Thread Starter magcrossin

    (@magcrossin)

    Thanks, but I wasn’t confused about that. When I said dashboard sidebar.php, I meant the one in my theme under presentaions/theme editor. Any ideas?

    Thread Starter magcrossin

    (@magcrossin)

    Dashboard sidebar.php:

    [moderated code pasted at https://wordpress.pastebin.ca/570208 ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dash board Sidebar.php’ is closed to new replies.