Hallo,
Ik was toenet aan het proberen om de smsapi in te bouwen maar nu krijg ik de volgende error:
Quote:
Catchable fatal error: Object of class DataBase could not be converted to string in /home/rik/domains/mywerewolf.nl/public_html/config.php on line 15
Regel 15 is onderdeel van de errorhandler:
regel 15 is:
Wie weet hoe ik dit op kan lossen?
Alvast Bedankt voor de hulp!
Ik was toenet aan het proberen om de smsapi in te bouwen maar nu krijg ik de volgende error:
Quote:
Catchable fatal error: Object of class DataBase could not be converted to string in /home/rik/domains/mywerewolf.nl/public_html/config.php on line 15
Regel 15 is onderdeel van de errorhandler:
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]function[/COLOR] handle_on_error[COLOR= #007700]([/COLOR][COLOR= #0000BB]$e_number[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_message[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_file[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$e_line[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$err_vars[/COLOR][COLOR= #007700]) {[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"<strong>Errno:</strong>"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$e_number[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<br />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Bestand:</strong> "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$e_file[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<br />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Regel(s):</strong> "[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$e_line[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<br />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Bericht:</strong> "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$e_message[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
<br />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Datum en Tijd:</strong> "[/COLOR][COLOR= #007700].[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]j-n-Y H:i:s[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]"
<br />"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error_message[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"<strong>Errvars</strong><br />FORUMCODE0"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]From: noreply@mywerewolf.nl[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]Reply-To: noreply@mywerewolf.nl[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]X-Mailer: PHP/[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/phpversion"]phpversion[/URL][COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]MIME-Version: 1.0[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]Content-type: text/html; charset=iso-8859-1[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/error_log"]error_log[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$error_message[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]=========[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$headers[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<strong>Excuses:</strong>"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Er is iets mis gegaan, de webmaster(s) zijn op de hoogte gesteld. Exuses voor het ongemak <br />"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/return"]return[/URL] true[COLOR= #007700];
}[/COLOR]
?> regel 15 is:
$error_message .= $val . "<br />"; Wie weet hoe ik dit op kan lossen?
Alvast Bedankt voor de hulp!


