CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 (solved) Undefined property

Print topic Send  topic

Author Message
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
View profile  Send private message
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.

View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.