Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE'

Found a bug? Tell us!!
Post Reply
orang
Regular
Posts: 15
Joined: Wed Aug 16, 2006 9:03 am

Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE'

Post by orang » Tue Nov 27, 2018 7:02 pm

Dear S9y people,

I have been running a blog on our website since a long time without any problems, and now, out of the blue, I get this error message when trying to access either the front end or the back end:

Warning: Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE' (this will throw an Error in a future version of PHP) in /customers/d/f/6/weisenbacher.de/httpd.www/kfd/serendipity_config.inc.php on line 165 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /customers/d/f/6/weisenbacher.de/httpd.www/kfd/include/db/mysql.inc.php:270 Stack trace: #0 /customers/d/f/6/weisenbacher.de/httpd.www/kfd/serendipity_config.inc.php(264): serendipity_db_connect() #1 /customers/d/f/6/weisenbacher.de/httpd.www/kfd/index.php(26): include('/customers/d/f/...') #2 {main} thrown in /customers/d/f/6/weisenbacher.de/httpd.www/kfd/include/db/mysql.inc.php on line 270


Anybody knows how to fix this? What this actually refers to? I'm actually not entirely sure, which PHP version we are currently using, i.e. that's running on the host server.


Thank you,
Stefan

User avatar
yellowled
Regular
Posts: 6931
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE'

Post by yellowled » Tue Nov 27, 2018 9:13 pm

orang wrote:
Tue Nov 27, 2018 7:02 pm
I'm actually not entirely sure, which PHP version we are currently using, i.e. that's running on the host server.
Please find out. Also, please state the s9y version you're using.

I think this has been addressed recently, but there's no release yet to fix it.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply