Sublime directory Surf the web anonymous Pagerank Monitor


Call to undefined method create_message()

__fabrice
Wed 8 August 2007, 03:47 pm GMT +0300
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


olaf
Wed 8 August 2007, 03:54 pm GMT +0300
some old code :)

change the method name to: messages

__fabrice
Wed 8 August 2007, 04:47 pm GMT +0300
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 ;) 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

olaf
Wed 8 August 2007, 04:54 pm GMT +0300
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

__fabrice
Wed 8 August 2007, 06:25 pm GMT +0300
no, when our customer add his products (in his adminstration interface), the quantity is not set.

Thanks.
Fabrice

olaf
Wed 8 August 2007, 11:31 pm GMT +0300
no, when our customer add his products (in his adminstration interface), the quantity is not set.

Thanks.
Fabrice

than use the regular examples

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional