Support Forum
I can try...
A commonly used and simple method for enabling CSS to be more dynamic is to actually create CSS as a PHP file which is then parsed to output pure CSS. In this way, php variables can be assigned values and used in the final CSS output.
We utilise this method and also create secondary php files that contain all of the variable assignments. When the php file (masquerading as a CSS file) is loaded a query variable is attached to include the necessary variable def file which we call an 'overlay'. The final html that is created looks something like this:
<link rel='stylesheet' href='/style-file.php?overlay=blue' type='text/css' media='all' />
For probably 99% plus of hosts, this works just fine. But every now and then it fails as if there is a block on loading anything other than a file with a .css extension as type text/css. And/or the call fails to pass the query variable on the http request.
While we appreciate we may be able to place an AddHandler rule in an .htaccess file this is clearly not an ideal solution and could result in us asking users to make manual entries. We are trying to understand exactly what causes this to fail so that we can review what options may be available to programatically make adjustments if such a path is available.
Does that do any better?
YELLOW
SWORDFISH
|
okay, thanks... as mentioned, if we knew the actual cause in these rare circumstances, we 'might' be able to adjust...
Visit Cruise Talk Central and Mr Papa's World
Here it is:
The handler meaning = Which version of php do they require? 5.4 ? 5.2? Do they need fcgi enabled or is suphp just fine? Maybe the software needs specific extensions on such as ioncube loader or imagick. When we ask about the handler we just need to know what THEIR software requires to run. Also if you could please give us the filepath to this forum / site we can look to see what errors it's reporting. This will make it much easier to find out what's going on.
I gave them the file path.
By now, I am actually pretty happy with the css-only theme. It's minimal, which is a good thing. I am just a bit worried that the plug ins of S:P won't work without the php working. Do you know?
Well... that doesn't come even close to answering the question. I don't think the person who answered that actually thought about the issue. Or perhaps they are just not very technical or knowledgeable. Never mind, It was worth a try.
Giving them the file path to the forum wont help them much without the other theme being active as there will be no errors for them to look at.
On your final question then this very specific issue only effects the theme loading. There are no other instances of this behaviour within SP. Whether there are other conflicts along the way I can not answer of course but for the vast majority there are not.
YELLOW
SWORDFISH
|
1 Guest(s)