thomas2340
Posts: 55
|
Posted: 01/19/2013, 12:11 AM |
|
Hi,
i want to add a simple lable field into my formular and i get this error message after uploading on my webserver, has someone an idea whats wrong ?
regards, thomas
[Sat Jan 19 07:12:56 2013] [error] [client 192.168.5.60] PHP Notice: Undefined property: clsRecordkontakte::$Label1 in /var/www/html/test/kontakte_neu.php on line 230, referer: http://192.168.5.202/test/kontakte_suchen.php
[Sat Jan 19 07:12:56 2013] [error] [client 192.168.5.60] PHP Notice: Trying to get property of non-object in /var/www/html/test/kontakte_neu.php on line 230, referer: http://192.168.5.202/test/kontakte_suchen.php
[Sat Jan 19 07:12:56 2013] [error] [client 192.168.5.60] PHP Fatal error: Call to a member function Count() on a non-object in /var/www/html/test/kontakte_neu.php on line 230, referer: http://192.168.5.202/test/kontakte_suchen.php
|
|
|
MichaelMcDonald
Posts: 640
|
Posted: 01/19/2013, 6:47 PM |
|
Count on a non object can occur when codecharge can no longer entirely update the form with your changes, and you will notice the background for the form code in the .php file is white, not the very light green.
What usually happens is that part of the code required to generate a component such as a textbox or hidden field that you add to the form is written, but not all of it, and so you might now have to code it in manually. An area to look for is the show prepare - see what is there by way of textboxes,etc and what is not, and compare them with what is actually on your form.
_________________
Central Coast, NSW, Australia.
|
|
|
thomas2340
Posts: 55
|
Posted: 01/20/2013, 1:15 PM |
|
thanks a lot, i got it !
i have a listboxfield with a list of values:
Eigentuemer;Eigentuemer;Suchkunde;Suchkunde;Investor;Investor;Investor Gewerbeimmobilien;Investor Gewerbeimmobilien;Investor Wohnimmobilien;Investor Wohnimmobilien
im my php code i found this:
$this->s_status->Values = array(array("Eigentümer", "Eigentümer"), array("Suchkunde", "Suchkunde"), array("Investor", "Investor"), array("Investor Gewerbeimmobilien", "Investor Gewerbeimmobilien"), array("Investor Wohnimmobilien", "Investor Wohnimmobilien"));
i changed in settings the encoding from utf8 to windows-1252 and back, that was the reason
|
|
|
|