Hi,
I've got a CSS included in all my pages headers. It's supposed to be generated from a PHP file.
However, that file doesn't generate any CSS but nginx generates an error 500 instead when queried.
Click here to load the file
Here is the code of the PHP file involved:
The two required PHP files exist and can both be loaded (verified).
Any clue would be welcome. The answer is probably in server logs but I can't read then (can I ?)
Thank you in advance!
I've got a CSS included in all my pages headers. It's supposed to be generated from a PHP file.
Code:
<link rel="stylesheet" type="text/css" media="screen" href="http://www.thk-clan.co.cc/forums/extensions/pun_colored_usergroups/styles.css.php" />
However, that file doesn't generate any CSS but nginx generates an error 500 instead when queried.
Click here to load the file
Here is the code of the PHP file involved:
PHP:
<?php
header('Content-type: text/css; charset: UTF-8');
define('FORUM_ROOT', '../../');
require FORUM_ROOT.'include/essentials.php';
require_once FORUM_CACHE_DIR.'cache_pun_coloured_usergroups.php';
echo $pun_colored_usergroups_cache;
?>
The two required PHP files exist and can both be loaded (verified).
Any clue would be welcome. The answer is probably in server logs but I can't read then (can I ?)
Thank you in advance!
Last edited: