Search found 4 matches

by elguenny
Sat Feb 24, 2018 10:15 pm
Forum: Bugs
Topic: PHP Warning: Use of undefined constant IN_serendipity_admin
Replies: 8
Views: 2222

Re: PHP Warning: Use of undefined constant IN_serendipity_a

FYI, if I switch to PHP 7.2.1 I get another warning in serendipity_config.inc.php. PHP 7.1.x is working fine without warnings. Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE' (this will throw an Error in a future version of PHP) in /home/www/blog/serendipity_config.inc.php on lin...
by elguenny
Tue Feb 16, 2016 8:24 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 3920

Re: php7

The version 1.7.16 is from 2014 and seems outdated. I changed only one line in the lite.php file and the error seems to be gone. function Cache_Lite($options = array(NULL)) to function __construct($options = array(NULL)) When the backend works well, all is loaded correctly? Are there other ways to t...
by elguenny
Mon Feb 15, 2016 10:38 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 3920

Re: php7

Didn't help ;) <script> if(typeof errorHandlerCreateDOM == "function") { var fragment = window.top.errorHandlerCreateDOM("Error redirect: == SERENDIPITY ERROR == <p>Methods with the same name as their class will not be constructors in a future version of PHP; Cache_Lite has a deprecated constructor ...
by elguenny
Mon Feb 15, 2016 8:42 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 3920

Re: php7

I made a test yesterday, the JS library couldn't be loaded after switching to PHP 7: The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://www.preciseassemblies.com/index. .....