Hosted website css stylesheet problem


#1

Hi all,

I have created a simple webapp, based on the phonebook exemple with dreamfactory 2.1.0. The files are stored on dreamfactory files.

But I can’t include the css stylesheet file.

The console displays the following message and the stylesheet in resources is empty.

Here the index.html, which should be correct.

The css file is correct utf-8 encoded. I created it with notepad++.

What could be the problem here?

Thx for any hints.


Style Sheet Not Loading
#2

Hi - Did you get an answer to this? I’m having the same issue. Thx.


#3

Unfortunately not. And I hadn’t time to investigate it any further.

My latest guess was, that we have to modify a config file of the apache webserver. It seems that apache doesn’t send the css files with the right mime type.


#4

Further investigations. The Response Headers tells me X-Powered-By: PHP/5.5.31. So the Problem comes not from the apache but a PHP configuration - I guess.

But I still couldn’t solve it.


#5

Fix for this is coming in the next release.
May already be available in the develop branch of the repo – just know that the dev branch is not fully tested for stability (hence why it’s not released officially yet.)


Style Sheet Not Loading
Incorrect MIME type on your hosted enterprise beta sandbox
#6

Great to hear. Thanks.