Error php plugin

This is the area for a general support questions, discussions and information that you can read and share. Post your experiences, stats and tricks and tips that are not covered elsewhere. Remember, for questions please search the FAQ first, as your question may already be answered.

Moderators: wizard, magicspam

Post Reply
carlosbr12
Posts: 1
Joined: Wed Jun 22, 2022 9:53 am

Error php plugin

Post by carlosbr12 » Wed Jun 22, 2022 9:55 am

Deprecated: Required parameter $protocol follows optional parameter $port in /usr/share/magicspam/php/lib/lib.HTTPSocket.php on line 63 Warning: session_id(): Session ID cannot be changed after headers have already been sent in /usr/share/magicspam/php/index.php on line 54 Warning: session_start(): Session cannot be started after headers have already been sent in /usr/share/magicspam/php/index.php on line 58 Warning: Undefined variable $_SESSION in /usr/share/magicspam/php/modules/countryStatsModule.php on line 65 Warning: Undefined variable $_SESSION in /usr/share/magicspam/php/modules/countryStatsModule.php on line 66

centos 7x latest directadmin latest version

magicspam
Posts: 1563
Joined: Tue Oct 28, 2008 2:27 pm

Re: Error php plugin

Post by magicspam » Thu Jun 23, 2022 3:42 pm

Hello Carlos,

Based on our understanding, the MagicSpam Admin Panel is operational but you are receiving PHP warning messages. Did we understand you correctly?

These PHP warning messages in the MagicSpam Admin Panel can be safely ignored. To silence these warning messages, please run the following terminal command as root:

Code: Select all

sed -i -e 's/error_reporting  =  E_ALL/error_reporting  =  E_ALL ^ E_WARNING ^ E_DEPRECATED/g' /usr/local/directadmin/plugins/magicspam/php.ini
Afterwards access the MagicSpam Admin Panel and make sure that these PHP warning messages no longer show up.

Note that we have informed our development team about these PHP warning messages for them to permanently fix in a future release. Would you also please provide us with the output of the following terminal commands ran as root:

Code: Select all

/usr/local/directadmin/directadmin v
/usr/local/directadmin/custombuild/build options | grep PHP
/usr/local/bin/php -v
Thank you.
-- MagicSpam Support Team --

Post Reply

Return to “General Discussions and Support Questions”

Who is online

Users browsing this forum: No registered users and 1 guest