Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Error on first call #166

Closed
Gabbalo opened this issue Jan 9, 2019 · 6 comments
Closed

Error on first call #166

Gabbalo opened this issue Jan 9, 2019 · 6 comments
Milestone

Comments

@Gabbalo
Copy link

Gabbalo commented Jan 9, 2019

Detailed description of the problem

I just pulled the currend repo and called the URL. The following errors orrured:

Refused to apply style from 'https://$URL$/lychee/dist/user.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Uncaught TypeError: Cannot read property 'version' of undefined at main.js:2554 at Object.success (main.js:1190) at u (main.js:2) at Object.fireWith [as resolveWith] (main.js:2) at k (main.js:2) at XMLHttpRequest.<anonymous> (main.js:2)

Refused to apply style from 'https://$URL$/lychee/dist/user.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Steps to reproduce the issue
Pull newest repo on blank webserver.

Output of the diagnostics (Settings => Diagnostics)
No diagnostics available due to no site available

Browser and system
CentOS 7, PHP 7.1

Edit: I am sorry, that layout is so f***ed up, but I can not fix it ... seems legit to me.

@dbw3
Copy link

dbw3 commented Jan 9, 2019

clipboard02

I am getting the same errors concerning main.js on ubuntu 18.04 with PHP 7.2.10. For me, user.css was not created when installing using git. This is a new installation, and I'm just seeing a blank grey page in the browser; the install script does not launch.

Diagnostics:
Error: Configuration not found. Please install Lychee for additional tests

@ildyria
Copy link
Member

ildyria commented Jan 9, 2019

On it.

@ildyria ildyria closed this as completed in 4479613 Jan 9, 2019
@ildyria
Copy link
Member

ildyria commented Jan 9, 2019

For the first one. it is because your server is returning a 404 instead of a css file.
The update will generate the user.css.

For the second one. It should be fixed now.

@ildyria
Copy link
Member

ildyria commented Jan 9, 2019

Thanks @Gabbalo @dbw3 for pointing those out. I tend to forget the installation process (and mostly focus on updates. My mistake :( ).

@ildyria ildyria added this to the v3.2.9 milestone Jan 9, 2019
@dbw3
Copy link

dbw3 commented Jan 9, 2019

It appears to be working now. Thank You!

@Gabbalo
Copy link
Author

Gabbalo commented Jan 10, 2019

I can second that: First run is working finde now :) 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants