First time here? Check out the FAQ!
0

changing the logo on settings/GENERAL_SKIN_SETTINGS/ doesn't work
 

It simply displays an empty image spot, so it's clear that there is supposed to be an image there... but the image is not shown. I've tried with .jpg and .gif. In fact, I've tried downloading the askbot logo, and uploading it again on that setting, to have the closest thing to the original set up. Still no logo displayed.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
quesada's avatar
65
quesada
asked 13 years ago

Comments

see more comments

1 Answer

1

Works on my development machine, I think you must have issues the deployment, probably one of the settings in your settings.py:

  • CSRF_COOKIE_DOMAIN setting value
  • FILE_UPLOAD_TEMP_DIR - either setting value or permissions
  • ASKBOT_FILE_UPLOAD_DIR
  • ASKBOT_UPLOADED_FILES_URL

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

Yes, the ASKBOT_UPLOADED_FILES_URL was wrong, thanks Evgeny. Btw there is still a bug in serving uploaded files (unrelated to this question): https://github.com/piskvorky/askbot-devel/commit/dc018de842a019caf40e044291cc69b44b547540

piskvorky's avatar piskvorky (13 years ago)

@Evgeny: and btw what's the point of these askbot-specific settings vs. standard MEDIA_ROOT and MEDIA_URL?

piskvorky's avatar piskvorky (13 years ago)

@piskvorky, we should remove the unnecessary custom variables, I agree with you.

Evgeny's avatar Evgeny (13 years ago)
see more comments