[dev] syntaxhighlighter.js missing

Jan Schneider jan at horde.org
Thu Jul 27 10:50:32 UTC 2017


Zitat von Sebastian Birnbach <birnbacs at gmail.com>:

> 2017-07-25 13:09 GMT+02:00 Jan Schneider <jan at horde.org>:
>
>>
>> Zitat von Sebastian Birnbach <birnbacs at gmail.com>:
>>
>> 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/s
>>> yntaxhighlighter.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/scr
>>> ipts/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/scr
>>> ipts/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
>>>
>>
>> And is the file loaded then? From which location?
>>
>
> No the file does not get loaded. It does not even exist on my system. Nor
> did it on the old system.
>
> Horde attempts to access
> /usr/local/www/apache24/data/lib/../js/syntaxhighlighter/scripts/syntaxhighlighter.js
> (which is a bit odd with the '/../' in the middle). The directory
> /usr/local/www/apache24/data/lib/../js/syntaxhighlighter/scripts/ does
> exist - but not the file syntaxhighlighter.js inside.
>
> I wonder how this may be related to caching.

Anyway, it's part of the Horde_Mime_Viewer package.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the dev mailing list