1 (edited by toni0 2011-08-04 10:19)

Topic: Colored usergroups - CSS not loaded

Hi,

I've successfully installed the Colored Usergroups extension, and can see its CSS included in my pages headers.

<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 generates an error 500 instead when loaded.
Click here to load the file

Any clue would be welcome.

My Pun version: PunBB 1.3.5

Thank you in advance!

Re: Colored usergroups - CSS not loaded

Check webserver error logs for reason of 500 error.

3

Re: Colored usergroups - CSS not loaded

Unfortunately it is a hosted plan and I don't have access to the logs.

I can only tell you the server is nginx/1.0.2

Re: Colored usergroups - CSS not loaded

Maybe it becouse that nginx setuped executed PHP only in ROOT dir and not executed in extensions subdir.

Create any test.php file in pun_colored_groups extensions dirs.
Put in test.php

<?php
echo 'work';
?>

and try access to this file from browser.

5

Re: Colored usergroups - CSS not loaded

Jesus, you are right : Test file in extension subdir

I'll submit a ticket to the hoster.

6

Re: Colored usergroups - CSS not loaded

Problem fixed, I changed my directory rights from 777 to 755 and all started to work.

I still don't understand why 777 didn't work.

Re: Colored usergroups - CSS not loaded

Its PHP guard on some hosting.

8

Re: Colored usergroups - CSS not loaded

That's exactly what happened smile