Jump to content

tec

Members
  • Content count

    568
  • Joined

  • Last visited

Everything posted by tec

  1. Hi there, I have SEO urls http://www.josephabrams.com/kiporkge1000ti...rator-p-36.html I would like them to show like this if possible, I am not so much worried about the -p-, -c- etc, unless it can be done. Anyhow, is there a way to make them look like this http://www.josephabrams.com/kipor-kge1000t...rator-p-36.html I was told i can do it via my httacess file but i cant figure out how, i deleted the -p- etc but they still come up, and i could not see a place to put a - for in between the names. This is my httacess file, any thoughts? Options +FollowSymLinks <FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module|exe)$"> deny from all </FilesMatch> ErrorDocument 404 /errorpage.php RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^josephabrams\.com [NC] RewriteRule (.*) http://www.josephabrams.com/$1 [L,R=301] RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
  2. Hi there, I did a fresh install of osc and added EP_v2_76c_MS2 problem is, when i try to upload my.txt file, i get this Warning: file(DIR_FS_DOCUMENT_ROOT/catalog/temp/EP2006Jun09-1301.txt): failed to open stream: No such file or directory in /mounted-storage/home16a/sub002/sc18414-NEKK/www/catalog/admin/easypopulate.php on line 685 Warning: Invalid argument supplied for foreach() in /mounted-storage/home16a/sub002/sc18414-NEKK/www/catalog/admin/easypopulate.php on line 690 any thoughts? this is the last part and it can go live
  3. tec

    EP_v2_76c_MS2 error

    Hi there, ok, i put text beside the ones that are empty. Do the columns have to be the same as the sample ep file? what i mean is, does the order of the columns matter? v_products_model v_products_image v_products_name_1 v_products_description_1 v_products_url_1 --THIS ONE IS EMPTY v_products_price v_products_weight --THIS ONE IS EMPTY v_date_avail --THIS ONE IS EMPTY v_date_added --THIS ONE IS EMPTY v_products_quantity v_manufacturers_name--THIS ONE IS EMPTY v_categories_name_1 v_categories_name_2 ---this one depends on how many sublevels you put in the ep configuration v_categories_name_3 --THIS ONE IS EMPTY v_tax_class_title v_status is there a way to post my ep file somewhere?
  4. tec

    EP_v2_76c_MS2 error

    i noticed too that it seems to cut off the words, even taxable goods comes out messed up, like taxablegoo AA Batteri should be AA Batteriies etc it seems that it is cutting off the words
  5. tec

    EP_v2_76c_MS2 error

    here are the first 9 or 10 lines that the ep is spitting out after upload but if you go to the catalog, you get this http://www.tickleme.ca/catalog/ there are 1285 products and atleast 20 categories/subcategories
  6. tec

    EP_v2_76c_MS2 error

    ok, well with my setting set to /temp/ /temp/ and the $ not in front of the DOMCUMENT_ROOT I was able to upload the EP. Problem is, it does not add into the cart, what i mean is, i see the list it spits out once you are done uploading the EP, but they do not show in the cart, its like they are going into a different directory or something. This is the last thing i need to do to get this site live, i just cant seem to figure it out :(
  7. I have tried everything from sideways i followed the instructions like everyone else, but got the error i posted above, now when i removed the $ from in front of the DUCUMENT_ROOT and changed the /catalog/temp/ to just /temp/ in the easypopulate.php to just /temp/ it allows me to upload the EP file, and it says everything is there, i see a list of everything but when i look in the cart, there is nothing
  8. tec

    EP_v2_76c_MS2 error

    ok, i changed this $tempdir = "/catalog/temp/"; $tempdir2 = "/catalog/temp/"; to this $tempdir = "/temp/"; $tempdir2 = "/temp/"; now my ep goes in but then i get this
  9. tec

    EP_v2_76c_MS2 error

    i took the $ away from in front of teh DOCUMENT_ROOT, now i get this here is my config file (admin) define('HTTP_SERVER', 'http://www.tickleme.ca'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.tickleme.ca'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home16a/sub002/sc18414-NEKK/www/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home16a/sub002/sc18414-NEKK/www/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home16a/sub002/sc18414-NEKK/www/catalog/'); // absolute path required here is the code(path) from the easypopulate.php // Please set DOCUMENT_ROOT to $DOCUMENT_ROOT in your /catalog/admin/includes/configure.php $tempdir = "/catalog/temp/"; $tempdir2 = "/catalog/temp/";
  10. tec

    EP_v2_76c_MS2 error

    the ep mod said to put this Open your /catalog/admin/includes/configure.php file set DOCUMENT_ROOT TO $DOCUMENT_ROOT DO THIS!! IT IS VERY IMPORTANT FOR YOUR SUCCESS. IF YOU DO NOT FLLOW THIS YOU WILL HAVE PROBLEMS!
  11. looks like all went well for you "No products_model field in record. This line was not imported."? I have seen this on every easy populate import, I believe it refers to the last line of your file, it is pretty much saying, there is no info in this line so there was nothing uploaded. From my experience, even if you dont have a blank line at the end of your file it still says this. So in short, you are safe i believe :)
  12. i get this on my checkout_process.php Fatal error: Cannot redeclare class freeshipper in /home/euro/public_html/includes/modules/shipping/freeshipper.php on line 15
  13. hi there, :) when i try to upload my ep via Upload Ep File, i get this error When i try to load it via Import From Temp Directory, i get this error thoughts?
  14. hiya there, a client of mine has this mod installed the urls are coming out like /kiporkge1000tigasgenerator-p-36.html but he would like them to be kipor-kge1000ti-gas-generator so that where there is a space in the name of the product, it will show a '-' in the url
  15. i am getting this error on checkout_shipping Fatal error: Call to a member function on a non-object in /home/euro/public_html/includes/classes/shopping_cart.php on line 556, the red is line 556 here is lines 550-557 default: $this->content_type = 'physical'; break; } } } [color=#FF0000]} elseif (($this->show_weight() == 0) && (tep_not_null($shipping_modules->get_shiptotal()))) {[/color] reset($this->contents);
  16. ok, i am an idiot, i was uploading to the wrong site. I got the mod installed but am getting this in the admin when creating a product, anyone know where i can change this... TEXT_PRODUCTS_ZIPCODE
  17. ok, I am lost, where do i go in the admin to set this mod up? :(
  18. in your phpmyadmin, select the DB you are using for your cart, click on 'sql' at the top, now copy and past the querie from the install file into that box
  19. try removing the code from line 2 in your shopping_cart.php
  20. hi there i just installed the http://www.oscommerce.com/community/contributions,1333 now what i was wondering is, does this allow you to have different shipping costs for each product? the only per item shipping i see under modules>shipping is a per item but it only allows you to set one price for them, i need to be able to give each product a different shipping price
  21. hi again, ok, i have a mod installed that has this as part of the install in the checkout-confirmation.php require('held_orders_process.php'); now, if i keep this in, i get duplicates on teh checkout-confirmation page, with 2 discount coupon prices etc, it doubles everything up, if i take this line of code out require('held_orders_process.php'); then it doesnt happen...here is the code to the held_orders_process.php can anyone see why it would double up? <?php /* $Id: checkout_process.php,v 1.6 2003/02/22 17:34:00 wilt Exp $ orig : checkout_process.php,v 1.125 2003/02/16 13:21:43 thomasamoulton Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $order_totals = $order_total_modules->process(); $sql_data_array = array('customers_id' => $customer_id, 'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'], 'customers_company' => $order->customer['company'], 'customers_street_address' => $order->customer['street_address'], 'customers_suburb' => $order->customer['suburb'], 'customers_city' => $order->customer['city'], 'customers_postcode' => $order->customer['postcode'], 'customers_state' => $order->customer['state'], 'customers_country' => $order->customer['country']['title'], 'customers_telephone' => $order->customer['telephone'], 'customers_email_address' => $order->customer['email_address'], 'customers_address_format_id' => $order->customer['format_id'], 'delivery_name' => $order->delivery['firstname'] . ' ' . $order->delivery['lastname'], 'delivery_company' => $order->delivery['company'], 'delivery_street_address' => $order->delivery['street_address'], 'delivery_suburb' => $order->delivery['suburb'], 'delivery_city' => $order->delivery['city'], 'delivery_postcode' => $order->delivery['postcode'], 'delivery_state' => $order->delivery['state'], 'delivery_country' => $order->delivery['country']['title'], 'delivery_address_format_id' => $order->delivery['format_id'], 'billing_name' => $order->billing['firstname'] . ' ' . $order->billing['lastname'], 'billing_company' => $order->billing['company'], 'billing_street_address' => $order->billing['street_address'], 'billing_suburb' => $order->billing['suburb'], 'billing_city' => $order->billing['city'], 'billing_postcode' => $order->billing['postcode'], 'billing_state' => $order->billing['state'], 'billing_country' => $order->billing['country']['title'], 'billing_address_format_id' => $order->billing['format_id'], 'payment_method' => $order->info['payment_method'], 'cc_type' => $order->info['cc_type'], 'cc_owner' => $order->info['cc_owner'], 'cc_number' => $order->info['cc_number'], 'cc_expires' => $order->info['cc_expires'], 'date_purchased' => 'now()', 'orders_status' => $order->info['order_status'], 'currency' => $order->info['currency'], 'currency_value' => $order->info['currency_value'], 'ip_address' => $ip); tep_db_perform(TABLE_HOLDING_ORDERS, $sql_data_array); $insert_id = tep_db_insert_id(); // register this order inthe customers session $held_order = $insert_id; tep_session_register('held_order'); // this will come in useful later for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $sql_data_array = array('orders_id' => $insert_id, 'title' => $order_totals[$i]['title'], 'text' => $order_totals[$i]['text'], 'value' => $order_totals[$i]['value'], 'class' => $order_totals[$i]['code'], 'sort_order' => $order_totals[$i]['sort_order']); tep_db_perform(TABLE_HOLDING_ORDERS_TOTAL, $sql_data_array); } $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_HOLDING_ORDERS_STATUS_HISTORY, $sql_data_array); // initialized for the email confirmation $products_ordered = ''; $subtotal = 0; $total_tax = 0; for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { // Stock Update - Joao Correia /* if (STOCK_LIMITED == 'true') { if (DOWNLOAD_ENABLED == 'true') { $stock_query_raw = "SELECT products_quantity, pad.products_attributes_filename FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_ATTRIBUTES . " pa ON p.products_id=pa.products_id LEFT JOIN " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " pad ON pa.products_attributes_id=pad.products_attributes_id WHERE p.products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"; // Will work with only one option for downloadable products // otherwise, we have to build the query dynamically with a loop $products_attributes = $order->products[$i]['attributes']; if (is_array($products_attributes)) { $stock_query_raw .= " AND pa.options_id = '" . $products_attributes[0]['option_id'] . "' AND pa.options_values_id = '" . $products_attributes[0]['value_id'] . "'"; } $stock_query = tep_db_query($stock_query_raw); } else { $stock_query = tep_db_query("select products_quantity from " . TABLE_PRODUCTS . " where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); } if (tep_db_num_rows($stock_query) > 0) { $stock_values = tep_db_fetch_array($stock_query); // do not decrement quantities if products_attributes_filename exists if ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])) { $stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty']; } else { $stock_left = $stock_values['products_quantity']; } tep_db_query("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); if ($stock_left < 1) { tep_db_query("update " . TABLE_PRODUCTS . " set products_status = '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); } } } // Update products_ordered (for bestsellers list) tep_db_query("update " . TABLE_PRODUCTS . " set products_ordered = products_ordered + " . sprintf('%d', $order->products[$i]['qty']) . " where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); */ $sql_data_array = array('orders_id' => $insert_id, 'products_id' => tep_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_quantity' => $order->products[$i]['qty']); tep_db_perform(TABLE_HOLDING_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id(); // $order_total_modules->update_credit_account($i);//ICW ADDED FOR ORDER_TOTAL CREDIT SYSTEM //------insert customer choosen option to order-------- $attributes_exist = '0'; $products_ordered_attributes = ''; if (isset($order->products[$i]['attributes'])) { $attributes_exist = '1'; for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { if (DOWNLOAD_ENABLED == 'true') { $attributes_query = "select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix, pad.products_attributes_maxdays, pad.products_attributes_maxcount , pad.products_attributes_filename from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa left join " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " pad on pa.products_attributes_id=pad.products_attributes_id where pa.products_id = '" . $order->products[$i]['id'] . "' and pa.options_id = '" . $order->products[$i]['attributes'][$j]['option_id'] . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . $order->products[$i]['attributes'][$j]['value_id'] . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . $languages_id . "' and poval.language_id = '" . $languages_id . "'"; $attributes = tep_db_query($attributes_query); } else { $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . $order->products[$i]['id'] . "' and pa.options_id = '" . $order->products[$i]['attributes'][$j]['option_id'] . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . $order->products[$i]['attributes'][$j]['value_id'] . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . $languages_id . "' and poval.language_id = '" . $languages_id . "'"); } $attributes_values = tep_db_fetch_array($attributes); $sql_data_array = array('orders_id' => $insert_id, 'orders_products_id' => $order_products_id, 'products_options' => $attributes_values['products_options_name'], 'products_options_values' => $attributes_values['products_options_values_name'], 'options_values_price' => $attributes_values['options_values_price'], 'price_prefix' => $attributes_values['price_prefix']); tep_db_perform(TABLE_HOLDING_ORDERS_PRODUCTS_ATTRIBUTES, $sql_data_array); if ((DOWNLOAD_ENABLED == 'true') && isset($attributes_values['products_attributes_filename']) && tep_not_null($attributes_values['products_attributes_filename'])) { $sql_data_array = array('orders_id' => $insert_id, 'orders_products_id' => $order_products_id, 'orders_products_filename' => $attributes_values['products_attributes_filename'], 'download_maxdays' => $attributes_values['products_attributes_maxdays'], 'download_count' => $attributes_values['products_attributes_maxcount']); tep_db_perform(TABLE_HOLDING_ORDERS_PRODUCTS_DOWNLOAD, $sql_data_array); } $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; } } //------insert customer choosen option eof ---- $total_weight += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; $total_cost += $total_products_price; $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; } ?>
  22. it wont let me edit my post, i got it working, not quite sure what was wrong. I deleted all of the discount coupons, reuploaded my confirmation page, created a new coupon, and now it works. Man, its been one of those days
  23. ok, well, i got something new.....now when i put in the coupon code, i hit redeem, i get this ERROR_NO_INVALID_REDEEM_COUPON at the top of the page
  24. ok, i have read through the posts and tried what everyone is saying I will only be using the discount coupon, i have the whole mod installed though both are installed in my order totals i created a prod with GIFT_ at the beginning, it was said you need to do this even if you are only using a discount coupon i have created the coupon, though, it keeps going back to 0 for number of uses per coupon thoughts? i can put the coupon code in during checkout but on my checkout confirmation page, it does not show up, i checked to make sure the CCGV code was on the checkout_confirmation page and it is, this is a live site and my client is getting antsy, any thoughts?
  25. arrgg, i cant seem to get my discount voucher to work. I put in the code during check out and it does not take off the 10%
×