Giter Club home page Giter Club logo

Comments (17)

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

Skin selection should be done in the krumo.ini

https://github.com/mmucklo/krumo/blob/master/krumo.sample.ini#L20

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

Getting error messages when using krumo.ini file.
[skin]
selected = "default"

GET http://localhost/krumo/skins/default/bg.gif 404 (Not Found)

I verified that the file bg.gif is in the directory!

No errors when using selected = "modern"

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

I just tested with the default and modern skins and didn't see any errors. Are you seeing PHP errors, or browser console errors? If you navigate to that URL in your browser normally do you see something?

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

Errors show up in browser console (Chrome).
I am running this locally using Wamp on Windows.
In spite of the errors the krumo results do show up.

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

krumo

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

krumo2

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

If you navigate to that URL in your browser normally do you see something?

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

Yes. The krumo info shows up in spite of the error messages. I guess I'll just ignore the error messages and keep using it.

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

I'm not following. If you go directly to the URL it shows the image. Inside the context of a normal Krumo page that same URL doesn't load? I don't know how to help with that, as it sounds like something specific to your environment?

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

krumo for some reason is looking for the images (collapsed.gif and dotted.gif) in the wrong directory when using schablon.com in krumo.ini. I just uninstalled and reinstalled using composer and problem remains. It's looking for these images in the image directory instead of looking in vendor\mmucklo\krumo\skins\schablon.com

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

I'm testing the schablon.com skin and it appears to be loading just fine. Can you post your krumo.ini, there might be a CSS config in there that's conflicting?

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

Here is my test case using that skin.

I did a clone of this repo, and then copied the krumo.sample.ini to krumo.ini just to change the skin. Everything else is vanilla.

from krumo.

pdelisle6180 avatar pdelisle6180 commented on August 17, 2024

I'm using a copy of the provided sample krumo.ini and uncommented the line in the [skin] section.
Nothing else changed.

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

That is so weird. I can't recreate what you're seeing. Maybe someone else will be able to?

from krumo.

kktsvetkov avatar kktsvetkov commented on August 17, 2024

@scottchiefbaker the images can be put inline inside the css files, so that there are no extra files to load, e.g.

background: url(data:image/gif;base64,R0lGODlhWgAJALMAAP///8vLy+Tk5...zCnNapVdLBAA7);

from krumo.

scottchiefbaker avatar scottchiefbaker commented on August 17, 2024

Some of the skins already do that. I'd welcome patches to convert other skins to do the same.

from krumo.

kktsvetkov avatar kktsvetkov commented on August 17, 2024

@scottchiefbaker I've already converted my skins in 2017 in ed1a544595e8. Do you want a pull request or you can just copy the changes made to the css files from that commit?

from krumo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.