Info
- 21 posts
- 7 voices
- Started 2 years ago by piedpiper21
- Latest reply from piedpiper21
- This topic is resolved
Can't enable user themes
-
- Posted 2 years ago #
Themes in the my-templates directory don't seem to be applied correctly. They can be read but the thumbnail shows a blank image. When I apply, the forum works, but without any graphic element whatsoever. Looks as though it's coded in html with the Times font.
-
- Posted 2 years ago #
Trying switching to the built in kakumei and then back to your theme.
Make sure each of your themes is in it's own directory under my-templates
ie.my-templates/kakumei/Make sure ALL the files are in that kakumei directory.
If all that fails, do a "view source" on your page and look for the line like:
<link rel="stylesheet" href=" blah
and see where it is trying to load the stylesheet from. -
- Posted 2 years ago #
Okay, I've triple checked everything.
<link rel="stylesheet" href="http://roadtoanimation.com/forums/my-templates/kakumei/style.css" type="text/css" />It's linking to the desired file. And that file exists in the required directory. Still no results. Am I missing something here?
And _ck_ thank you for all your help today. I admire your dedication.
-
- Posted 2 years ago #
That file is not there like you think it is:
http://roadtoanimation.com/forums/my-templates/kakumei/style.css
It's a 404.But it might be wordpress interfering with the forums directory since WP is in your webroot.
Strange that it would happen with a static file though.Triple check that you have
/forums/my-templates/kakumei/style.css
via FTP, make absolutely sure it's there.If it is indeed there, download your
.htaccessfile in your top directory (where WP is) and post it here. -
- Posted 2 years ago #
Yep, it's there. Here's my .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
-
- Posted 2 years ago #
I believe wordpress is trying to process the request because you have bbPress nested underneath WordPress which is a less common method of integration.
Try changing that .htaccess to this
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^forums/ RewriteRule . /index.php [L] </IfModule> # END WordPress
Not quite sure I have that right but give it a go and let's see.
If it doesn't work try replacing theforums/line with this one:
RewriteCond %{REQUEST_URI} !^forums/ -
- Posted 2 years ago #
I'm sorry to keep asking but are you 1000% sure you don't have a typo in the directory name?
Because this one works:
http://roadtoanimation.com/forums/bb-templates/kakumei/style.css
and I don't see why this wouldn't, unless it's a typo on your ftp:
http://roadtoanimation.com/forums/my-templates/kakumei/style.cssIs style.css spelled correctly in the filename in the ftp?
Then again the embedded url is generated from the directory it's in, so in theory, even with a typo it would still work. So we are back to looking at htaccess since I am out of other ideas.
-
- Posted 2 years ago #
Nope, no luck either way.
-
- Posted 2 years ago #
Well, why can't I just use the core folder for my themes?
-
- Posted 2 years ago #
Can that work? Two themes named kakumei? I'd be inclined to rename the my-templates one to 'piedkakumei' or something.
-
- Posted 2 years ago #
You can rename the sub-folder anything you want and yes you can even put it into
bb-templatesthough that's not how it's supposed to be done.It's just a bad sign that
my-templatesdoesn't work and very mysterious.
There might be something else going on like multiviews interfering. -
- Posted 2 years ago #
I see. Well, alright, you mentioned that having bbpress nested underneath wordpress is a less common method of installation. How should I go about reinstalling it in the usual manner?
-
- Posted 2 years ago #
It's less common but it's not invalid at all. There are many installs that do it.
To just move forward so you can work on other things I would simply try putting the copy of kakumei under bb-templates and see if even that works. Name it maybe
mykakumeifor example. -
- Posted 2 years ago #
Try chmodding it to 755 and see if it works then....
-
- Posted 2 years ago #
Gautam: How would I do that?
ck: Alright, as of now, I'm running the modified kakumei theme from my bb-templates folder. I have a backup of the original files in the my-templates folder. Are there any potential issues I need to be aware of before proceeding like this?
I suppose I'll devote more time to solving this after I've customised this theme to my liking and can apply it to another. -
- Posted 2 years ago #
Looks like you are still using the default kakumei theme in bb-templates/kakumei.
As well as renaming your modified template in my-templates/ have you edited that themes style.css to reflect the new name? then selected that new name in your admin/themes selection? -
- Posted 2 years ago #
These folders do not exist:
http://roadtoanimation.com/forums/my-plugins/
http://roadtoanimation.com/forums/my-templates/These do:
http://roadtoanimation.com/forums/bb-plugins/
http://roadtoanimation.com/forums/bb-templates/(BTW, you should turn off directory indexes by putting this in your .htaccess:
Options -Indexes)Since that server appears to be running Apache/Linux, the directory names are case sensitive. Are you sure they're lowercase? Also, using hyphens, not underscores? Can you take a screenshot of the directory listing, using a shell or FTP, and post a link to that? Or, find someone local who you trust that can log in and check this out for you.
-
- Posted 2 years ago #
Okay, here's a screenshot of my forums directory
http://roadtoanimation.com/wp-content/uploads/2009/07/FOLDERS.jpg -
- Posted 2 years ago #
I don't know why I didn't think of it but Gautam is absolutely right.
Try chmod 755 on your my-templates and my-plugins folders.
They are currently at 750 as you can see in your screenshot. -
- Posted 2 years ago #
Here are some instructions on how to change your file permissions using an FTP client:
http://codex.wordpress.org/Changing_File_Permissions#Using_an_FTP_Client -
- Posted 2 years ago #
Yep, that's it. The permission mode was the error.
Thanks! -
You must log in to post.