[dev] syntaxhighlighter.js missing

Sebastian Birnbach birnbacs at gmail.com
Thu Jul 20 22:29:03 UTC 2017


I migrated the whups SQL tables from a dying Horde 5.2.11 installation to a
fresher 5.2.15 system. Now, when I do a search in whups I get the proper
result - but it takes a incredibly long time (~20 sec) and the following
error is thrown:

"/usr/local/www/apache24/data/js/syntaxhighlighter/scripts/syntaxhighlighter.js
does not exist or is not readable". Well, the file is not there and neither
was it present on the source system which does not show the problem.

Reflected in /var/log/messages:
Jul 21 00:22:50 gollum HORDE: [wicked] PHP ERROR: filemtime(): stat failed
for
/usr/local/www/apache24/data/lib/../js/syntaxhighlighter/scripts/syntaxhighlighter.js
[pid 14627 on line 117 of "/usr/local/share/pear/Horde/Script/File.php"]
Jul 21 00:23:06 gollum HORDE: [wicked]
/usr/local/www/apache24/data/lib/../js/syntaxhighlighter/scripts/syntaxhighlighter.js
does not exist or is not readable. [pid 14627 on line 37 of
"/usr/local/share/pear/Horde/JavascriptMinify/Null.php"]

The error goes away when I disable JS caching in config/conf.php. Caching
backend is the file system. Restarting the webserver to clear the cache did
not help. Neither did wildly emptying cache file locations
(/var/horde_cache, static, /tmp).

Thanks for your ideas

  birnbacs


More information about the dev mailing list