Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

herbien

Pioneers
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Sylvain

herbien's Achievements

  1. I have exactly the same problem... Here is my error message : Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/asiawh9/public_html/shop_sylvain/catalog/admin_manager/edit_news.php on line 94 and here is the line 94 : $num_filas=mysql_num_rows($query)()); For information here is the main file arround line 94 /*------------------------------------------------*/ $conectar = mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD) or die(ERROR_DB); $consulta="select name from languages"; $query=mysql_query($consulta,$conectar); $num_filas=mysql_num_rows($query) or exit(mysql_error()); echo '<br>'; $i=0; while ($i < $num_filas) { $result1[$i]=mysql_result($query,$i); echo "<b>" . $result1[$i] . "</b>"; include("form_noticia.php"); $i++; echo "<br><br>"; } /*---------------------------------------------------*/ When I try with the exit(mysql_error()) function here is the message I have: No database selected But I don't understand why I receive this message. If somebody can help me to make this contribution working... Thanks a lot.
  2. Hello, Thanks for this great and very usefull contribution. I have approximately 6000 items to import in my shop, from a CSV file. Whem I'm importing this file using Easy CSV, I have approximately 1000 items missing in my shop, and few log files were created on the Excel/Calc Import page. On the log files are the items who are not in the shop. When I try to clic on "Import" button of this CSV log files, I have the following error message: "Row 2: The count of fields is wrong". For exemple, here is a line of the log csv file: CATALOGUE COMPLET 1 "0205650060" "" "" "" "" "" "ECROU" "1" "" "0.2691" "0.2" "" "" "" "" "" "" "" "AIXAM" I'm using OS Commerce version 2.2 RC1 FR W3C 3 and PHP Version 5.1.6 And here is the adress of the shop: http://www.garagedu12.com/boutique/catalog/index.php Do you have any idea ? Is the problem on my CSV file ? Thanks in advance for your help.
×
×
  • Create New...