Support » Fixing WordPress » smilies_directory

  • After doing the upgrade I lost my smilies. I notice in the database I have an option id of 16 (use_smilies) but not id 17. Is that a fault on my end?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I just checked and my smilies are still showing. (alpha 10 here)

    I dl’d the entire nightly, ran the upgrade and then discovered my wp-grins plugin was no longer working. I checked the database and entered the option_id of 17 manually so the smilies are working now. What concerns me is why it was not there in the first place and how does one go about changing the location of the smilies without going into the database? Makes me wonder what else didn’t get added that is necessary (or dropped that isn’t).

    Moderator Matt Mullenweg



    The smilies directory is hardcoded as wp-images/smilies.

    Although hardcoded as wp-images/smilies, the database contains the full path. What happened in my case was that somehow, after running upgrade.php, index.php got added into the path, i.e. localhost/blog/index.php/wp-images/smilies. When I went into database and deleted “index.php” from the path, the smilies came back, of course.

    With 1.2, I no longer can change which directory the smilies are in. So when I changed my directory from test to make it live, the path was wrong in the database. I’d like to be able to set what directory the smilies are in from the admin, like it was in 1.0.2.

    I had this problem to, but with a variation:
    wp_grins() is trying to pull smilies from my root directory when calling the function. However, when REPLACING :smiley: with the actual image, it pulls the smiley from the correct directory (wp-images/smilies) … i solved this with the (rather inellegant) workaround of copying the images into my root.
    @beel: if I wanted to edit my database directly (I use phyMyAdmin) where will I find that line? (so that I wont have the duplicate image files)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘smilies_directory’ is closed to new replies.