WordPress.org

Ready to get started?Download WordPress

Forums

Good Grief Charlie Brown! (12 posts)

  1. ODB
    Member
    Posted 7 years ago #

    I have downloaded, extracted and ftp'd several themes to my domain/site(wp-content/themes). However, they do not appear "presentations".

    What seems like something simple is becoming very frustrating.

    *Note - I have not ftp'd "double folders". For example, the path of my most recent attempt to install a new template is:

    public_html/wp/wp-content/themes/wave

    So . . .

    Any suggestions? I would really like to get the ball rolling.

  2. Chris_K
    Member
    Posted 7 years ago #

    So, in your example above:
    public_html/wp/wp-content/themes/wave

    style.css is right there in the /wave directory?

    Are the permissions set so that your web server process can "see" the theme files?

  3. ODB
    Member
    Posted 7 years ago #

    So, in your example above:
    public_html/wp/wp-content/themes/wave

    style.css is right there in the /wave directory?

    Are the permissions set so that your web server process can "see" the theme files?

    Yes the css is in the wave directory.

    I am not sure if the permissions are set correctly. How should the permissions be set?

  4. cwhoss
    Member
    Posted 7 years ago #

    Same problem as ODB (FYI- site is on a private network). Classic and default show up fine, and I can switch between those 2 themes even if I rename one of them (ex. mv default test), and clear my browser cache. That tells me those themes are probably hard-coded somewhere. Where is that information coming from, and what is my next debug step?

    [root@arthritix themes]# ls -la
    total 56
    drwxr-xr-x 7 root root 4096 Apr 25 21:31 .
    drwxr-xr-x 4 root root 4096 Apr 25 21:27 ..
    drwxr-xr-x 3 root root 4096 Apr 25 20:37 abacus-10
    drwxr-xr-x 2 root root 4096 Apr 2 19:34 classic
    drwxr-xr-x 3 root root 4096 Apr 2 19:34 default
    [root@arthritix classic]# ls -la
    total 96
    drwxr-xr-x 2 root root 4096 Apr 2 19:34 .
    drwxr-xr-x 7 root root 4096 Apr 25 21:31 ..
    -rw-r--r-- 1 root root 3305 Nov 19 01:56 comments.php
    -rw-r--r-- 1 root root 4721 Dec 21 04:10 comments-popup.php
    -rw-r--r-- 1 root root 419 Nov 16 2005 footer.php
    -rw-r--r-- 1 root root 1312 Jan 16 18:01 header.php
    -rw-r--r-- 1 root root 980 Nov 19 01:56 index.php
    -rw-r--r-- 1 root root 8412 Aug 7 2005 screenshot.png
    -rw-r--r-- 1 root root 1670 Jan 17 21:40 sidebar.php
    -rw-r--r-- 1 root root 4851 Jan 24 2005 style.css
    [root@arthritix ocadia]# ls -la
    total 164
    drwxr-xr-x 3 root root 4096 Apr 25 21:29 .
    drwxr-xr-x 7 root root 4096 Apr 25 21:31 ..
    -rw-r--r-- 1 root root 236 Apr 25 21:29 404.php
    -rw-r--r-- 1 root root 3933 Apr 25 21:29 comments.php
    -rw-r--r-- 1 root root 722 Apr 25 21:29 footer.php
    -rw-r--r-- 1 root root 1379 Apr 25 21:29 functions.php
    -rw-r--r-- 1 root root 1354 Apr 25 21:29 header.php
    drwxr-xr-x 2 root root 4096 Apr 25 21:29 images
    -rw-r--r-- 1 root root 1637 Apr 25 21:29 index.php
    -rw-r--r-- 1 root root 387 Apr 25 21:29 page.php
    -rw-r--r-- 1 root root 21862 Apr 25 21:29 screenshot.png
    -rw-r--r-- 1 root root 260 Apr 25 21:29 searchform.php
    -rw-r--r-- 1 root root 1551 Apr 25 21:29 sidebar.php
    -rw-r--r-- 1 root root 1207 Apr 25 21:29 single.php
    -rw-r--r-- 1 root root 6192 Apr 25 21:29 style.css
    -rw-r--r-- 1 root root 15728 Apr 25 21:29 themetoolkit.php

  5. ODB
    Member
    Posted 7 years ago #

    Following up, all of the files are set as: rw-r-r

    So . . .

    I just don't get it.

    Anybody willing to take a peek or have any other suggestions?

  6. Chris_K
    Member
    Posted 7 years ago #

    ODB - who owns the files?

    CWHOSS - nope, those themes aren't hardcoded somewhere.

    This'll sound silly... but do you have multiple installs? Perhaps putting the theme in a blog you're not looking at?

  7. Jonathan Landrum
    Member
    Posted 7 years ago #

    It's a long shot, but maybe you need to re-upload the files, perhaps using a different method. I had a theme that just wouldn't upload properly. Down at the bottom of my themes page there was a section called Broken Themes (or something like that) and this theme was listed there. Yes, it had a stylesheet, and yes, it had the proper header data in it. But during the transfer some bits got misplaced. I would try downloading a new version of the theme and starting over.

  8. whooami
    Member
    Posted 7 years ago #

    Actually, handy, the default theme IS hardcoded into WordPress:

    wp-includes/comment-template.php:

    define('COMMENTS_TEMPLATE', true);
    	$include = apply_filters('comments_template', TEMPLATEPATH . $file );
    	if ( file_exists( $include ) )
    		require( $include );
    	else
    require( ABSPATH . 'wp-content/themes/default/comments.php');

    wp-includes/general-template.php:

    function get_header() {
    	do_action( 'get_header' );
    	if ( file_exists( TEMPLATEPATH . '/header.php') )
    		load_template( TEMPLATEPATH . '/header.php');
    	else
    load_template( ABSPATH . 'wp-content/themes/default/header.php');
    }
    function get_footer() {
    	do_action( 'get_footer' );
    	if ( file_exists( TEMPLATEPATH . '/footer.php') )
    		load_template( TEMPLATEPATH . '/footer.php');
    	else
    load_template( ABSPATH . 'wp-content/themes/default/footer.php');
    }
    function get_sidebar() {
    	if ( file_exists( TEMPLATEPATH . '/sidebar.php') )
    		load_template( TEMPLATEPATH . '/sidebar.php');
    	else
    load_template( ABSPATH . 'wp-content/themes/default/sidebar.php');
    }
  9. rubies
    Member
    Posted 7 years ago #

    Hi I am having the same problem with it saying:
    Broken Themes The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Stylesheet is missing.

    I am a novice so I don't understand some of the jargon, but can normally work most things out by trial and error, I have re-installed them 4 times and still no change...any layman help would be really appreciated.
    Thanks
    Ruby

  10. rubies
    Member
    Posted 7 years ago #

    Hi again
    I'm glad no has gone to the trouble of replying yet, I have worked it out. I was using "CrossFTP" to upload the files. I just tried the FTP client in my Hosting Manager and it has worked fine :)

    Ruby

  11. Chris_K
    Member
    Posted 7 years ago #

    Whooami - true, but just as a fallback in the event other theme bits aren't found. :-)

    I didn't think that applied to this scenario, but I'm willing to be wrong.

    Rubies - sometimes free volunteer support takes more than an hour. Glad you got it sorted.

  12. cwhoss
    Member
    Posted 7 years ago #

    I appreciate all the comments, and my apologies for waiting so long to respond, but I was out-of-pocket... solved the problem, sort of. The first time I downloaded the themes to my Windows XP laptop, unzipped them there, and used putty to copy the folder to my linux box/themes directory. This time I used the links browser (no GUI on my Linux box - running pretty barebones)to download the themes directly, unzipped them (unzip themename.zip) in the themes directory, refreshed and they showed up under site admin just fine. An interesting side note is that before I unzipped the theme I renamed the other so I could run a diff -a afterwords. Nothing.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags