Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

s97446

Archived
  • Posts

    39
  • Joined

  • Last visited

Profile Information

  • Real Name
    s97446

s97446's Achievements

  1. OK, I solved the problem now. There is one line at the end of the rss.php /* * Include the application_bottom.php script */ include_once('includes/application_bottom.php'); which includes the application_bottom.php. If you are using the STS Template System this line shouldn't be active. Put in exit(); instead of that line - and it works :)
  2. Doesn't anybody have this contrib working ... and have an idea why my rss.php seems to be not interpreted?
  3. In addition to my problem two posts ago: I now changed the code for generating the meta tags in my header_tags.php (from HeaderTags contrib) like that: if (strpos($_SERVER['SCRIPT_NAME'], 'rss.php') == FALSE) { <meta ... } Therefore the <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> doesn't appear when loading the rss.php file. But, nevertheless this part of rss.php // Begin sending of the data header('Content-Type: application/rss+xml; charset=UTF-8'); //header("Last-Modified: " . tep_date_raw($last_modified)); header('Last-Modified: ' .gmdate("D, d M Y G:i:s", strtotime($last_modified)). ' GMT'); //header('Last-Modified: ' .gmdate("D, d M Y G:i:s T",strtotime($last_modified)) . ' GMT'); header("ETag: " . md5($etag)); echo '<?xml version="1.0" encoding="UTF-8" ?>' . "\n"; echo '<?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"?>' . "\n"; echo '<!-- RSS for ' . $store_name . ', generated on ' . gmdate("D, d M Y G:i:s", strtotime($last_modified)) . ' GMT'. ' -->' . "\n"; ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:ecommerce="http://shopping.discovery.com/erss/" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title><?php echo utf8_encode($rss_title); ?></title> . . . doesn't appear? Why? What could be the reason for that?
  4. I installed RSS Feed 2.0 right now - but it seems like it doesn't work. My shop is this (see the RSS button in the footer), my feed URL is this Everytime it shows an error, that IE7 cannot display feeds with DTDs. If I try to get the file with another feed reader (e.g. Awasu) I get message that my site seems to be a webste instead of a rss feed. So, what could be the problem? And how can I solve that?
  5. Well, of course this is the most unlikely solution ... remembering how long it took to configure all I guess this will need me days, years, lightyears ... ;) Maybe there is an easier/shorter way!? So, I'm astonished cause the following site (checkout_confirmation.php) isn't loaded. I expected that it should be tried to load it and maybe an sysntax error or something else will occure then ... or that a variable/constant/... should be submitted, this doesn't work and an error occures. But while there happens really nothing by clicking the link I just would propose that there must be something wrong with the link - so it's "dead"!? So, this here are the lines <form name="checkout_payment" action="http://www.blablabla.de/catalog/checkout_confirmation.php" method="post" onsubmit="return check_form();"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <td class="main" align="right"><input type="image" src="includes/languages/german/images/buttons/button_continue.gif" border="0" alt="Continue" title=" Continue "></td> but they should be OK!? Could be a failure between them? Or is there a variable which is set wrong!? Any idea how to check this?
  6. Still the same: After installing the 2 modules a customer cannot complete his order anymore. There is no way to leave the page where it's possible to type in the voucher code. It's the checkout_payment.php ... So, anyone any idea for me? :rolleyes:
  7. Yes, I found one: Search and Replace I also found the onload with it ... well, it was really easy: It's in my template file sts_template.html ... OK, I deleted it from the body tag and tried again: no way! Of course it still works without the modules installed ... but after installing them the same problem. I just don't get the IE error message ;) So, what can cause the problem then? Everything works fine with the files I had to edit for the contrib ... so generally this should be OK at all!? But what happens when I install the modules in the admin panel? Which changes are made then and how can they be in trouble with the checkout_payment.php?
  8. Yes, I guess I could have to do this >_< I actually looked to all files in the includes/functions directory, but it wasn't there. I also didn't find an idea via Google ... and now there are a lot of files left :lol: Any idea where to find it? Ah, maybe helpful: I looked to the source now while I had the modules both uninstalled. There <body onload="info()"> is also there ... but it works with it. Just to notice that.
  9. I looked in my checkout_payment.php ... and it isn't there too. I also didn't find it in these files in my includes directory: application_top.php, header.php, header_tags.php I thought about them, cause maybe they make changes in the area info() is called now. So, my checkout_payment.php looks like that in the relaying part: function clearRadeos(){ document.checkout_payment.cot_gv.checked=!document.checkout_payment.cot_gv.checked; for (counter = 0; counter < document.checkout_payment.payment.length; counter++) { // If a radio button has been selected it will return true // (If not it will return false) if (document.checkout_payment.cot_gv.checked){ document.checkout_payment.payment[counter].checked = false; document.checkout_payment.payment[counter].disabled=true; //document.checkout_payment.cot_gv.checked=false; } else { document.checkout_payment.payment[counter].disabled=false; //document.checkout_payment.cot_gv.checked=true; } } }<? } else { $coversAll=false;?> function clearRadeos(){ document.checkout_payment.cot_gv.checked=!document.checkout_payment.cot_gv.checked; }<? } ?> <?php // #################### End Added CGV JONYO ###################### ?> //--></script> <?php // #################### Begin Added CGV JONYO ###################### ?> <?php // echo $payment_modules->javascript_validation(); ?> <?php echo $payment_modules->javascript_validation($coversAll); ?> <?php // #################### End Added CGV JONYO ###################### ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> I guess }<? } else { $coversAll=false;?> function clearRadeos(){ document.checkout_payment.cot_gv.checked=!document.checkout_payment.cot_gv.checked; }<? } ?> <?php // #################### End Added CGV JONYO ###################### ?> //--></script> are the lines before ... and then there is only <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> :blink: I think I do not use any payment contrib ... only AllProducts, EP, HeaderTagsController, GoogleXMLSitemap, MustAgreeToTerms, UltimateSEOURLs, SiteMap, UserTracking and oscAffiliate. Maybe the last ...!? Hm, I'm really confused now ...?!?
  10. Yes, I guess you are right with that :-" So, this is my html output: <!-- start get_javascript(applicationtop2header) //--> <script language="javascript"><!-- var selected; var submitter = null; function submitFunction() { submitter = 1; } function selectRowEffect(object, buttonSelect) { // #################### Begin Added CGV JONYO ###################### if (!document.checkout_payment.payment[0].disabled){ // #################### End Added CGV JONYO ###################### if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_payment.payment[0]) { document.checkout_payment.payment[buttonSelect].checked=true; } else { document.checkout_payment.payment.checked=true; } } // #################### Begin Added CGV JONYO ###################### } // #################### End Added CGV JONYO ###################### function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } function clearRadeos(){ document.checkout_payment.cot_gv.checked=!document.checkout_payment.cot_gv.checked; } //--></script> <script language="javascript"><!-- function check_form() { var error = 0; var error_message = "Please fill in correctly.\n\n"; var payment_value = null; if (document.checkout_payment.payment.length) { for (var i=0; i<document.checkout_payment.payment.length; i++) { if (document.checkout_payment.payment[i].checked) { payment_value = document.checkout_payment.payment[i].value; } } } else if (document.checkout_payment.payment.checked) { payment_value = document.checkout_payment.payment.value; } else if (document.checkout_payment.payment.value) { payment_value = document.checkout_payment.payment.value; } if (payment_value == null && submitter != 1) { error_message = error_message + "* Please choose a method of payment.\n"; error = 1; } if (error == 1 && submitter != 1) { alert(error_message); return false; } else { return true; } } //--></script> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body onload="info()"> <!-- header, not used <table width="100%" border="1" cellpadding="3" cellspacing="0"> <tr class="header"><td> </td> </tr> </table> --> Line 97 is <body onload="info()"> Any idea?
  11. Hello! I'm installed CCGV 5.19 on my osC 2.2.2. Everything seemed to be perfect ... but while I made an order myself to test it I noticed a problem: After installing the 2 modules a customer cannot complete his order anymore: There is no way to leave the page where it's possible to type in the voucher code. It's the checkout_payment.php ... and IE gives an error message "Object expected in row 97". This is my code: if (!tep_session_is_registered('comments')) tep_session_register('comments'); $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); // #################### Added CGV ###################### $total_count = $cart->count_contents_virtual(); //ICW ADDED FOR CREDIT CLASS SYSTEM // #################### End Added CGV ###################### // THIS HERE IS ROW 97 - IN MY CODE IT IS EMPTY // load all enabled payment modules require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment; I don't understand what's wrong there!? Can somebody help to fix this? :rolleyes:
  12. Didn't anybody have the same problem in the past? :( Would you please tell me how you solved that ...? :rolleyes:
  13. Addition: I guess I edited the seo_cache.php last time: function strip($convert_me) { $strip_array = array(""","'",chr(33),chr(34),chr(35),chr(36),chr(37),chr(38),chr(39),chr(40),chr(41),chr(42),chr(43),chr(44),chr(46),chr(47),chr(58),chr(59),chr(60),chr(61),chr(62),chr(63),chr(91),chr(92),chr(93),chr(94),chr(95),chr(96),chr(123),chr(124),chr(125),chr(126) ); $strip_array2 = array(chr(45)." "); $convert_me = str_replace($strip_array, '', $convert_me); $convert_me = str_replace($strip_array2, ' ', $convert_me); $convert_me = str_replace(array(' ', ' ', '__', '--'), '-', $convert_me); $convert_me = strtolower($convert_me); return $convert_me; } But $strip_array2 = array(chr(45)." "); doesn't do anything without a space after '-' ... so this doesn't cause the problem ...
  14. I updated my Contrib to version 2.1e now. Now URLs for all products named like Part1-Part2 are changed to part1part2-p-x.html (while x ist the products number ...) So - where can I change this? I want the '-' also be shown in my URLs ... Does anyone know? (I know I changed that already in my already version ... but maybe I'm too stupid to find the place now!? I don't know ...;))
  15. Hi everybody! I actually have a problem with SEO URLs again. Well, I think it might be one ... perhaps I'm also wrong!? :huh: However, some1 will have a second (or a minute ;)) for me ...!? :rolleyes: So, my SEO URls works fine so far: Alle categories + also all products linked in boxes ("new products" or "bestsellers") are OK. Their links point to the html file being converted by mod rewrite. The same for all products listed as a search result. But it doesn't work if I go into a category. Then the links are still shown as product_info.php?... Is this normal? I thought these links also should be transformed like I saw i many other shops and I thought I have seen in my shop before!? But I also can't imagine what I should have done causing this!?
×
×
  • Create New...