Latest News: (loading..)

TomThumb

Members
  • Content count

    347
  • Joined

  • Last visited

2 Followers

About TomThumb

Profile Information

  • Real Name
    The Caped Digit
  • Website
  1. Try using the double quoted version in place of the single quoted version for these lines of code. require('includes/application_top.php'); $connection = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD) or die("Couldn't make connection."); // select database $db = mysql_select_db(DB_DATABASE, $connection) or die(mysql_error()); // Si la langue n'est pas sp?cifi?e if ($HTTP_GET_VARS['language'] == "") { $lang_query = tep_db_query("select languages_id, code from " . TABLE_LANGUAGES . " where directory = '" . $language . "'"); } else { $cur_language = tep_db_output($HTTP_GET_VARS['language']); $lang_query = tep_db_query("select languages_id, code from " . TABLE_LANGUAGES . " where code = '" . $cur_language . "'"); }
  2. In the rss.php look for: // create SQL statement $sql = "SELECT * FROM `products` ORDER BY 'products_id' where products_status = '1' DESC LIMIT " . MAX_DISPLAY_SEARCH_RESULTS; It shows the last X products added in descending order, newest first, depending on what you have the Max Search Results set to in the admin. You can modify this SELECT statement to vary your results.
  3. I think this is in includes/application_top.php
  4. Is Authorize.net still in test mode? It will say so at the top of the receipt you get from them. Login to Authorize.net, Go to settings and profiles, General Settings, Test mode.
  5. Set them all to false and enable them one at a time. If none still show up uninstall them all and install them one at a time until you find the problem. Let us know the results so we can focus on the problem.
  6. I never saw an answer to this problem in the forum. I have spent the last few hours trying to do the same thing. While I couln't get iframe to work because the content is dynamic and not a URL, I accomplished the same effect using the code below: <ilayer name="scroll1" width=170 height=150 clip="0,0,170,150"> <layer name="scroll2" width=170 height=150 bgColor="lightyellow"> <div id="scroll3" style="width:170px;height:150px;background-color:lightyellow;overflow:auto"> $content </div> </layer> </ilayer> <script> /*********************************************** * Scrollable content Script- ? Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var nsstyle='display:""' if (document.layers) var scrolldoc=document.scroll1.document.scroll2 function up(){ if (!document.layers) return if (scrolldoc.top<0) scrolldoc.top+=10 temp2=setTimeout("up()",50) } function down(){ if (!document.layers) return if (scrolldoc.top-150>=scrolldoc.document.height*-1) scrolldoc.top-=10 temp=setTimeout("down()",50) } function clearup(){ if (window.temp2) clearInterval(temp2) } function cleardown(){ if (window.temp) clearInterval(temp) } </script>
  7. Great work to everyone! I have one small error when the paypal redirects to my store. On Post 42 devosc shows what to do if you have Authorizenet Consolidated 1.7 installed and on Post 46 devosc shows what to do if you have CCGV installed. What if you have both? How do you handle this $order_totals = $order_total_modules->process(); Many thanks.
  8. I believe tep_array_merge was phased out. I think changing it in admin/orders_check.php on line 456 to array_merge will fix it.
  9. Have you added any contributions that changed files in the admin area? Have you tried replacing /admin/modules.php? Something might have happened to it.
  10. It builds this list based on the files in /catalog/includes/modules/order_total so if the files are not there, they will not show up in the admin
  11. You can use the html special characters see HTML Special Characters
  12. Store Pickup Shipping Module
  13. The else on 77 is not closed. Add closing bracket } like below around line 246 <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } // added to close else from line 77 ?>
  14. sinryder, This error is the sql statement is returning a NULL value for the sum when all items are set to 0. You can fix this by adding this line if (is_null($summa)) {$summa = 0; } directly below this line $summa=$list[summa]; So your final code will look like this $list=tep_db_fetch_array($q); $summa=$list[summa]; if (is_null($summa)) {$summa = 0; } tep_db_query("update products set products_quantity=$summa where products_id=$VARS[product_id]");
  15. sinryder, yes, it is ok remove all references to 'products_attributes_quantity'