473,473 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Call to undefined method

2 New Member
I am getting the following error:

Fatal error: Call to undefined method PropertyRequest::addBasic() in /home/content/m/a/r/maryntony/html/create.php on line 96

Line 96 in create.php

Expand|Select|Wrap|Line Numbers
  1.     //New client. Add the request to the database.
  2.     $property_request_obj->cr_by = $_SESSION['userid'];
  3.     $property_request_obj->company_id = $_SESSION['_COMPANY_ID'];
  4.  
  5.     /**
  6.      * Try to add the new request to the database.
  7.      * If there is a problem, show an error message.
  8.      */
  9.  
  10. $query_zillow = $property_request_obj->addBasic($error_message);
  11.  

property_request_obj->addBasic
code is in the attached txt.

Everything looks good to me - At this point, I need some help.
Attached Files
File Type: txt Property_request.txt (1.9 KB, 320 views)
Oct 29 '10 #1
1 1887
Dormilich
8,658 Recognized Expert Moderator Expert
could you post the entire class definition?
Oct 30 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: dennis luehring | last post by:
i try to "publish" some of my very stupid methods (i need this for an interpreter) function_one procedure_one here is the code --------- class core {
9
by: keith | last post by:
I created a class libery which has name space Assembly and class Assembly and compiled it. Then created a C# project and called a method in the external class e.g. Assembly dll;...
7
by: Byron | last post by:
I have several user controls that have a few methods in common, such LoadFromForm() which populates an object from controls on the form. I want to call that method from the form in which the...
9
by: Steve Richter | last post by:
in a generic class, can I code the class so that I can call a static method of the generic class T? In the ConvertFrom method of the generic TypeConvert class I want to write, I have a call to...
3
by: Ming | last post by:
I am new to php5 programming :) I redirect users to another server to login. After they login successfully, they will be redirected to test.php. The server provides xml_rpc interface so I can...
5
by: Dan Fulbright | last post by:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors when running go-pear.bat: mmap cache can't open phar://go-pear.phar/index.php mmap cache can't open...
0
by: noel.whelan | last post by:
I've been working through the zend gdata client lib example for google base: http://code.google.com/apis/base/samples/php/php-sample-zend.html. I've installed the zend framework version 1.0.2...
1
by: vegascoop | last post by:
I'm moving a script from PHP4 to PHP5. Everything works under PHP4. When I run the script under PHP5, I get the following error message: Call to undefined method Database::doQuery() Here is...
0
by: youu917 | last post by:
I'm trying to code a php page that can send a email automatically. However, i don't understand the error message appeared: Fatal error: Call to undefined method PEAR_Error::send() in...
3
by: Mitchell Gould | last post by:
I just update my RubyGems and Rails. I am working on Rails 2.3.2 and everything was working prior to this update. Now I am getting the following error: undefined method `inject' for...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.