Take the 2-minute tour ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

my theme uses a dynamic css file 'custom-style.php' which is included through wp_enqueue_style(); This file includes some styles depending on the theme options (colors,fonts,...)

On some installation there is no access to this file. Trying to access the file via the source code gets a "500 Internal Server Error". Changing file permissions to 777 does not solve it.

How can I solve this? Is there any other possibility to create dynamic css files?

Alternatively I could write a function to include this css in the head of the html but this is not the way I want go. There are some lines of css and I don't like css in html output.

share|improve this question
 
Do you have access to the logfiles on the servers responding with an error 500? –  realloc Oct 31 '13 at 9:57
 
I don't have access to the servers. There are clients servers. It's a market theme. Usually it's working fine but on some installation/servers the error is happening. –  Benmay Oct 31 '13 at 14:10
 
There is also a chance that these servers have some kind of hotlink-protection. –  realloc Oct 31 '13 at 14:28
 
You will need help from someone who does have access to the server... just to do any real debugging, it sounds like. –  s_ha_dum Oct 31 '13 at 14:57
add comment

1 Answer

try to change the owner/group of the directory usign the following SSH CMDs

chown -R username *
chgrp -R group *
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.