Jump to content

quickspot

Members
  • Content count

    16
  • Joined

  • Last visited

  1. Hi, I have installed yhe latest version of Easy Populate 2.76d-MS2 (with attributes) and i get an error. I have done everythings whats on the readme, Warning: move_uploaded_file(/home/buysitec/public_html//catalog/temp/EP2007Jan21-1402.txt): failed to open stream: No such file or directory in /home/buysitec/public_html/admin/easypopulate_functions.php on line 43 Warning: move_uploaded_file(): Unable to move '/tmp/phpHrj4kH' to '/home/buysitec/public_html//catalog/temp/EP2007Jan21-1402.txt' in /home/buysitec/public_html/admin/easypopulate_functions.php on line 43 File uploaded. Temporary filename: /tmp/phpHrj4kH User filename: EP2007Jan21-1402.txt Size: 84 Warning: file(/home/buysitec/public_html//catalog/temp/EP2007Jan21-1402.txt): failed to open stream: No such file or directory in /home/buysitec/public_html/admin/easypopulate.php on line 805 Warning: Invalid argument supplied for foreach() in /home/buysitec/public_html/admin/easypopulate.php on line 844 could anybody help me becuase I do not know what i have done wrong.
  2. quickspot

    [Contribution] Specials_Module

    Hi Surfalot, Many thanks word , it is working now.
  3. quickspot

    [Contribution] Specials_Module

    Hi Surfalot, I understand that u would not repley on my mail that i send to u, so here is the complete php file the line is have past in red is line 73 ---------------------------------------------------------------------------------------------------------------- <?php /* $Id: currencies.php,v 1.16 2003/06/05 23:16:46 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ //// // Class to handle currencies // TABLES: currencies class currencies { var $currencies; // class constructor function currencies() { $this->currencies = array(); $currencies_query = tep_db_query("select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from " . TABLE_CURRENCIES); while ($currencies = tep_db_fetch_array($currencies_query)) { $this->currencies[$currencies['code']] = array('title' => $currencies['title'], 'symbol_left' => $currencies['symbol_left'], 'symbol_right' => $currencies['symbol_right'], 'decimal_point' => $currencies['decimal_point'], 'thousands_point' => $currencies['thousands_point'], 'decimal_places' => $currencies['decimal_places'], 'value' => $currencies['value']); } } // class methods function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { global $currency; if (empty($currency_type)) $currency_type = $currency; if ($calculate_currency_value == true) { $rate = (tep_not_null($currency_value)) ? $currency_value : $this->currencies[$currency_type]['value']; $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; // if the selected currency is in the european euro-conversion and the default currency is euro, // the currency will displayed in the national currency and euro currency if ( (DEFAULT_CURRENCY == 'EUR') && ($currency_type == 'DEM' || $currency_type == 'BEF' || $currency_type == 'LUF' || $currency_type == 'ESP' || $currency_type == 'FRF' || $currency_type == 'IEP' || $currency_type == 'ITL' || $currency_type == 'NLG' || $currency_type == 'ATS' || $currency_type == 'PTE' || $currency_type == 'FIM' || $currency_type == 'GRD') ) { $format_string .= ' <small>[' . $this->format($number, true, 'EUR') . ']</small>'; } } else { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; } return $format_string; } function is_set($code) { if (isset($this->currencies[$code]) && tep_not_null($this->currencies[$code])) { return true; } else { return false; } } function get_value($code) { return $this->currencies[$code]['value']; } function get_decimal_places($code) { return $this->currencies[$code]['decimal_places']; } //TotalB2B start // function display_price($products_price, $products_tax, $quantity = 1) { function display_price($products_id, $products_price, $products_tax, $quantity = 1) { global $customer_id; $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'"); $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest); if (($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) { $query_guest_discount = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'GUEST_DISCOUNT'"); $query_guest_discount_result = tep_db_fetch_array($query_guest_discount); $customer_discount = $query_guest_discount_result['configuration_value']; if ($customer_discount >= 0) { $products_price = $products_price + $products_price * abs($customer_discount) / 100; } else { $products_price = $products_price - $products_price * abs($customer_discount) / 100; } return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } elseif (tep_session_is_registered('customer_id')) { $query_A = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); $query_B = tep_db_query("select m.manudiscount_discount from " . TABLE_CUSTOMERS . " c, " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = c.customers_groups_id and m.manudiscount_customers_id = 0 and c.customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); $query_C = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT . " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = 0 and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id"); if ($query_result = tep_db_fetch_array($query_A)) { $customer_discount = $query_result['manudiscount_discount']; } else if ($query_result = tep_db_fetch_array($query_B)) { $customer_discount = $query_result['manudiscount_discount']; } else if ($query_result = tep_db_fetch_array($query_C)) { $customer_discount = $query_result['manudiscount_discount']; } else { $query = tep_db_query("select g.customers_groups_discount from " . TABLE_CUSTOMERS_GROUPS . " g inner join " . TABLE_CUSTOMERS . " c on g.customers_groups_id = c.customers_groups_id and c.customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); $customers_groups_discount = $query_result['customers_groups_discount']; $query = tep_db_query("select customers_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); $customer_discount = $query_result['customers_discount']; $customer_discount = $customer_discount + $customers_groups_discount; } if ($customer_discount >= 0) { $products_price = $products_price + $products_price * abs($customer_discount) / 100; } else { $products_price = $products_price - $products_price * abs($customer_discount) / 100; } return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } else { return PRICES_LOGGED_IN_TEXT; } } function display_price_nodiscount($products_price, $products_tax, $quantity = 1) { global $customer_id; $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'"); $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest); if ((($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) || ((tep_session_is_registered('customer_id')))) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } else { return PRICES_LOGGED_IN_TEXT; } } //TotalB2B end } ?>
  4. quickspot

    [Contribution] Specials_Module

    I have send u a mail Please check. I send u the php file to your mail adres
  5. quickspot

    [Contribution] Specials_Module

    I have send u a mail Please check. I send u the php file to your mail adres
  6. quickspot

    [Contribution] Specials_Module

    I have in Currencies.php this on line 73 function display_price($products_id, $products_price, $products_tax, $quantity = 1) {
  7. quickspot

    [Contribution] Specials_Module

    Hi, We have a monule called totalB2B and it seems that on line 73 there is many b2b stuff I dont know what to to with it. I could send u the complete php file iff u would like ?
  8. quickspot

    [Contribution] Specials_Module

    Hi all, Im working on a new site and try to instal the special module. but I get some small errors that i could not know where they are coming from. Warning: Missing argument 3 for display_price() in /home/quick05/public_html/includes/classes/currencies.php on line 73 Warning: Missing argument 3 for display_price() in /home/quick05/public_html/includes/classes/currencies.php on line 73 also the price is not the same any more, could somebody advice me please have a look at: www.quickspot.be regarding Rico
  9. quickspot

    [contribution] Total B2B

    Hi, I have I think a small problem with this module, I wil start at the begin. I have placed a clean OSC on the server, than I installed the modulle RMA returns. This installation was succesful. Then I started at the B2B 1.2d so there war some small problems that i have solved but I have one problem that I cannot find. I have set the TAX % at 19 so when I place a product in the shop and the price is 10 + TAX there need to be show 11.90 wright. So when I look at the site I will see there is a product with that price its correct. Butt when I scroll down to new products of the month the product has a price of 710.60 I have re-installed the product-new.php file for several times butt this problem stay, could anybody help me with this....... If u would like to see what I mean pleace look at http://www.quickspot.be/ hope to hear ASAP something
  10. quickspot

    [contribution] Total B2B

    Hi every body, wel it was a verry difficult search butt I have the admin for 99,9 % working. in the catalog the mod has many problems, so some of them I have changed. but there is one I do not understand, this message I get in the shopping_cart.php page //TotalB2B start global $customer_id; $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'"); $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest); if ((($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) || ((tep_session_is_registered('customer_id')))) { echo $currencies->format($cart->show_total()); } else { echo PRICES_LOGGED_IN_TEXT; } //TotalB2B end please can someone tel me what this mean greetings
  11. quickspot

    [contribution] Total B2B

    Hi David, ( please sorry for my english) I like the B2B module, butt we have stil one quiestion. We have started with a clean OSC and have copied al the files in to this the clean OSC. When we now wanted to put the RMAmod into it we have serious problems. So we started over again with a new OSC, now with RMA in it and manual putt B2B into it. Again serious problems, could u tell us iff these two modules can work together ??
  12. quickspot

    RMA Returns error for 2.2 MS2

    Hi all, Thanks for the repley, however i have found the solution for this problem, i fixed it and its working. What did I do: When u see these messages u think that the problem is in the catalog Warning: main(includes/classes/returns.php): failed to open stream: No such file or directory in /home/quick05/public_html/admin/returns.php on line 17 Warning: main(): Failed opening 'includes/classes/returns.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/quick05/public_html/admin/returns.php on line 17 Butt this whas not true, the missing files are not in includes/classes/ butt the missing file is in the admin, admin/includes/classes/ here whas the file returns.php renamed in return.php and when i rename this file the module works. so thank u for the repley on this small thing.
  13. quickspot

    RMA Returns error for 2.2 MS2

    Hi There, sorry everybody, I forgot that this forum whas english. What I mean whas that I have installed the module and everythings is ok, until I was searching for 2 files that i cannot find in the last module, these 2 files I can'not find in the module. admin/password_forgotten.php admin/restore_order.php can some one help me with it. now that i have installed the module, until the 2 files i have a warning message at the top of admin screen when i touch customers returns Warning: main(includes/classes/returns.php): failed to open stream: No such file or directory in /home/quick05/public_html/admin/returns.php on line 17 Warning: main(): Failed opening 'includes/classes/returns.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/quick05/public_html/admin/returns.php on line 17 can some one tell me what to do with this ??
  14. quickspot

    RMA Returns error for 2.2 MS2

    Hallo allemaal, Ik ben ook met deze modulle aan de slag gegaan maar ik kan 2 files niet vinden. Er word in de update wel vermeld dat deze er in moeten staan. Gaat om de volgende 2 files: admin/password_forgotten.php admin/restore_order.php Deze 2 files zou ik nieuw moeten toevoegen aan de admin map waar kan deze in de zip file nergens vinden of moeten deze zelf gemaakt worden of zo ?
×