RE: Problem with RMA Return contribution
Qwiz <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.contributions |
|---|---|
| Message-ID | <6f24ce9649a16d4f8391d3ab474b572e@osCommerce-Forums> |
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=226891#226891
----------------------------------------------------------------
hiya all
This sounds like a wonderful mod,, I just got a few ,, uhm,, random features to work out yet,, LOL
I downloaded the v2.1 and installed it,,, and when I am on the customer side, place an item in the cart and click on checkout, it starts to load the checkout_shipping.php and I am getting the following Error's
Parse error: parse error, unexpected ';', expecting ')' in /var/www/html/includes/classes/order.php on line 121
Fatal error: Cannot instantiate non-existent class: order in /var/www/html/checkout_shipping.php on line 43
now,, the first one,, in orders.php
here is lines 115 through 128
115 'return' => $orders_products['products_returned'],
116 'exchange' => $orders_products['products_exchanged'],
117 'exchange_id' => $orders_products['products_exchanged_id'],
118
119
120
121 $subindex = 0;
122 $attributes_query = tep_db_query("select products_options, products_options_values, options_values_price, price_prefix from " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . " where orders_id = '" . (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'");
123 if (tep_db_num_rows($attributes_query)) {
124 while ($attributes = tep_db_fetch_array($attributes_query)) {
125 $this->products[$index]['attributes'][$subindex] = array('option' => $attributes['products_options'],
now for checkout_shipping.php
here is lines 41 through 44
41
42 require(DIR_WS_CLASSES . 'order.php');
43 $order = new order;
44
anyone have any thoughts as to fixing this?
Thanks all for the help
Tom