close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Function split() is deprecated on line 327

Thread began 7/21/2020 12:30 am by philip229496 | Last modified 7/27/2020 12:47 pm by Ray Borduin | 18 views | 3 replies |

philip229496

Function split() is deprecated on line 327

Hi Guys,

I set up a website 10 years ago for a client using Dreamweaver, WA Universal Email and WA Validation Toolkit.
The contact.php on their website is now reporting "Function split() is deprecated in .../WA_ValidationToolkit/WAVT_Scripts_PHP.php on line 327" and "Function split() is deprecated in .../WA_Universal_Email/MailFormatting_PHP.php on line 42", Cannot modify header information - headers already sent by (output started at .../WA_ValidationToolkit/WAVT_Scripts_PHP.php:327/ ... /contactus.php on line 35.

I have no idea where to start with this...

Do I need updated PHP files for your coding? Is there something I can change or do I have to buy a package from you? How much would that be?

Look forward to hearing from you!

(At least the Internet can't contact Covid-19)!

Cheers,
Philip

Sign in to reply to this post

Ray BorduinWebAssist

You can just turn off deprecated messages in your php.ini file, or on the top of any page that is experiencing this issue for now.

https://stackoverflow.com/questions/24559842/turning-off-deprecation-warnings-in-php-ini-file-wamp/24559940

In the long term - this is a warning that the code on your page is a decade old and will eventually not be supported, so you wouldn't want to update your php version or it could cause issues.

The long term solution is to purchase DataBridge v2 and re-apply the validation toolkit and email functionality to update it to modern standards.

Sign in to reply to this post
Did this help? Tips are appreciated...

philip229496

Hi Ray,

Thanks, I appreciate your response...

Could I trouble you to provide the line of code I need to add to the top of their contactus.php page to turn that off?

I haven't done any web design or php work for quite a few years and I'm very rusty... That is not my line of work and was done more as a favour.

Cheers,
Philip

Sign in to reply to this post

Ray BorduinWebAssist

You could use:

php:
<?php

error_reporting
(E_ERROR E_WARNING E_PARSE E_NOTICE);
?>


or

php:
<?php

error_reporting
(E_ALL E_DEPRECATED);
?>



Or it can be updated in your php.ini file like:
error_reporting = E_ALL & ~E_DEPRECATED

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...