• I have had some trouble where the plugins and themes backend pages are displaying raw code (html and php).
    The only thing that I may have done was run chmod -R g+w on the root after wordpress was installed.
    I have been checking the permissions. With what little bit I understand they seem to match a correctly functioning theme (I reinstalled the theme and it works).

    See a screenshot here.

Viewing 1 replies (of 1 total)
  • It looks like you may be missing the beginning or ending comment marker at the top of file style.css in your theme folder. It should look like this (This is coding from the default theme – yours will be different.) The point is the comments being with
    /*
    and end with
    */

    /*
    Theme Name: WordPress Default
    Theme URI: http://wordpress.org/
    Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
    Version: 1.6
    Author: Michael Heilemann
    Author URI: http://binarybonsai.com/
    Tags: blue, custom header, fixed width, two columns, widgets
    
    	Kubrick v1.5
    	 http://binarybonsai.com/kubrick/
    
    	This theme was designed and built by Michael Heilemann,
    	whose blog you will find at http://binarybonsai.com/
    
    	The CSS, XHTML and design is released under GPL:
    	http://www.opensource.org/licenses/gpl-license.php
    
    */
    
    /* Begin Typography & Colors */
    body {
    	font-size: 62.5%; /* Resets 1em to 10px */
    	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	background: #d5d6d7 url('images/kubrickbgcolor.jpg');
    	color: #333;
    	text-align: center;
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘Backend displaying unformatted code’ is closed to new replies.