Lines Matching refs:errors
9 $errors = []; variable
36 $errors[] = 'You must supply a valid email address.';
46 $errors[] = 'An expected error has been encountered. Please don\'t try again later.';
51 $errors[] = "You must supply a short description of the event.";
57 $errors[] = "You must supply a long description of the event.";
60 $errors[] = "This does not look like a 'PHP' event";
70 $errors[] = "You must supply a URL with more information about the event.";
73 $errors[] = "The URL you supplied was invalid.";
77 $errors[] = 'You must specify a country for the event.';
81 $errors[] = 'You must specify a category for the event.';
85 $errors[] = "You must specify a valid start date.";
90 $errors[] = "You must specify a start date that is in the future.";
95 $errors[] = "You must specify a valid end date for a multi-day event.";
101 $errors[] = "You must specify an end date that is in the future.";
104 $errors[] = "You must specify an end date that is after the start date.";
109 $errors[] = "You must specify a valid day of the month for a recurring event.";
114 $errors[] = "It's OK. I'm not real either";
117 if (isset($_POST['action']) && $_POST['action'] === 'Submit' && empty($errors)) {
121 $errors[] = "There was an error processing your submission: $result";
123 if (count($errors) === 0) {
132 if (count($errors) === 0) {
151 if (count($errors)) { display_errors($errors); }
173 if ($process && count($errors) === 0) {
253 <?php if ($process && count($errors) == 0) {?>