1
0
This repository has been archived on 2025-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
Ian ffe581225c fix strange PHP parse error on subdomain usage
preventing ckeditor to load the resource and itself.

console errors like:
ckeditor.js:77 GET http://sub.domain.org/htmlarea/ckeditor/ckeditor/plugins/procurator/plugin.js?t=F0RD
ckeditor.js:226 Uncaught [CKEDITOR.resourceManager.load] Resource name "procurator" was not found at "http://sub.domain.org/htmlarea/ckeditor/ckeditor/plugins/procurator/plugin.js?t=F0RD".

server error.log like:
[Sun Mar 15 10:34:32 2015] [error] [client 1.2.3.4] PHP Parse error:  syntax error, unexpected '{' in /var/www/domain.org/html/sub/htmlarea/ckeditor/ckeditor/plugins/procurator/plugin.js on line 129, referer: http://sub.domain.org/serendipity_admin.php?serendipity[adminModule]=entries&serendipity[adminAction]=new

Why does PHP read/parse js files?
Why does it not respect // notes, nor /* notes */ in this case?

Might that be because Chrome says to all available loading js resources in Serendipity "Resource interpreted as Script but transferred with MIME type text/html" ???
2015-03-15 11:23:23 +01:00
2015-03-02 12:31:46 +01:00
2015-03-12 10:46:57 +01:00
2008-12-09 10:41:48 +00:00
2013-08-18 12:43:31 +02:00
2014-12-10 14:34:54 +01:00
2014-12-10 14:34:54 +01:00
2015-01-20 17:32:16 +01:00
2014-12-10 14:34:54 +01:00
2014-12-10 14:34:54 +01:00
2015-02-11 15:13:48 +01:00
2014-12-10 14:34:54 +01:00

Serendipity - a PHP Weblog/Blog software

Serendipity is a PHP-powered weblog application which gives the user an easy way to maintain an online diary, weblog or even a complete homepage. While the default package is designed for the casual blogger, Serendipity offers a flexible, expandable and easy-to-use framework with the power for professional applications.

Description
幸運な偶然 - A PHP blog software // This was me trying to raise the PHP code to newer standards without breaking anything. Halfway in I've decided that S9Y is abandonware and went with WordPress.
Readme BSD-3-Clause 50 MiB
Languages
PHP 83.2%
Smarty 9.6%
CSS 4.5%
JavaScript 1.8%
HTML 0.7%
Other 0.1%