Have you ever received this error when you try to delete a saved code?
Is there a way to do manually?
Thanks! and Merry Christmas!

Comments

Richard15 created an issue. See original summary.

kala4ek’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
StatusFileSize
new888 bytes

Hi Richard,

Please try to apply the following patch or you can update to latest dev version.

  • kala4ek committed e143f28 on 7.x-1.x
    Issue #2639236 by kala4ek, Richard15: Warning: Parameter 1 to...
kala4ek’s picture

Status: Active » Fixed
kala4ek’s picture

Richard15’s picture

Hi I solved the problem installing the dev version.
Now the codemirror library doesn't work anymore. What's wrong?

kala4ek’s picture

Hm, need to update documentation...
Download the latest codemirror library and put it into libraries directory (sites/all/libraries) of your site.
Also, please, download and enable Libraries API module.

Richard15’s picture

I deleted codemirror 2.38 and uploaded codemirror 5.1
Clean cache, but still "PHP code to execute" has no colours at all.
It was working before updating module.
Libraries API enabled.

kala4ek’s picture

Assigned: Unassigned » kala4ek
Status: Fixed » Needs work

Ok, need to check deeper.

Richard15’s picture

The folder under libraries should be name only "codemirror", right?

kala4ek’s picture

Yep

kala4ek’s picture

Status: Needs work » Postponed (maintainer needs more info)
StatusFileSize
new49.32 KB
new16 KB

Please, compare your file system with attached file structure.

Richard15’s picture

StatusFileSize
new39.48 KB
Richard15’s picture

StatusFileSize
new83.14 KB
Richard15’s picture

I installed your module first time 10 days ago and it was working.
Yesterday when I connect to admin panel, Drupal advise me about an update, after that, the Syntax Highlighter didn't work anymore.
Hope this could you help!

kala4ek’s picture

Do you have any JS errors on devel/php page?

I'll try clean installation of dev version of module today, but bit later.

kala4ek’s picture

Status: Postponed (maintainer needs more info) » Active
Richard15’s picture

In console I receive only this message:

use of getattributenode() is deprecated. use getattribute() instead

Richard15’s picture

StatusFileSize
new227.69 KB

Should I see "codemirror.js" in the left list, right?

kala4ek’s picture

Yes, you should. Have you tried to clean all caches?

Richard15’s picture

cc all; drush cron is my bread!

P.S. Do you want to check my admin panel?

kala4ek’s picture

Seems I found the root of issue... Moved to #2639898: Codemirror library does not detected

This issue is fixed. Further work will be in #2639898: Codemirror library does not detected

kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Active » Fixed
Richard15’s picture

Great! Lovely it works! Thanks a lot and Merry Christmas!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.