Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

natureguy

Pioneers
  • Posts

    45
  • Joined

  • Last visited

Everything posted by natureguy

  1. I installed Quantity Price Breaks V2.0. Everything works, but I would like to change the visual placement of the price break table from the top of the product page down to above the add to cart button. The table interferes too much with the product title where is currently is located. Where do I find the file that defines where the price break table is placed on the products page??? Thanks much!
  2. I installed Quantity Price Breaks V2.0. Everything works, but I would like to change the visual placement of the price break table from the top of the product page down to above the add to cart button. The table interferes too much with the product title where is currently is located. Where do I find the file that defines where the price break table is placed on the products page??? Thanks much!
  3. Hi, I installed X-sell V2.6 and am having a little bit of trouble. It works overall, but for some reason, with Internet Explorer 8 when the X-Sell box shows up on the catalog screen, the entire right column (shopping cart, notifications, reviews, tell-a-friend, languages, and currency boxs)is shifted underneath the X-sell box. This is not occuring using Firefox, which displays three columns just fine. Anyone else having this issue? Where do I look for a coding change. I am using STS, and many other add-ons, but maybe only STS would involve how the display looks. What files control the screen output? Thanks for any help.
  4. Ha ha, I took the long way around the barn and figured this out. It works perfect now. I googled "tep_round_up" and found a solution buried in the forums here. Anyone with USPS Methods V4.3.1 will need to add this to their catalog/admin/includes/funtions/general.php file: (I put it around where USPS Methods are located.) //// // Round up function for non whole numbers by GREG DEETH // The value for the precision variable determines how many digits after the decimal and rounds the last digit up to the next value // Precision = 0 -> xx.xxxx = x+ // Precision = 1 -> xx.xxxx = xx.+ // Precision = 2 -> xx.xxxx = xx.x+ function tep_round_up($number, $precision) { $number_whole = ''; $num_left_dec = 0; $num_right_dec = 0; $num_digits = strlen($number); $number_out = ''; $i = 0; while ($i + 1 <= strlen($number)) { $current_digit = substr($number, $i, ($i + 1) - $num_digits); if ($current_digit == '.') { $i = $num_digits + 1; $num_left_dec = strlen($number_whole); $num_right_dec = ($num_left_dec + 1) - $num_digits; } else { $number_whole = $number_whole . $current_digit; $i = $i + 1; } } if ($num_digits > 3 && $precision < ($num_digits - $num_left_dec - 1) && $precision >= 0) { $i = $precision; $addable = 1; while ($i > 0) { $addable = $addable * .1; $i = $i - 1; } $number_out = substr($number, 0, $num_right_dec + $precision) + $addable; } else { $number_out = $number; } return $number_out; }
  5. It's been a week and no response :( I had to remove this add-on. Is anyone really getting this add-on to work? I had an unresolvable error as soon as I tried to edit an order, call to an undefined function tep_round_up() on line 162 of the USPS Methods 4.3.1 add on module, usps.php. I haven't had an issue with USPS Methods before. No one has ideas??? Being able to edit orders is rather important and I would sure have liked to have this thing running. Has the tax issues been resolved? I read a lot of issues with people having troubles with adding correct tax.
  6. I installed Order Editor 5.0.61 and have a problem with an error. When I try to edit an order, this error comes up: Fatal error: Call to undefined function tep_round_up() in /home/********/public_html/catalog/includes/modules/shipping/usps.php on line 162. I am using USPS Methods 4.3.1, where line 162: $shipping_ounces = tep_round_up((16 * ($shipping_weight - floor($shipping_weight))), 2);, has something to do with rounding up weight since USPS doesn't allow zero weight. The orders I tried to edit have zero weight and 4.4 ounces of weight with same error. Any ideas? Someone must have had this issue before. I can't check the funtionality further until I can get past this error. Thanks!
  7. Thanks! I used diffmerge to compare the two files and found a couple of lines of code were missing and that did the trick. I wasn't sure which file to look at.
  8. Where did weight in product description go? I added Separate Pricing Per Customer V4.2.2 and Quantity Price Breaks Per Product V2.00 about a week ago while developing a new OScommerce application. I have only one problem with the install and it took me a while to notice it, since I have been adding many add-ons. The weight field of the product is now missing while adding or editing a new product, in administration>catalog>products, therefore my shipping per calculated weight is all messed up. How can I add weight to a product using this contribution? Is there anywhere I should be looking to see if I made an error modifying the files? Note: non of the other add-ons I installed should have effected this other than this contribution. Thanks
  9. Ok, I figured it out by searching other posts for a while. For others that will have this problem, I changed the orginal OScommerce includes/configue.php line FROM: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); TO: define('DIR_FS_CATALOG', '/home/******/public_html/catalog/'); // your direct, local or physical path to your catalog folder Everything is working as it should now. :)
  10. Hi, I am having a little bit of issues with your files to replace those from Google XML sitemap, from Chemo, contribution. This is a new install with V1.4 of Google Sitemaps. I appear to get the xml output files, but in catalog/googlesitemap/ instead of catalog/, but that seems ok. I get a couple of errors when running /googlesitemap/index.php, so I thought I would run them by you. Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /***/******/public_html/catalog/googlesitemap/sitemap.class.php on line 535 ERROR: Google Pages Sitemap Generation FAILED! Write /*****/******/public_html/catalog/googlesitemap/sitemapindex.xml Generated Google Sitemap Index Successfully AND Warning: file_put_contents(/*****/******/public_html/catalog/googlesitemap/includes/modules/ultimate_seo_urls5/cache/1_usucache.cache) [function.file-put-contents]: failed to open stream: No such file or directory in /*****/*******/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 35 I agree with the above warning. There is no such folder structure under catalog/googlesitemap but is rather found under catalog/includes/ Maybe the same issue why the XML files ended up in the catalog/googlesitemap/ rather than catalog/. Is there a code change I should add or something else I should change? Thanks.
  11. THANK YOU!!!! That did the trick. Everything is working like a charm now. I was confused by the slashes when I set that up. The Oscommerce documentation was a bit vague, and for someone who hasn't done this before, errors will be made with vagueness.
  12. Ok, I corrected that. The site is now available at natureguystudio.com/catalog/, but I still have troubles. Maybe there is something else messed up in the includes/configure.php? When I click to view a product, http://www.natureguystudio.com//catalog/nature-sound-c-21.html?osCsid=783cabe1a1c8abff784b1db78bc5d5b0, FireFox errors: The page isn't redirecting properly, Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies. Here is the includes/configure.php file: // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.natureguystudio.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.natureguystudio.com/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.natureguystudio.com'); define('HTTPS_COOKIE_DOMAIN', '.natureguystudio.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '***********'); define('DB_SERVER_PASSWORD', '************'); define('DB_DATABASE', '******_natureguystore'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks for the help!
  13. I loaded the latest version of SEO 2.2 over the weekend and found that it wouldn't turn off to normal Oscommerce paths, so I reverted back, and used the usu2 removal tool in SEO5. I installed Ultimate SEO Urls 5 today, but, when turned on, all I get is page not found errors. It's as if nothing is being redirected. SEO 2.2 worked, meaning I did get .html links. I did reset the cache after installing SEO 5. Here is my Admin for Seo Urls 5: Seo Urls 5 Title Value Action Select caching system. FileSystem Info Enable SEO URLs? true Add category parent to beginning of URLs? true Info Filter Short Words 3 Info Output W3C valid URLs? true Info Choose URL Rewrite Type standard Info Enter special character conversions Info Remove all non-alphanumeric characters? false Info Set the number of days to store the cache. 7 Info Reset SEO URLs Cache Info Turn degug reporting on/off. false Info Add cPath to product URLs? false Here is my .htaccess: # $Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 # php_value register_globals 1 Options +FollowSymLinks RewriteEngine On RewriteBase /catalog/ RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-([0-9_]+).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} # Articles contribution RewriteRule ^(.*)-t-([0-9_]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} # Information pages RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} # Links contribution RewriteRule ^(.*)-links-([0-9_]+).html$ links.php?lPath=$2&%{QUERY_STRING} # Newsdesk contribution RewriteRule ^(.*)-n-([0-9]+).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nc-([0-9]+).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-nri-([0-9]+).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nra-([0-9]+).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING} The site is not a live shop yet. I am still working on it at http://www.natureguystudio.com/catalog Any ideas what I could be doing wrong? Bruce
  14. How do I remove the latest version of Ultimate Seo Urls? I had some troubles with it and wanted to try another from FWR Media. I changed back all the modified files, but I am having difficulty making changes to the Database. I dropped one table, but I am finding some fields in the configuration_title table, which is within the Configuration table, that I can't figure out the MySQL syntax to remove "Add category parent to beginning of URLs?", and other related. It keeps coming back with syntax errors since Add and To are commands. I don't know much about MySQL. Can someone help me? I know, I should have backed up the DB before the install, but I didn't. This is what I tried to run: Alter Table configuration_title Drop Add category parent to beginning of URLs? Thanks, Bruce
×
×
  • Create New...