WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Error message on posts (5 posts)

  1. Sk Nepal
    Member
    Posted 1 year ago #

    I'm getting the following error message at the top of every post :

    Warning: mkdir() [function.mkdir]: File exists in /home/.../public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_themes.class.php on line 21

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Not good! It shouldn't be doing it every time even. Disable WP_DEBUG in wp-config.php but I'll definitely fix it so it doesn't show up at all.

  3. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Are you getting this with 2.0.2? I changed it to use wp_mkdir_p() instead. It shouldn't be complaining that the folder exists since I only run this function when it doesn't, but it may be a more subtle issue than that. Can you verify if it works when you create a "wp-content/uploads/crayon-syntax-highlighter" directory with chmod 774 or 777 or similar? That shouldn't pose any threats since all you'll have in this directory are css themes, but try to use something other than 777 :) If that works then it's clearly a permissions issue. I'll use a @ to hide the error and log it in log.txt in any case.

  4. Sk Nepal
    Member
    Posted 1 year ago #

    Hi,

    It seems to be working fine now. I was using 2.0.0 earlier, just upgraded to 2.0.2.

    Thank you for your quick reply!

  5. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic