14, February 2012

Call to undefined method create_message() - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: Call to undefined method create_message()
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Call to undefined method create_message()  (Read 1796 times)
Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« on: Aug 08, 2007, 02:47:37 pm »

hello,

I try to use your cart class, but in the db_cart_stock_example.php example, I have an error. So the function "create_message() e" doesn't exist.

Can you help me ?
Regards,
Fabrice

« Last Edit: Nov 02, 2007, 08:52:37 am by Olaf »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


Re: Call to undefined method db_stock_cart::create_message()
« Reply #1 on: Aug 08, 2007, 02:54:46 pm »

some old code Smiley

change the method name to: messages


Last blog : A new Wordpress theme for our blog
Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« Reply #2 on: Aug 08, 2007, 03:47:05 pm »

ok, Thank you. So, the version that I have (1.13) is not the newer ?

I have an another error in db_cart_checkout_stock_example.php :

Notice: Undefined index: 04.20.43.00 in F:\web\www\tests\db_cart\db_cart_checkout_stock_example.php on line 142.
 
Code:
<td align="center"><?php echo $stock_array[$val['product_id']]; ?></td>
And the $stock_array is not defiined Wink so,  :
Code:
$stock_array = array();

Can you explain to me a little it the "on stock" example, please ? I've read the readme.htm but for me, it's just that, if I chose a product, the class check if the stock of this product is positive ?. It's right ?


Regards,
Fabrice
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Aug 08, 2007, 03:54:41 pm »

the stock example was just an example I tried several versions before. You need that feature only if the stock value for your products is dynamic


Last blog : A new Wordpress theme for our blog
Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« Reply #4 on: Aug 08, 2007, 05:25:42 pm »

no, when our customer add his products (in his adminstration interface), the quantity is not set.

Thanks.
Fabrice
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Aug 08, 2007, 10:31:28 pm »

no, when our customer add his products (in his adminstration interface), the quantity is not set.

Thanks.
Fabrice

than use the regular examples


Last blog : A new Wordpress theme for our blog
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6991
Tags : stock create_message undefined Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: Call to undefined method create_message()
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 11:08:34 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.