Search found 5 matches

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

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 7:24 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 9830

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 9:38 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 9830

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 deprecat...
by elguenny
Mon Feb 15, 2016 7:42 pm
Forum: General discussions
Topic: php7
Replies: 9
Views: 9830

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. .....