Newswriter fatal error

Issues related to forms.
Post Reply
betwixt
Posts: 101
Joined: Mon Nov 25, 2013 3:49 pm

Newswriter fatal error

Post by betwixt »

Linux Version 10,
Publishes OK, html seems OK and attributes of the _db file are changed to 777.

The published page looks fine with the default "If you are reading this, then it looks like everything is working." message showing.
The Admin login work and correctly checks for the correct name but if the content is saved back, even if nothing is edited or deleted, I get this message:
"Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /homepages/11/dxxxxxxxxxx/htdocs/ACP/newswriter.php:43 Stack trace: #0 {main} thrown in /homepages/11/d83234567/htdocs/ACP/newswriter.php on line 43"

The saved database file drops from 139 bytes to 9 bytes with nothing in it except opening and closing php commands.

I have obscured the actual server address. The host runs PHP v 8.0.

Any ideas?

Brian.

[afterthought] it looks like this function was depreciated in PHP several version ago and can simply be removed from the code. Is it possible to modify the extension so the line is omitted?[/afterthought]
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Newswriter fatal error

Post by Pablo »

First note that this extension is not part of the software and provided "AS IS"
It was created a long time ago and it may not be compatible with PHP8.

Alternatively, you can use the built-in CMS or Editable Content functionality.
Post Reply