Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter agcyphers

    (@agcyphers)

    Just an update, I’ve tried disabling all other plugins, and hadn’t had an issue with this until the last update.

    Plugin Author akarmenia

    (@akarmenia)

    Hmm, very odd. That’s the id that Crayon adds to differentiate between other instances (for js). I’ll look into it. Can you confirm if this works on the default theme?

    Plugin Author akarmenia

    (@akarmenia)

    Try this:

    https://dl.dropbox.com/u/33811812/Crayon/crayon-syntax-highlighter-1.8.0-debug.zip

    I’ve enabled debugging. Clear your log in settings, then refresh the problematic page and then send me the log, either from settings or the log.txt from FTP.

    Thread Starter agcyphers

    (@agcyphers)

    Here is all that I get from the log:
    ==============================================================================
    Crayon Syntax Highlighter Log Entry
    ==============================================================================
    8:04:50 PM – 18 Feb 2012
    string(4) “init”
    ——————————————————————————

    As I said, this all worked perfectly before the update that was pushed out about a week ago.

    Plugin Author akarmenia

    (@akarmenia)

    Hmm, can you confirm if it works on version 1.7.30? I don’t think I changed anything that would affect the load sequence in such a way as to totally halt the script. The filter the_posts should be called after init, but there is no sign of it. This indicates that something is not working correctly, since the Crayon id is added to the content after the_posts should reach the log. Could you please provide the name of the theme you’re using?

    Thread Starter agcyphers

    (@agcyphers)

    I do now know what the problem is…it’s the length of the code block within the tags. I removed about 100 lines, and the code wouldn’t show at all (nor the crayon highlighter box). I removed another 200+ lines, and it all started working just fine. An update I made to the code coincided with an update you released.

    At any rate, the code is there if you wish to give it a shot.

    Plugin Author akarmenia

    (@akarmenia)

    Ah I see. I’ll look into it and get back to you.

    Plugin Author akarmenia

    (@akarmenia)

    I’m afraid I can’t manage to reproduce your problem, it works fine for me:

    https://aksandbox.webege.com/?p=76

    Thread Starter agcyphers

    (@agcyphers)

    I wonder if it could be a PHP issue. What version of PHP does your host use? What’s your PHP memory limit?

    Plugin Author akarmenia

    (@akarmenia)

    I have 100MB of memory and PHP 5.2.11, but anything 5+ should do it.

    Thread Starter agcyphers

    (@agcyphers)

    I have PHP 5.3 and 93MB of memory, so I would assume that’s not the issue. Ah well, I’ll either have to restructure that script or move to WP-Syntax. Lame. Thanks for the help.

    Plugin Author akarmenia

    (@akarmenia)

    Hmm, I’m not really sure then. It may be your theme or other plugins that might change the content around with Crayon, I’m not sure without having access to all that.

    Thread Starter agcyphers

    (@agcyphers)

    Yeah, I disabled all other plugins, and went back to the TwentyEleven theme, no joy there.

    No worries, mate. Thanks again.

    Plugin Author akarmenia

    (@akarmenia)

    Also try toggling “Disable enqueuing for page templates that may contain The Loop.” No other ideas though…

    Thread Starter agcyphers

    (@agcyphers)

    No luck there, either. Thanks anyway.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Crayon Syntax Highlighter] Random String (Nonce?) Added to Crayon Tag’ is closed to new replies.