close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

errors on send

Thread began 8/04/2010 7:14 am by randyw2394710 | Last modified 4/03/2012 4:55 pm by randyw2394710 | 2954 views | 9 replies

fms77717Beta Tester

array_search

Originally Said By: Eric Mittman
  I'm not sure why you are getting the first error about the array. When I check the mailformating file that I have it only has 205 lines in it, so the error being reported on line 356 seems out of place. The other errors referencing the headers are just letting you know that output has already occurred on the page so these header calls are being ignored. These messages are only there because of the first error you are getting. Once you get past that these other errors should go away.

You should try deleting your webassist > email folder from your site root and applying UE to another page then test out that page. If you get the same error post back with a copy of the webassist folder and the page with UE applied to it in a zip archive so I can take a look.  



I am getting the same error on line 356 and my mailformatting_php.php file has 375 lines.
Here is the function that is causing the error:
The second line (the if (array_search...) is the problem area.
I would very much appreciate your help on this asap.
Thanks.

function RemoveValue($theValue, $theExact, $theStart, $theEnd, $theInclude) {
if (array_search($theValue,$theExact) !== false) {
return true;
}
for ($x=0; $x<sizeof($theStart); $x++) {
if (strpos($theValue,$theStart[$x]) === 0) {
return true;
}
}
for ($x=0; $x<sizeof($theEnd); $x++) {
if (strrpos($theValue,$theEnd[$x]) === strlen($theValue)-strlen($theEnd[$x])) {
return true;
}
}
for ($x=0; $x<sizeof($theInclude); $x++) {
if (strrpos($theValue,$theInclude[$x]) !== false) {
return true;
}
}
return false;
}
?>

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...