Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

smigo

Archived
  • Posts

    29
  • Joined

  • Last visited

Profile Information

  • Real Name
    Cris
  • Location
    Munich

smigo's Achievements

  1. What was the trick? I have the same problem. After update to ms1 the product info shows the small image not the medium image. My old snapshot work fine with this add on.
  2. Ther is no problem, if i comment out this box, but where could a customer buy it.....or is it only for admin in this release? And where is the php file ?
  3. Where is the gift_voucher.php from the coloum_left? Can't find it? I have this error Warning: main(includes/boxes/gift_voucher.php) [function.main]: failed to create stream: No such file or directory in If i set it to // it works, but where could a customer buy....... if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); // if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'gift_voucher.php'); // ICW ADDED FOR ORDER_TOTAL CREDIT SYSTEM } ?> Thanks Great contrib........
  4. Its the same option or attributes. If you update an order with maybe 5 products....if one of them had as attribute + 5 $..... If you update the order. the product with the attribute loose the + 5 $ Try it on your shop. Try an order with a lot products and some attributes and update this order. You will see that the total is not correct.
  5. I find another problem If you have an order with an option like this T Shirt XXL +3$ Shirt M blabla ---------------------- and other items in the order....If you delete an item, the option of the other item is also deleted. So the order total is not right. It meansthe order update support no options. This tool is great, but this is a problem. Could anyone fix this?
  6. This is a nice script, but only the customer see the bug. It would be better if the webmaster where notified about an error. We use a small script from http://www.rustyparts.com/scripts.php Only one file and two changes before upload. The script sent a mail to the admin with the error code, the url and the referer like this ------------------------------------------------------------------------------ Site: xxx.com (www.xxx.com) Error Code: 404 Missing URL (File does not exist: /www/htdocs/fetish/www.xxx.com/shop/ban-pic.jpg) Occurred: Sat Feb 1 16:50:52 EST 2003 Requested URL: /shop/ban-pic.jpg User Address: 213.10.122.148 User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) Referer: http://www.xxx.com/rank/index.php ------------------------------------------------------------------------------ The only thing is, the script shoes his nown error page. When the script shows the shop page after an error. This would be perfect. Or add an notification to this add on. This is our script. If someone know the changes to show the shop site after an error...........? <?php /*-------------------------------------------------------------* | phpErrorDoc written by jason rust <[email protected]> | | v1.0 De. 29 2001 - first version | | from http://www.rustyparts.com/scripts.php | under the GNU license you are free to use/modify this script | email me any improvements and want them included in the next | version. | this script comes with no implied warranty. | | If you want to send me a thank you, starbucks coupons | are gladly accepted | (http://www.starbucks.com ;) | my address is: | attention: jason's phpErrorDoc | 212 Cottage Grove Ave. | Santa Barbara, CA 93101 | otherwise it's free! | | Cheers! | -Jason *-------------------------------------------------------------*/ # # This is where all of the various parameters for the script are # set. # #The e-mail address of the person to notify when an error occurs. $notify="[email protected]"; #The name of your site $sitename="xxx.com"; #The link the reader should follow home. $returnLink="http://www.xxx.com/shop/catalog/"; # the full path to the error log. make sure it is writable $errorLog = "/path/to/error_log"; # colors for the tables error page below # background color of the page $body_bg_color = "#ffffff"; # background color of the table $table_bg_color = "#dedef6"; # text color of the table $table_fg_color = "#000000"; # background color of the cell on the left with a image $image_bg_color = "#ffffff"; # color of the header text $header_color = "#DD0101"; # images to display on left hand side (full path to the image) $image = array ( '000' => '/shop/catalog/images/infobox/error.gif', '400' => '/shop/catalog/images/infobox/error.gif', '401' => '/shop/catalog/images/infobox/error.gif', '403' => '/shop/catalog/images/infobox/error.gif', '404' => '/shop/catalog/images/infobox/error.gif', '500' => '/shop/catalog/images/infobox/error.gif' ); #These are the Subject Lines for the e-mail notification #You can modify these without causing any problems. $subject = array ( '000' => 'Unknown Error', '400' => 'Bad Request', '401' => 'No Authorization', '403' => 'Forbidden URL', '404' => 'Missing URL', '500' => 'Configuration Error' ); #Change the N to Y if you want to receive e-mail when a particular error occurs. $email = array ( '000' => 'Y', '400' => 'Y', '401' => 'Y', '403' => 'Y', '404' => 'Y', '500' => 'Y' ); #Change the N to Y if you want to log a particular error to file $log = array ( '000' => 'N', '400' => 'N', '401' => 'N', '403' => 'N', '404' => 'N', '500' => 'N' ); ################################################################### # # edit the html error messages below to suit your needs. # #HTML CODE TO APPEAR WHEN A BAD REQUEST OCCURS $msg['400'] = " <b>The URL that you requested, $REDIRECT_URL was a bad request.</b>"; ################################################################## #HTML CODE TO APPEAR WHEN AN UNAUTHORIZED PAGE ACCESS ATTEMP OCCURS $msg['401'] = " <b>The URL that you requested, $REDIRECT_URL requires preauthorization to access.</b>"; ################################################################## #HTML CODE TO APPEAR WHEN A FORBIDDEN ATTEMPT IS MADE $msg['403'] = " <b>Access to the URL that you requested, $REDIRECT_URL, is forbidden.</b>"; ################################################################## #HTML CODE TO APPEAR WHEN A DOCUMENT NOT FOUND HAPPENS $msg['404'] = " <b>The URL that you requested, $REDIRECT_URL, could not be found. Perhaps you either mistyped the URL or we have a broken link. <br /><br /> We have logged this error and will correct the problem if it is a broken link.</b>"; ################################################################## #HTML CODE TO APPEAR WHEN A SERVER CONFIGURATION ERROR OCCURS $msg['500'] = " <b>The URL that you requested, $REDIRECT_URL resulted in a server configuration error. It is possible that the condition causing the problem will be gone by the time you finish reading this. <br /><br /> We have logged this error and will correct the problem.</b>"; ################################################################## #HTML CODE TO APPEAR WHEN AN UNKNOWN ERROR OCCURS $msg['000'] = " <b>The URL that you requested, $REDIRECT_URL resulted in an unknown error code. It is possible that the condition causing the problem will be gone by the time you finish reading this. <br /><br /> We have logged this error and will correct the problem.</b>"; ### you shouldn't need to change anything below here ### $result = $QUERY_STRING; if ($result != "400" && $result != "400" && $result != "403" && $result != "404" && $result != "500") $result="000"; print_header($result); echo $msg[$result]; print_footer(); if ($log[$result] == "Y") notify("L",$result); if ($email[$result] == "Y") notify("M",$result); ################################################################## # this routine sends an e-mail or writes to a log depending # on whether it was called with an "L" or "M" function notify ($action, $result) { global $errorLog, $subject, $notify, $sitename, $REQUEST_URI, $REMOTE_ADDR, $HTTP_USER_AGENT, $REDIRECT_ERROR_NOTES, $SERVER_NAME,$HTTP_REFERER; $date=date("D M j G:i:s T Y"); # see what action to take if ($action == "L") { $message = "[$date] [client: $REMOTE_ADDR ($HTTP_USER_AGENT)] $REDIRECT_ERROR_NOTESn"; $fp = fopen ($errorLog,"a+"); fwrite($fp, $message); fclose($fp); } else { # create message $message = " ------------------------------------------------------------------------------ Site:tt$sitename ($SERVER_NAME) Error Code:t$result $subject[$result] ($REDIRECT_ERROR_NOTES) Occurred:t$date Requested URL:t$REQUEST_URI User Address:t$REMOTE_ADDR User Agent:t$HTTP_USER_AGENT Referer:t$HTTP_REFERER ------------------------------------------------------------------------------"; mail("$notify", "[ Server Error: $subject[$result] ]", $message, "From: server_error@$SERVER_NAMErn" ."X-Mailer: PHP/" . phpversion()); } } function print_header($result) { global $subject, $body_bg_color, $table_bg_color, $table_fg_color, $image_bg_color, $image, $header_color, $sitename, $REDIRECT_ERROR_NOTES; # take off the path to the script, we don't want them to see that $error_notes = preg_replace("/:.*/","",$REDIRECT_ERROR_NOTES); if (empty($error_notes)) $error_notes = "Unknown"; echo " <html> <head> <title>$subject[$result]</title> <style> a:link,a:active,a:active { font-weight: bold; text-decoration: none; color: blue; } a:hover { font-weight: bold; text-decoration: underline; color: blue; } </style> </head> </html> <body bgcolor="$body_bg_color"> <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"> <tr> <td valign="center"> <table width="550" bgcolor="$table_bg_color" border="1" align="center" cellspacing="0" cellpadding="5" color="$table_fg_color"> <tr> <td bgcolor="$image_bg_color"> <img src="$image[$result]" alt="error"> </td> <td> <center> <span style="font-weight: 600; color: $header_color;">$sitename</span> <b>Error $result</b> <br /> ($error_notes) <br /> <br /> <center><b>Please <a href="$returnLink">Click Here</a> to Return to the Shop.</b></center> <br /> </center> <br />"; } function print_footer() { global $returnLink; echo " </td> </tr> </table> </td> </tr> </table> </body> </html>"; } ?>
  7. @Ian When does your update of your sessions killer come approximately?
  8. In your sql Database table...........
  9. @ Ian Could you post the complete installation of your add on? What files, which lines..... The most questions came from the different snapshots. I have also a problem, but i didn't know where. So i can check my install....... I have the problem with the add on smal, medium, big images.... If a bot go to the product_info with the medium image.......he got a session like this URL: /shop/catalog/images/Peitsche_Paddel_schmal_med.jpg/osCsid/6defc5b0fe8300f9953ddd32deeff0b9 User Address: 66.196.72.61 User Agent: Mozilla/5.0 (Slurp/cat; [email protected]; http://www.inktomi.com/slurp.html) Referer: on all other files it works. But the product_info is the most important file... Chris
  10. I must pain you with my questions once more............ Could it be, that the add on for smal,medium,big images produce the sessions? See the file of my error Script The image is on the server and works fine, but the script produce this error. ------------------------------------------------------------------------------ Site: xxx.com (www.xxx.com) Error Code: 404 Missing URL (File does not exist: /www/virtual/fetish/www.xxx.com/shop/catalog/images/Harness_med.jpg/osCsid/fef23046cf6b292d237a21d0ee68d657) Occurred: Thu Jan 9 14:44:34 EST 2003 Requested URL: /shop/catalog/images/Harness_med.jpg/osCsid/fef23046cf6b292d237a21d0ee68d657 User Address: 216.239.46.118 User Agent: Googlebot/2.1 (+http://www.googlebot.com/bot.html) Referer: ------------------------------------------------------------------------------
  11. sorry i have another question The session is killed in the shop. If i go to the admin "Who is online" I see on every user a session. Is this correct? 00:08:39 0 Guest 216.239.46.164 13:25:23 13:25:23 /shop/catalog/index.php/cPath/33/sort/2a/page/1/language/en/osCs 00:08:38 0 Guest 216.239.46.118 13:25:24 13:25:24 /shop/catalog/webmaster.php/osCsid/727d633fb2b9b264c14b5be475592 00:08:38 0 Guest 216.239.46.87 13:25:24 13:25:24 /shop/catalog/product_info.php/products_id/149/osCsid/04f7d7874c I put the Ians script in the catalog html_output and application_top Is this correct?
  12. @m5n6 I try the spider.cgi after adding Ians sessionkiller. The sessionkiller works great but i see that the spider finds no keywords. The Metatags are correct. If i try another html page. The spider.cgi also shows no keaywords. Is this a bug in the script or in my page?
  13. I try to add the total sales to the first row of the admin/affiliates. But i get only 0,00 Euro in the Table. Here is the tag...... <td class="dataTableContent"><?php echo $currencies->display_price($affiliate_sales['affiliate_amount'], ''); ?></td> Smigo
  14. How could i change the product_info.php without the box style. I use 2.2 from 30.10.2002 ( old checkout ) with the products in coloum add on. This add on shows all products with the same box design as boxes in coloum_left.......where can i change the layout without the box only with a backgroung colour and a <br> after every row. Another question: How could i change a box function like the bookmark box ( add on ) to the main page? My idea: Change the reviews button in the product info into a bookmark button ( bookmark this product ). I think its better as the reviews button. We have the reviews box on every page.
×
×
  • Create New...