Jump to content

Funciton Slip Error


Recommended Posts

Guest N402KC
Posted

Hi,

After filing a Manual Pirep, I am receiving the following error;

Deprecated: Function split() is deprecated in /home/brian/public_html/core/lib/phpmailer/class.phpmailer.php on line 477

Any Fixes?

  • Administrators
Posted

Looks like you must be running php 5.3.x on your server, the split command was deprecated in the new version. You can turn off error reporting so it doesnt show up, I am pretty sure it will not hurt the app any. I run php5.3 on my local development box and had to turn off php error reporting, i was too lazy to rewrite it. :unsure:

Guest N402KC
Posted

Looks like you must be running php 5.3.x on your server, the split command was deprecated in the new version. You can turn off error reporting so it doesnt show up, I am pretty sure it will not hurt the app any. I run php5.3 on my local development box and had to turn off php error reporting, i was too lazy to rewrite it. :unsure:

how do i go about turning it off?

  • Administrators
Posted

in your php.ini find

error_reporting = 

and change it to

error_reporting = E_ALL & ~E_NOTICE

reboot the server

I think there may be a command in the phpvms local config as well..... not sure right off hand....

Guest N402KC
Posted

Its ok thought. Im recompiling apache to 5.2.13 V of PHP. Hopefully it will run fine

  • Administrators
Posted

Its ok thought. Im recompiling apache to 5.2.13 V of PHP. Hopefully it will run fine

Did you change the php.ini file both in the apache config and the php config. Depending on the setup of your server it may be relying on one or the other.

  • Administrators
Posted

I think you have to add ~ E_DEPRECATED as well.

I'll see if there's an update for 5.3 for mailer

Edit It's already at the latest version, which has the split() taken out. So maybe you're on an older version yourself. I don't remember if I updated this post 2.0, or if it was for 2.0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...