I've tried to update my theme as I have a big code mistake but does not take over the changes, neither am I able to edit the code in theme editor or to activate new themes.
Any hints are appreciated :) Thanks in advance.
I've tried to update my theme as I have a big code mistake but does not take over the changes, neither am I able to edit the code in theme editor or to activate new themes.
Any hints are appreciated :) Thanks in advance.
Where are you editing it, then? The back end and uploading via FTP?
Are you sure you're editing the right theme, too?
and are you using a caching plugin?
Silly question, but you are using multisite, yes? If so, are the themes network activated, or activated for the site in question?
I use multiuser, yes. My theme is activated, but when I edit the source file in wp-content/themes/dummy the changes are not visible in the theme editor neither are they on the website. I do not use any caching plugins and did not find any hint, that wordpress has a caching engine of its own.
2nd: When uploading a new theme to the themes-dir, I am not able to activate it through the "Network Themes"-tab. Maybe there were some significant changes on the theme structure as this one is quite minimal using just one php and one css?
forgot to mention: I do use ftp upload to edit. And the right file is on the server, when I download it again its the edit!
And: I didnt know there is a difference between theme activation on different pages? I thought you can only generally allow themes to ever site?
Is it a child theme of another theme?
2nd: When uploading a new theme to the themes-dir, I am not able to activate it through the "Network Themes"-tab.
that does not activate theme themes - it *enables* it for use on the sub sites.
you must then go to a subsite and visit the Appearance menu and activate the theme so it shows on the front side of that blog.
Maybe there were some significant changes on the theme structure as this one is quite minimal using just one php and one css?
Go test it on a single install.
@Ipstenu: I rewrote it from scratch
@Andrea: Ok, yes I enabled it for the network and activated it on the subsite, but when I upload the updated version of the page, wordpress does not take over the code.
Single Install is working flawlessly
--
As far as I can see its not a problem of the code, but of the installation, which does not re-read the theme folder and the themes... I simply don't know why it does not.
Insofar as that goes, MultiSite and SingleSite read theme folders exactly the same way.
I rewrote it from scratch
Just because I've done this... You don't happen to have TWO themes with the same name via style.css do you?
nope... just looked that up
Rewinding to this...
neither am I able to edit the code in theme editor or to activate new themes.
The theme editor won't work unless the files are 755 or 777 (I forget which, I never use it).
Activating new themes, though... What error are you getting to that? I'm wondering if it's all related...
theme files are 777, which allows rw-Access to everybody on the server, I assume (and the wordpress manual is telling the same thing) that should be enough.
I don't get any error an activation, they are just not visible... Since theme changes are happening on the same folder... I think it's related.
edit:// btw thanks for your help I really appreciate that, I was busy the last days because of university.
Couple things:
1. Theme files are 777, but is the themes directory? You may have an owner/permissions problem a step or two higher in the folder structure.
2. Are you using caching of any kind, anywhere?
Can we get a link to the site?
of course: http://www.anselmpeischl.de
The only thing to change is to close the <title>-tag :D
@Tim: How do you mean that? Which things are to check? But would that necessarily stop wordpress from reading the theme and wouldnt the normal case to be no theme to be displayed, but other installed ones are visible, maybe this happened through an update? I am not using a specific caching plugin..
of course: http://www.anselmpeischl.de
The only thing to change is to close the <title>-tag :D
that's not a wordpress theme. that's a straight up html page.
So... if you;re chaning the theme in the theme folder... then no, whatever html page you have in the index will not show it. cuz it;s not using it.
Got an index.html file in the root?
Its a theme, index.php and style.css with the theme name but nothing else, it makes no use of wordpress itsself, but I'm building up something behind the walls. It worked perfectly for a long time, although the error in the header existed and as you can see, it is working, but the sourcecode is not correct, and I am not able to correct cauz wordpress is not using the updated code...
Build it as a proper theme and it will work.
Well I tried, but thats the second point I told you before: Any theme I upload will not be recognized but wpmu, not in the network neither in the site-backend
That front page has the source code of this:
<html>
<head>
<title>Anselm Peischl · freie gedanken und individualismus seit 1990.
<style>
body {
padding: 0px;
margin: 0px;
background-image:url(http://anselmpeischl.rotorkollektiv.de/wp-content/themes/dummy/back.jpg);
}
#portrait {
position: absolute;
bottom: 0;
right: 0;
border: 0;
}
</style>
</head>
<body>
<img src="http://anselmpeischl.rotorkollektiv.de/wp-content/themes/dummy/max_anselm.jpg" width="350" height="279" id="portrait" alt="Maximilian Naujoks / Anselm Peischl: Marienbad «Zauber G»" title="Maximilian Naujoks / Anselm Peischl: Marienbad «Zauber G»" />
</body>
</html>
That doesn't look like any WordPress generate page I've ever seen, and I've seen a lot. Are you using a Static Front page that's totally customized or something?
Any theme I upload will not be recognized but wpmu, not in the network neither in the site-backend
1 - it;s not wpmu any more.
2 - the only way I have seen this ever happen is if the file permissions are too restrictive
and finally
3 - you mean you can't even see it under Network Admin -? Themes? And you uploaded it from the backend?
And a free tip: building new themes off really old ones like Kubrick will just make it harder.
@Ipstenu: You are right, this theme makes no use of any wordpress functionality, but it works, as you can see the code is delivered to the browser! The only problem is that I can't edit it! Its a single page which replaces the page during the redesign process!
@Andrea: Its not wpmu anymore? How could that be?
But when file restrictions are too restrictive and the right file is lying on the server... wouldn't that mean, that wp would display an error with the theme beeing not existant? 3) I uploaded it via ftp!
I don't see the problem in the theme itsself, it's a problem by wpmu. I think I'm gonna reupload the whold wpmu this evening and try out. Maybe something with the automatic updates went wrong someday and I didn't check...
WPMU ended its life at 2.9.2. As of 3.0 it's WordPress MultiSite (and that DOES matter!).
You are right, this theme makes no use of any wordpress functionality, but it works, as you can see the code is delivered to the browser!
That still DOES NOT mean it's WordPress!
Seriously. HOW did you make THAT page. I think THAT will give us part of your answer :)
Finally ... Your site is calling info from a SUBDOMAIN ( http://anselmpeischl.rotorkollektiv.de ) and redirecting to http://www.anselmpeischl.de - There's a good chance that what you're doing here is causing issues. How and why are you doing that?
That is something really new to me! Is migration automatically? cannot find the mu anywhere in my backend :) I think my step this evening will be, backing up everythen and reupload for wordpress multisite... ?
So my site: wpmu has been installed on rotorkollektiv.de and is serving/served several domains with blogs. The reason why the graphic is still linked on the rotorkollektiv-Domain is, because I build and tested it on that subdomain and wrote a hardlink instead of making use of the theme-directory-var. I didn't change that since migration. Originally the site worked fine, except in IE and now after a Firefox Update it didn't anymore, I looked in the sourcecode, saw the radical mistake... and wanted to change that.
I will reinstall wordpress this evening and see what happens.
Okay.
You installed the old WPMU on rotorkollektiv.de with Subdomains.
You UPGRADED to 3.x (which means you are NOW using Multisite, it was transparent to you, don't worry). Where this matters is that you started on WPMU. Keep that in your mind ;)
You made Subdomains (http://anselmpeischl.rotorkollektiv.de).
HOW are you redirecting http://anselmpeischl.rotorkollektiv.de to http://www.anselmpeischl.de? Are you using a plugin?
HOW did you make that static front page for http://www.anselmpeischl.de?
If you can't answer that, it's gonna be really hard for us to help you. YOU need to know what YOU did.
The problem isn't wordpress. the problem is how you built your theme.
yes it is: http://anselmpeischl.de/
site is working again, my provider has changed the ftp location without telling me, so I worked on the wrong dir :) sorry for bothering
This topic has been closed to new replies.