Jump to content

FHCeramics

Members
  • Content count

    122
  • Joined

  • Last visited

Posts posted by FHCeramics


  1. Hi, tried latest version of easymap, didn't work so when back and installed version 1.1 asin this forum it was apparently the only one to work. Everything seems fine except for where the map is supposed to be, there is only a thin frame and no map. Here is the esymap as I have it installed :

     $Id: easymap.php,v 1.1 2005/12/31 by Jack_mcs
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Copyright (c) 2003 osCommerce
    
     Released under the GNU General Public License
    */
    
     require('includes/application_top.php');
    
     require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_EASYMAP);
    
     $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_EASYMAP));
    
     $action = (isset($_POST['action']) ? $_POST['action'] : '');
     $line = array();
     $line = explode(",", EM_LINES_COORD);
    
     if (tep_not_null($action)) {  
    $longitude = $_POST['longitude'];
    $lattitude = $_POST['lattitude'];
     }
     else
     {
    $longitude = EM_LONGITUDE;
    $lattitude = EM_LATTITUDE;
     } 
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html 
    xmlns="http://www.w3.org/1999/xhtml"xmlns:v="urn:schemas-microsof­t-com:vml"> 
    
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    
    <!-- BOC googlemap //-->
     <style type="text/css">
    v\:* {
      behavior:url(#default#VML);
    }
    </style>
     <script src="http://maps.google.com/maps?file=api&v=2&key=keycode removed" type="text/javascript"></script>
    
    <script type="text/javascript">
    //<![CDATA[
    
    function onLoad() {
     var map = new GMap(document.getElementById("map"));
     map.centerAndZoom(new GPoint(<?php echo $longitude; ?>, <?php echo $lattitude; ?>), 4); 
    
     <?php if (EM_SHOW_MAP_VIEW == 'true') { ?>
      map.addControl(new GMapTypeControl());
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_SIZE == 'true') { ?>
      map.addControl(new GSmallMapControl());		 
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_PANNING == 'true') { ?>
      map.addControl(new GLargeMapControl());
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_COORDINATES == 'true') { ?>
      GEvent.addListener(map, "moveend", function() {
    	var center = map.getCenterLatLng();
    	var latLngStr = '(' + center.y + ', ' + center.x + ')';
    	document.getElementById("message").innerHTML = latLngStr;
      });
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_LOCATION == 'true') { ?>
      map.openInfoWindow(map.getCenterLatLng(),
    	   document.createTextNode("<?php echo EM_LOCATION_TEXT; ?>"));
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_MARKER == 'true') { ?> 
      var bounds = map.getBoundsLatLng();
      var width = bounds.maxX - bounds.minX;
      var height = bounds.maxY - bounds.minY;
      var point = new GPoint(bounds.minX + width * <?php echo EM_LOCATION_X; ?>,
    						 bounds.minY + height * <?php echo EM_LOCATION_Y; ?>);
      var marker = new GMarker(point);
      map.addOverlay(marker);   
     <?php } ?>
    
     <?php if (EM_SHOW_MAP_LINES == 'true') { ?>	
     // Add a polyline with 5 points. Sort the points by
     // longitude so that the line does not intersect itself.
      var bounds = map.getBoundsLatLng();
      var width = bounds.maxX - bounds.minX;
      var height = bounds.maxY - bounds.minY;
      var points = [];   
      points.push(new GPoint(bounds.minX + width * <?php echo $line[0]; ?>,
    					 bounds.minY + height * <?php echo $line[1]; ?>));
      points.push(new GPoint(bounds.minX + width * <?php echo $line[2]; ?>,
    					 bounds.minY + height * <?php echo $line[3]; ?>));
      points.push(new GPoint(bounds.minX + width * <?php echo $line[4]; ?>,
    					 bounds.minY + height * <?php echo $line[5]; ?>));						 						 
      points.push(new GPoint(bounds.minX + width * <?php echo $line[6]; ?>,
    					 bounds.minY + height * <?php echo $line[7]; ?>));						 						 
      points.push(new GPoint(bounds.minX + width * <?php echo $line[8]; ?>,
    					   bounds.minY + height * <?php echo $line[9]; ?>));						 						 
    
      points.sort(function(p1, p2) { return p1.x - p2.x; });
      map.addOverlay(new GPolyline(points));	 
     <?php } ?>
    }
    
    //]]>
      </script>
    <!-- EOC googlemap //-->
    <link rel="stylesheet" type="text/css" href="easymenu.css">
    </head>
    <body  onload="onLoad()">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
      <td class="columnLeft" width="<?php echo COLUMN_LEFT_WIDTH; ?>" valign="top"><table  border="0" width="<?php echo COLUMN_LEFT_WIDTH; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
    </table></td><td background="images/links/shadow_column_left.gif">   </td>
    <td><?php echo tep_draw_separator('pixel_trans.gif', COLUMN_SPACER_WIDTH, '1'); ?></td>
    
    <!-- body_text //-->
    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
    	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    	  <tr>
    		<td><h1><?php echo HEADING_TITLE; ?></h1></td>
    		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
    	  </tr>
    	</table></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
    	  <tr>
    		<td class="main"><?php echo TEXT_INFORMATION; ?></td>
    	  </tr>
    	  <?php if (EM_SHOW_MAP_LINES == 'true') { ?>
    	   <tr>
    		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    	   </tr>		  
    	   <tr>
    		<td class="main"><?php echo TEXT_DRIVING_INSTRUCTIONS; ?></td>
    	   </tr>		  
    	  <?php } ?>		 
    	</table></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
    
      <!-- Start map code //-->
      <tr>
       <td>
    	<div id="map" style="width: 500px; height: 400px; border: .2em; border-style: ridge; "></div>
    	<div id="message"></div>
       </td>
      </tr>
    
      <!-- BEGIN FORM -->
    	<tr>
       <td align="right"><?php echo tep_draw_form('seotips', tep_href_link(FILENAME_EASYMAP, '', 'NONSSL'), 'post', 'onSubmit="return true;" onReset="return true"') . tep_draw_hidden_field('action', 'process'); ?></td>
      </tr>		  
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td>
      </tr>
      <tr> 
       <td width="40%"><table border="1">
    	<tr>
    	 <th>Lattitude </th>
    	 <th>Longitude </th>
    	</tr>
    	<tr> 
    	 <td><?php echo tep_draw_input_field('lattitude', $lattitude, false); ?> </td>
    	 <td><?php echo tep_draw_input_field('longitude', $longitude, false); ?> </td>
    	</tr>
       </table></td>	 
      </tr>
      <tr> 
       <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '20'); ?></td>
      </tr>	  
    
      <tr>
       <td width="40%"><table border="0">   
    	<tr>
    	 <td width="45%"> </td>
    	 <td><?php echo (tep_image_submit('button_update.gif', IMAGE_UPDATE) ) . ' <a href="' . tep_href_link(FILENAME_EASYMAP, '') .'">' . '</a>'; ?></td>
    	</tr>
       </table></td>
      </tr> 
      <tr> 
       <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '20'); ?></td>
      </tr>	  
      </form>
    	<!-- END FORM --> 
    <!-- End Map code //-->
    
      <tr>
    	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
    	  <tr class="infoBoxContents">
    		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
    		  <tr>
    			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    			<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
    			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    		  </tr>
    		</table></td>
    	  </tr>
    	</table></td>
      </tr>
    </table></td>
    	  <td class="columnRight"><?php echo tep_draw_separator('pixel_trans.gif', COLUMN_SPACER_WIDTH, '1'); ?></td>
      	 <td >  </td>
    <!-- body_text_eof //-->
    <td width="<?php echo COLUMN_RIGHT_WIDTH; ?>" valign="top"><table border="0" width="<?php echo COLUMN_RIGHT_WIDTH; ?>" cellspacing="0" cellpadding="2">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
    </table></td>
     </tr>
    </table>
    <!-- body_eof //-->
    
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

     

    and here is the link for what I am getting;

     

    http://shopping.fhceramics.com/easymap.php

     

    Any help or suggestions would be appreciated and thanks in advance


  2. Is there no one out there including the contributor of "sppc_attributes_rev1", that can help me with this as I really want to get my site finished.

    Here is the error message I get on my server

    PHP Parse error:  syntax error, unexpected T_CASE in /hermes/web09/b2833/pow.bcbigwolf/htdocs/fhceramics/catalog/admin/categories.php on line 361

    and here is lines 360 - 370 0f admin/categories.php

    // copy image only if modified
    	$products_image = new upload('products_image');
    	$products_image->set_destination(DIR_FS_CATALOG_IMAGES);
    	if ($products_image->parse() && $products_image->save()) {
    	  $products_image_name = $products_image->filename;
    	} else {
    	  $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : '');
    	}
    	break;
    }
     }


  3. Hi, when I installed the "sppc_attributes_rev1", I get the following error when I tryt to add one of the sample products to the shopping cart, but prior to this, everything was working fine. Here is the error message that I'm getting.

     

     

    QUOTE

    1052 - Column 'products_id' in where clause is ambiguous

     

    select products_status, options_id, options_values_id, attributes_hide_from_groups, '0' as hide_attr_status from products left join products_attributes using(products_id) where products_id = '25'

     

    [TEP STOP]

     

    Is there no one out there including the contributor of "sppc_attributes_rev1", that can help me with this as I really want to get my site finished.


  4. Hi, when I installed the "sppc_attributes_rev1", I get the following error when I tryt to add one of the sample products to the shopping cart, but prior to this, everything was working fine. Here is the error message that I'm getting.

     

    1052 - Column 'products_id' in where clause is ambiguous

     

    select products_status, options_id, options_values_id, attributes_hide_from_groups, '0' as hide_attr_status from products left join products_attributes using(products_id) where products_id = '25'

     

    [TEP STOP]


  5. I'm getting the same problem, main categories are working fine, but the subcategories are not functioning for instead of category title and description, this is showing up

      	$cat_description_query = tep_db_query ("select categories_heading_title, categories_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $current_category_id . "' and language_id = '" . (int)$languages_id . "'");
    $cat_description = tep_db_fetch_array ($cat_description_query);
    

    any suggestions or help would be greatly appreciated

    I have installed this contribution and it works perfectly at the first category level, but on sub categories it is not showing the category description. The website can be found here - www.sadbox.co.uk

     

    If you choose "Daylight Lamps" the category description is shown, but all other sub categories and categories without sub categories are not showing their descriptions.

     

    In the admin panel everything is working fine and all categories have a description and all information is being held in the database. I have read this entire thread and noticed that some people were having problems with header tag controller but I used joeri's fix and it seems to have worked.

     

    I think it has something to do with the last piece of code that needs to be changed in the index.php file, as this is the piece of code that should show the category description in sub categories and categories without any sub categories.

     

    <TD COLSPAN="2" CLASS="main">
    		<?php echo tep_image(DIR_WS_IMAGES . $image, (!empty($cat_description['categories_heading_title']) ? $cat_description['categories_heading_title'] : HEADING_TITLE), HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT, 'ALIGN=right'); ?>
    		<?php echo $cat_description['categories_description']; ?>
    		</TD>

     

    This piece of code - <?php echo $cat_description['categories_description']; ?> is not retrieving the category description.

     

    Anybody else with the same problem?


  6. I have a fairly modified site and run sppc on it. Am trying to install version 1.6.1.2 of this contribution on it but don't know enough about writing code to make changes when coding has to be altered. Main problem so far is index.php, I will show the code that is supposed to be installed first, then the code as it appears in my index.php. I would be really thankful if someone could help me out with this.

    // show the products of a specified manufacturer
       if (isset($HTTP_GET_VARS['manufacturers_id'])) {
         if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only a specific category
    // ################## Added Enable Disable Categorie #################
    //      $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_CATEGORIES . " c on p2c.categories_id = c.categories_id where c.categories_status = '1' and p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
    
         } else {
    // We show them all
    // ################## Added Enable Disable Categorie #################
    //      $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c on p.products_id = p2c.products_id left join " . TABLE_CATEGORIES . " c on p2c.categories_id = c.categories_id where c.categories_status = '1' and p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
         }
       } else {
    // show the products in a given categorie
         if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only specific catgeory
    // ################## Added Enable Disable Categorie #################
    //        $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_CATEGORIES . " c on c.categories_id = p2c.categories_id where c.categories_status = '1' and p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
         } else {
    // We show them all
    // ################## Added Enable Disable Categorie #################
    //        $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_CATEGORIES . " c on c.categories_id = p2c.categories_id where c.categories_status = '1' and p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
         }
       }
    
    

    and here is how my index.php looks

    // show the products of a specified manufacturer
       if (isset($HTTP_GET_VARS['manufacturers_id'])) {
         if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only a specific category
    // BOF Separate Pricing Per Customer
    if ($status_product_prices_table == true) {
    $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, tmp_pp.products_price, p.products_tax_class_id, IF(tmp_pp.status, tmp_pp.specials_new_products_price, NULL) as specials_new_products_price, IF(tmp_pp.status, tmp_pp.specials_new_products_price, tmp_pp.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd left join " . $product_prices_table . " as tmp_pp using(products_id), " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";		
    } else { // either retail or no need to get correct special prices
    $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS_RETAIL_PRICES . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
    } // end else { // either retail...
    // EOF Separate Pricing Per Customer
         } else {
    // We show them all
    // BOF Separate Pricing Per Customer
           if ($status_product_prices_table == true) {
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, tmp_pp.products_price, p.products_tax_class_id, IF(tmp_pp.status, tmp_pp.specials_new_products_price, NULL) as specials_new_products_price, IF(tmp_pp.status, tmp_pp.specials_new_products_price, tmp_pp.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . $product_prices_table . " as tmp_pp using(products_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";	
    } else { // either retail or no need to get correct special prices
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m  left join " . TABLE_SPECIALS_RETAIL_PRICES . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
    } // end else { // either retail...
    // EOF Separate Pricing Per Customer
         }
       } else {
    // show the products in a given categorie
         if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only specific catgeory;  
    // BOF Separate Pricing Per Customer
           if ($status_product_prices_table == true) {
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, tmp_pp.products_price, p.products_tax_class_id, IF(tmp_pp.status, tmp_pp.specials_new_products_price, NULL) as specials_new_products_price, IF(tmp_pp.status, tmp_pp.specials_new_products_price, tmp_pp.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . $product_prices_table . " as tmp_pp using(products_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";	
           } else { // either retail or no need to get correct special prices
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS_RETAIL_PRICES . " s using(products_id) where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
           } // end else { // either retail...
    // EOF Separate Pricing Per Customer
         } else {
    // We show them all
    // BOF Separate Pricing Per Customer
           if ($status_product_prices_table == true) {
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, tmp_pp.products_price, p.products_tax_class_id, IF(tmp_pp.status, tmp_pp.specials_new_products_price, NULL) as specials_new_products_price, IF(tmp_pp.status, tmp_pp.specials_new_products_price, tmp_pp.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd left join " . $product_prices_table . " as tmp_pp using(products_id) left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS . " p" . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
           } else { // either retail or no need to get correct special prices
           $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS_RETAIL_PRICES . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
         } // end else { // either retail...
    // EOF Separate Pricing per Customer
         }
       }
    


  7. Can anyone please help me with this?

    Hello, I've installed Three images with admin 1.0 http://www.oscommerce.com/community/contri...l/search,3image and am trying to get easypopulate to recognize theadditional images to upload and download. I am using Easy Populate 2.76d-MS2 - Default Language : English(1) . I followed this
    			// unmcomment these lines if you are running the image mods
    		/*
    			$query .=		. $v_products_mimage . '", "'
    						. $v_products_bimage . '", "'
    						. $v_products_subimage1 . '", "'
    						. $v_products_bsubimage1 . '", "'
    						. $v_products_subimage2 . '", "'
    						. $v_products_bsubimage2 . '", "'
    						. $v_products_subimage3 . '", "'
    						. $v_products_bsubimage3 . '", "'
    		*/
    

    here is what it shows in my sql product table for the images

      products_image varchar(64) latin1_swedish_ci  Yes NULL  Browse distinct values Change Drop Primary Unique Index Fulltext 
     products_image_medium varchar(64) latin1_swedish_ci  No   Browse distinct values Change Drop Primary Unique Index Fulltext 
     products_image_large varchar(64) latin1_swedish_ci  No   Browse distinct values Change Drop Primary Unique Index Fulltext 
    

    Changed easypopulate to this but with no success

    			// unmcomment these lines if you are running the image mods
    		/*
    			$query .=		. $v_products_mimage . '", "'
    						. $v_products_bimage . '", "'
    						. $v_products_image_medium . '", "'
    						. $v_products_bimage_medium . '", "'
    						. $v_products_image_large . '", "'
    						. $v_products_bimage_large . '", "'
    						. $v_products_subimage3 . '", "'
    						. $v_products_bsubimage3 . '", "'
    		*/
    
    

    If anyone can help me with this it would be greatly appreciated


  8. Hello, I've installed Three images with admin 1.0 http://www.oscommerce.com/community/contri...l/search,3image and am trying to get easypopulate to recognize theadditional images to upload and download. I am using Easy Populate 2.76d-MS2 - Default Language : English(1) . I followed this

    			// unmcomment these lines if you are running the image mods
    		/*
    			$query .=		. $v_products_mimage . '", "'
    						. $v_products_bimage . '", "'
    						. $v_products_subimage1 . '", "'
    						. $v_products_bsubimage1 . '", "'
    						. $v_products_subimage2 . '", "'
    						. $v_products_bsubimage2 . '", "'
    						. $v_products_subimage3 . '", "'
    						. $v_products_bsubimage3 . '", "'
    		*/
    

    here is what it shows in my sql product table for the images

      products_image varchar(64) latin1_swedish_ci  Yes NULL  Browse distinct values Change Drop Primary Unique Index Fulltext 
     products_image_medium varchar(64) latin1_swedish_ci  No   Browse distinct values Change Drop Primary Unique Index Fulltext 
     products_image_large varchar(64) latin1_swedish_ci  No   Browse distinct values Change Drop Primary Unique Index Fulltext 
    

    Changed easypopulate to this but with no success

    			// unmcomment these lines if you are running the image mods
    		/*
    			$query .=		. $v_products_mimage . '", "'
    						. $v_products_bimage . '", "'
    						. $v_products_image_medium . '", "'
    						. $v_products_bimage_medium . '", "'
    						. $v_products_image_large . '", "'
    						. $v_products_bimage_large . '", "'
    						. $v_products_subimage3 . '", "'
    						. $v_products_bsubimage3 . '", "'
    		*/
    
    

    If anyone can help me with this it would be greatly appreciated


  9. Thats what I get for not fuly understanding PHP and doing it late at night. Here is the error that I'm getting

    and here are lines 1 - 22 of newsdesk.php

    <?php

     

    require('includes/application_top.php');

    require('includes/functions/newsdesk_general.php');

     

    if ($HTTP_GET_VARS['action']) {

    switch ($HTTP_GET_VARS['action']) {

     

    // -------------------------------------------------------------------------------------------------------------------------------------------------------------

    case 'unlink_image':

    // -------------------------------------------------------------------------------------------------------------------------------------------------------------

     

    // delete file (if exists)

    $filename = tep_get_local_path(DIR_FS_CATALOG_IMAGES . $HTTP_GET_VARS['newsdesk_image']);

     

    try { [b]This is line 16[/b]

    if (file_exists($filename)) unlink($filename);

    }

    catch(Exception $e)

    {

    $filename='';

    }

    [/quote]

     

    Thanks to Chris Dunning for the fix to this problem, here it is for anyone else that has the same problem:[quote]Find this section:

     

    try {

    if (file_exists($filename)) unlink($filename);

    }

    catch(Exception $e)

    {

    $filename='';

    }

    Replace with this:

     

    if (file_exists($filename)) unlink($filename);

     

    That should take care of it.


  10. you should turn ON Error reporting in php.ini, so you can see what error lies below!

     

    Thats what I get for not fuly understanding PHP and doing it late at night. Here is the error that I'm getting

    PHP Parse error: syntax error, unexpected '{' in /hermes/web09/b2833/pow.bcbigwolf/htdocs/ceramics/catalog/admin/newsdesk.php on line 16

    and here are lines 1 - 22 of newsdesk.php

    <?php
    
    require('includes/application_top.php');
    require('includes/functions/newsdesk_general.php');
    
    if ($HTTP_GET_VARS['action']) {
    switch ($HTTP_GET_VARS['action']) {
    
    // -------------------------------------------------------------------------------------------------------------------------------------------------------------
    case 'unlink_image':
    // -------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    // delete file (if exists)
    $filename = tep_get_local_path(DIR_FS_CATALOG_IMAGES . $HTTP_GET_VARS['newsdesk_image']);
    
    try {	[b]This is line 16[/b]
    	if (file_exists($filename)) unlink($filename);
    }
    catch(Exception $e)
    {
    	$filename='';
    }


  11. Installed the 1.49 version, and the catalog section appears to work fine, and in admin everything appears to work fine except when you click on Article Management, then all I get is a completely blank page, no header, footer or columns. But I don't get any error messages. Any ideas of what I might have overlooked?


  12. can someone please assist me with this contribution?

     

    1. This is on the infobox. I need the words Text REMITENTE to be deleted or changed to By. Also the name does not center.

    Testimonials

     

     

    My sister owns the greatest bakery!...

    Read More

     

    TEXT_REMITENTETara Hayman

     

    Ijust installed this contribution and get the above problem also, can someone tell me how to change this as requested above. Thanks in advance.


  13. I've got EP v.290b_1 installed and everything was working fine till I hit the 1000 product mark, now when I try to download I get an error message, which according to my provider is caused by it timing out. According to my provider, they have a restriction of 30 seconds script execution time on our servers, so is there anyway to work around this, or is EP only going to be good for uploading? :(


  14. I installed the contribution and it appears to be fine but have a problem with the contact us section. I have the Super Contact us enhancement 1.3 installed and running into problems. Here is what it shows in the install instructions

    if (tep_validate_email($email_address)) {

    tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

     

    tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));

    } else {

    $error = true;

     

    $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);

    }

    . Here is what mine shows
    if (tep_validate_email($email_address)) {

    tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $emailsubject, $enquiry, $name, $email_address);

    if (CONTACT_US_LIST !=''){

    $send_to_array=explode("," ,CONTACT_US_LIST);

    preg_match('/\<[^>]+\>/', $send_to_array[$send_to], $send_email_array);

    $send_to_email= eregi_replace (">", "", $send_email_array[0]);

    $send_to_email= eregi_replace ("<", "", $send_to_email);

     

    tep_mail(preg_replace('/\<[^*]*/', '', $send_to_array[$send_to]), $send_to_email, $emailsubject, $enquiry, $name, $email_address);

    }else{

    tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));

    }

    // EOF Super Contact us enhancement 1.3

    } else {

    $error = true;

     

    $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);

    }

    }

     

    and this is what it says to replace it with:

    // BOF Anti Robot Registration v2.5

    if (!tep_validate_email($email_address)) {

    $error = true;

    $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);

    } elseif (!$entry_antirobotreg_error == true) {

    tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

    tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));

    }

     

    // EOF Anti Robotic Registration v2.5

    Second section is this, it shows this
    <tr>

    <td class="main"><?php echo ENTRY_ENQUIRY; ?></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>

    </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    but mine looks like this -
    </select><br />

    <?php echo ENTRY_ENQUIRY; ?><BR>

    <?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15, tep_sanitize_string($_POST['enquiry']), '', false); ?>

    <br />

    </td></tr></table></td>

    </tr>

    </table>

    <br />

    <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

    <tr class="infoBoxContents">

    <td><table border="0" width="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    <td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    </tr>

    </table></td>

    </tr>

    </table></td></tr>

    <?php

    }

    ?>

    <!-- EOF Super Contact us enhancement 1.3 //-->

     

    </table></form></td>

    <!-- body_text_eof //-->

     

    and here is the addition it says to add

    <?php

    // BOF Anti Robot Registration v2.5

    if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') {

    ?>

    <tr>

    <td class="main"><b><?php echo CATEGORY_ANTIROBOTREG; ?></b></td>

    </tr>

    <tr>

    <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

    <tr class="infoBoxContents">

    <td><table border="0" cellspacing="2" cellpadding="2">

    <tr>

    <?php

    if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') {

    if ($is_read_only == false || (strstr($PHP_SELF,'contact_us')) ) {

    $sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . tep_session_id() . "'";

    if( !$result = tep_db_query($sql) ) { die('Could not delete validation key'); }

    $reg_key = gen_reg_key();

    $sql = "INSERT INTO ". TABLE_ANTI_ROBOT_REGISTRATION . " VALUES ('" . tep_session_id() . "', '" . $reg_key . "', '" . time() . "')";

    if( !$result = tep_db_query($sql) ) { die('Could not check registration information'); }

    ?>

    <tr>

    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">

    <tr>

    <td class="main"><table border="0" cellspacing="0" cellpadding="2">

    <tr>

    <td class="main" width="100%" NOWRAP><span class="main"> <?php echo ENTRY_ANTIROBOTREG; ?></span></td>

    </tr>

    <tr>

    <td class="main" width="100%">

    <?php

    $check_anti_robotreg_query = tep_db_query("select session_id, reg_key, timestamp from anti_robotreg where session_id = '" . tep_session_id() . "'");

    $new_guery_anti_robotreg = tep_db_fetch_array($check_anti_robotreg_query);

    $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']);

    if ($entry_antirobotreg_error == true) {

    ?>

    <span>

    <?php

    echo $validation_images . ' <br> ';

    echo tep_draw_input_field('antirobotreg') . ' <br><b><font color="red">' . ERROR_VALIDATION . '<br>' . $text_antirobotreg_error . '</b></font>';

    } else {

    ?>

    <span>

    <?php

    echo $validation_images . ' <br> ';

    echo tep_draw_input_field('antirobotreg', $account['entry_antirobotreg']) . ' ' . ENTRY_ANTIROBOTREG_TEXT;

    }

    }

    }

    ?>

    </span>

    </td>

    </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <?php

    }

    // EOF Anti Robot Registration v2.5

    ?>

     

    If someone can help me figure this out, it would be greatly appreciated and thanks in advance.


  15. I installed Popup-image with extra product description for OSC 2.2 MS2 v2.1. Prior to installing this, the popup image was fine, now I get an extremely small popup, and although there are supposed to be scroll bars, non appear. To view, go to

    http://shop.fhceramics.com/product_info.php?products_id=29

    and if you click on the image you will see what I mean. Any help would be greatly appreciated.


  16. Hello, have tried your suggestion and been playing around with it a bit. The problem seems to be in the phpBB section, at least in mine as the user name and password are correct and match both sides, but even trying to login from the phpBB side, it will not recognize the user name for logging in, it will only accept the email addy for the login?


  17. Hi, everything seems to be working fine but when I try to access the forum admin from oscommerce, here is what I get....

    HEADING_TITLE	 
    
    
    
    If you see this page, there was a problem logging in to the forums. You can try to  or else re-check your settings.

    Have tried going through the code but don't see any obvious errors. Any help or suggestions would be greatly appreciated. Thanks in advance


  18. I got the problem with the temp file corrected, and the download aspect of EP is working fine, but with uploading it appears to work fine but doesn't upload anything to the database, nor does it give any errors or confirmation messages. Have installed it on both a clean oscommerce install and one that has the more pics contribution installed and get the same results, and no my php is not version 5.

     

    HOLY FRIGGIN CORNCHIPS BATKIDS!!!!!!

     

    This is one of my favorite kinds of causes of frustrating errors! Simple mistakes that look fine in the code. We have /catalog/ when it is not needed.

    it is causing this kind of error

    Warning: fopen(/home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EP2006Dec02-0202.txt) [function.fopen]: failed to open stream: No such file or directory in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 678
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 679
    
    Warning: fclose(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 680
    You can get your file in the Tools/File Manager here: /home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EPEP2006Dec02-0202.txt

    open the file admin/easypopulate.php and at line 30 you will see

    // Please set DOCUMENT_ROOT to $DOCUMENT_ROOT in your /catalog/admin/includes/configure.php
    $tempdir = DIR_FS_DOCUMENT_ROOT . "/catalog/temp/";

     

    This is what is causing the problem.

     

    simply replace it with this

    // Please set DOCUMENT_ROOT to $DOCUMENT_ROOT in your /catalog/admin/includes/configure.php
    $tempdir = DIR_FS_DOCUMENT_ROOT . "temp/";

     

    That will fix that issue. Nothing further needs to be changed to correct this issue.

     

    For those of you still having probs with the froogle/googlebase feed, I recommend using the store-feeds contribution. google changed the file format for the feeds so the older versions for creating the feeds no longer works. So unless someone has addressed this issue recently for EP....


  19. Actually, you have two problems.

     

    Not only do you have a // between your store name and the catalog directory, you have two "catalog"s in the path.

     

    The // is probably because you have a trailing / on the http//store.thceramics.com in both your configure.php files (store/catalog/includes/configure.php and store/catalog/admin/includes/configure.php). Neither of the server names or cookie domains (assuming you have a SSL certificate) should have a trailing /

     

    The second problem can be taken care of by going to to easypopulate.php file (store/catalog/admin) and near the top of the file, where it defines your two temp directories, remove /catalog from each so you are left with /temp/

     

    This should fix it

    Hi, I got the temp directory fixed but still having the problem of EPEP_v2_76d_MS2 not uploading with no errors showing or confirmation and nothing showing up in the database. I re-installed oscommerce and did a new re-install of oscommerce and installed ep on it still with the same problem with uploading


  20. I installed EP 2.76d on a install that has the Imagemagic 151 and more pics 6 v1.2c. If I use the Export EP or Froogle Products File or create and download file everything works fine. But after adding additional products to the excel sheet and try to upload, it appears to upload, the screen flashes and returns but with no confirmation, and when I check the database nothing has been uploaded, nor do I get any error messages. I don't know if this will help but here is what I get if I try to create a file in the temp directory

    Warning: fopen(/home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EP2006Dec02-0202.txt) [function.fopen]: failed to open stream: No such file or directory in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 678

     

    Warning: fwrite(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 679

     

    Warning: fclose(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 680

    You can get your file in the Tools/File Manager here: /home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EPEP2006Dec02-0202.txt

    Here is the url for the temp dir http://store.fhceramics.com//catalog/temp

     

    I don't know that much about php so any help would be greatly appreciated.. Thanks in advance.

     

     

    --------------------

     

    Your help and suggestions are greatly appreciated.

    Thanks

    Wayne


  21. I installed EP 2.76d on a install that has the Imagemagic 151 and more pics 6 v1.2c. If I use the Export EP or Froogle Products File or create and download file everything works fine. But after adding additional products to the excel sheet and try to upload, it appears to upload, the screen flashes and returns but with no confirmation, and when I check the database nothing has been uploaded, nor do I get any error messages. I don't know if this will help but here is what I get if I try to create a file in the temp directory

    Warning: fopen(/home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EP2006Dec02-0202.txt) [function.fopen]: failed to open stream: No such file or directory in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 678

     

    Warning: fwrite(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 679

     

    Warning: fclose(): supplied argument is not a valid stream resource in /hermes/web09/b2833/pow.bcbigwolf/store/htdocs/catalog/admin/easypopulate.php on line 680

    You can get your file in the Tools/File Manager here: /home/users/web/b2833/pow.bcbigwolf/htdocs//catalog//catalog/temp/EPEP2006Dec02-0202.txt

    Here is the url for the temp dir http://store.fhceramics.com//catalog/temp

     

    I don't know that much about php so any help would be greatly appreciated.. Thanks in advance.

×