This topic was marked solved by its starter, on March 1st, 2014, 07:12 PM

txcas

  • Bug Zapper
  • Posts: 202
Smileys are gone
« on February 28th, 2014, 11:04 PM »
While they are installed and the path is correct.  I can no longer see them when editing posts.  It you click in the smileys area, the smiley code is inserted in the post, but the smileys are invisible.  I think this happened after I activated the French language.  I disabled French and purged the cache, but no luck.

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Smileys are gone
« Reply #1, on February 28th, 2014, 11:23 PM »
It's because the French are miserable and never smile :whistle:

Or perhaps you need to click the 'Toggle View' button to the far right of the row of buttons above the smileys. This can be on by default in admin somewhere.

txcas

  • Bug Zapper
  • Posts: 202
Re: Smileys are gone
« Reply #2, on February 28th, 2014, 11:29 PM »

It must be the French misery because the toggle view did not do it.  :hmm:

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Smileys are gone
« Reply #3, on February 28th, 2014, 11:33 PM »
What's in your console's error log?™

txcas

  • Bug Zapper
  • Posts: 202
Re: Smileys are gone
« Reply #4, on February 28th, 2014, 11:37 PM »Last edited on February 28th, 2014, 11:47 PM
No errors at all.  The smileys are just invisible.  BTW, what smiley set are you using here?
Re: Smileys are gone
« Reply #5, on February 28th, 2014, 11:54 PM »
I am going to copy over all core files just in case I screwed something up.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Smileys are gone
« Reply #6, on February 28th, 2014, 11:59 PM »
No errors..? Then why does your JS stop executing?

I'm using the Cyna smiley set. It's a creation of mine, but VERY much inspired by two of my favorite smiley sets: PunBB's (for size) and Invision's (for face concepts). It also adds some smileys that aren't in either package. Also, I made most of the animated smileys, such as :^^;:

I don't want to distribute it within the main package, because I'm not sure about my legal rights here. So, as an alternative, I'm distributing it as part of the stash repo.

txcas

  • Bug Zapper
  • Posts: 202
Re: Smileys are gone
« Reply #7, on March 1st, 2014, 12:20 AM »
I got the smileys back by disabling compressed output.  Weird, my sandbox works fine with compressed output.
Re: Smileys are gone
« Reply #8, on March 1st, 2014, 12:22 AM »
I re-enabled compressed output and smileys are still there.  Go figure!

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Smileys are gone
« Reply #9, on March 1st, 2014, 12:37 AM »
Bugger, I wanted to see the bug in action... -_-

txcas

  • Bug Zapper
  • Posts: 202
Re: Smileys are gone
« Reply #10, on March 1st, 2014, 12:40 AM »
No worries, I am sure I can break it again. :eheh:

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Smileys are gone
« Reply #11, on March 1st, 2014, 12:43 AM »
Disabling compressed output changed the CSS.GZ extension of your smiley file into CSS, so it probably means the smiley file was corrupted in the first place.
I'm just trying to figure out why it wasn't fixed by purging your cache.

txcas

  • Bug Zapper
  • Posts: 202
Re: Smileys are gone
« Reply #12, on March 1st, 2014, 12:45 AM »
There is something weird on my server about JS/CSS.  My sandbox works fine with compressed output and compressed JS/CSS.  The main site breaks as soon as I turn compressed JS/CSS on.
Re: Smileys are gone
« Reply #13, on March 1st, 2014, 02:25 AM »
I think I figured out what was causing all the weirdness.  My production site did not have a single .htaccess file under \gz and its subdirectories.  I copied them from the sandbox and now even JS/CSS compression is working!  I don't why they did not get created, so @Nao this might be a bug.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Smileys are gone
« Reply #14, on March 1st, 2014, 01:45 PM »
I don't know.
Did you create the gz folder manually, or something..?
Because I don't see anything wrong in OriginalFiles.php, which handles the creation of htaccess files in gz folders. :-/