Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

stephen495

Archived
  • Posts

    12
  • Joined

  • Last visited

Everything posted by stephen495

  1. Hello, Can anyone help me on the install instructions for this contribution? Is this include to be added after */ >3) in top of index.php add: >include(DIR_WS_FUNCTIONS.'category_discount.php'); Can you show me what the nested and products sections look like? >4) in index.php in the "nested" AND in the "products" section you add >echo category_discount_display($current_category_id); Thanks, Stephen
  2. DevX, I do have the above popup rule in .htaccess: RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} and here is the other .htaccess info: Options +FollowSymLinks RewriteEngine On RewriteBase /torostore/catalog/ I have worked around the problem by commenting out: // FILENAME_POPUP_IMAGE, in seo_class.php So pop-up urls are not rewritten, instead using the original format: /catalog/popup_image.php?pID=86, but at least the pop-ups display. The same problem was also worked around in Product reviews information by commenting out the line: FILENAME_PRODUCT_REVIEWS_INFO Here is the rewrite rule in .htaccess: RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} and again in Product reviews: FILENAME_PRODUCT_REVIEWS, commented out allows product reviews to be made when non exist. RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} Thanks for the help. Unless you can think of anything else DevX, I'll just limp along without the above rewrites.
  3. I Just upgraded to latest version of SEO Urls, 2.1d. It is working fine except clicking the product on the product page results in a 404 error: The requested URL /catalog/roving-pi-29.html was not found on this server. This problem only effects the popup images, all other images display properly. Version 1 of SEO Urls worked fine but it was more than a year old. Any ideas?
  4. Thanks again! This works to resolve bad arguments on line 162 Found the solution at post #116: comment out the following in seo link popularity. // check HotBot $path ="http://www.hotbot.com/default.asp?query=linkdomain%3A".$link_url."&ps=&loc=searchbox&tab=web&provKey=Inktomi"; if(!file_exists($path)) { $data = strtolower(strip_tags(implode("", file($path)))); $data = substr($data, strpos($data, "results 1 - ")+11, strlen($data)); $data = substr($data, 0, strpos($data, ")")); $data = trim(substr($data, strpos($data, "of")+3, strlen($data))); if(eregi("[[:alpha:]]", $data)) { $results['hotbot'] = array('0', $path); } else { $results['hotbot'] = array($data, $path); $total+=str_replace(',', '', $data); } } else { $results['hotbot'] = array('n/a', $path); }
  5. Thank you very much! That did it, no more duplicates in sitemap. Are duplicate .php files always best keep in a separate backup directory?
  6. Sitemap is working well. There is a minor problem in that the Information Pages list is repeated 3 times. So Contact us, Privacy Policy, etc.. shows up 3 times on the sitemap page. Any Ideas?
  7. I have installed the SEO Assistant 1.3.3. I get this error when I run Link Popularity: Warning: implode(): Bad arguments. in /home/virtual/site9/fst/var/www/html/catalog/admin/includes/functions/seo_link_popularity.php on line 162
  8. Thanks for Easymap. It is working well except for a conflict with On the Fly Thumbnailer: Division by Zero error in On the Fly Thumbnailer module at line 83 of html_outputp.php (see at the bottom of pasted code) Any ideas on how to exclude Google maps from the thumbnailer process, or other possible fixes? // "On the Fly Thumbnailer" using PHP GD Graphics Library by Nathan Welch (v1.5) // Scales product images dynamically, resulting in smaller file sizes, and keeps // proper image ratio. Used in conjunction with product_thumb.php t/n generator. function tep_image($src, $alt = '', $width = '', $height = '', $params = '') { // Set default image variable and code $image = '<img src="' . $src . '"'; // Don't calculate if the image is set to a "%" width if (strstr($width,'%') == false || strstr($height,'%') == false) { $dont_calculate = 0; } else { $dont_calculate = 1; } // Do we calculate the image size? if (CONFIG_CALCULATE_IMAGE_SIZE && !$dont_calculate) { // Get the image's information if ($image_size = @getimagesize($src)) { $ratio = $image_size[1] / $image_size[0]; // Set the width and height to the proper ratio if (!$width && $height) { $ratio = $height / $image_size[1]; $width = intval($image_size[0] * $ratio); } elseif ($width && !$height) { $ratio = $width / $image_size[0]; $height = intval($image_size[1] * $ratio); } elseif (!$width && !$height) { $width = $image_size[0]; $height = $image_size[1]; } // Scale the image if larger than the set width or height if ($image_size[0] > $width || $image_size[1] > $height) { [Line 83] $rx = $image_size[0] / $width;
  9. Your suggestion worked! Result with DB setup script was New Supertracker Database Table Successfully CreatedEnd of Report Thanks for the help Stephen Three Waters Farm
  10. I have just installed supertracker components and upon accessing the script page:http://www.yourdomain.com/catalog/supertracker_setup_db.php I get the following error. 1064 - You have an error in your SQL syntax near '-_main like 'supertracker'' at line 1 show tables from threewatersfarm_com_-_main like 'supertracker' [TEP STOP] Any ideas? Stephen
  11. I am also getting file upload errors with easy populate. Is there a soulution to this? Here is the error I get when attempting to upload: File uploaded. Temporary filename: /tmp/phpSSJIfH User filename: EP2004Dec30-1604u.txt Size: 977 Warning: file(): Unable to access /home/virtual/site9/fst/var/www/html/catalog//catalog/temp/EP2004Dec30-1604u.txt in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 657 Warning: file(/home/virtual/site9/fst/var/www/html/catalog//catalog/temp/EP2004Dec30-1604u.txt): failed to open stream: No such file or directory in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 657 Warning: Invalid argument supplied for foreach() in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 680 And if I use temp dir. then I get this error: Easy Populate 2.74-MS2 - Default Language : English(1) Filename: EP2004Dec30-1604u.txt Warning: file(): Unable to access /home/virtual/site9/fst/var/www/html/catalog//catalog/temp/EP2004Dec30-1604u.txt in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 675 Warning: file(/home/virtual/site9/fst/var/www/html/catalog//catalog/temp/EP2004Dec30-1604u.txt): failed to open stream: No such file or directory in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 675 Warning: Invalid argument supplied for foreach() in /home/virtual/site9/fst/var/www/html/catalog/admin/easypopulate.php on line 680
×
×
  • Create New...