Jump to content
VJ

Easy Populate & Products Attributes

Recommended Posts

I apologize if this has been addressed, but I am having trouble searching through this post to find the information I need. I am having an issue with EP - 2.74 changing the price of some of my larger dollar items. Any of my items over $1000 US seem to get reduced to less than $10. Is there a maximum setting I have missed?

Share this post


Link to post
Share on other sites

I apologize if this has been addressed, but I am having trouble searching through this post to find the information I need. I am having an issue with EP - 2.74 changing the price of some of my larger dollar items. Any of my items over $1000 US seem to get reduced to less than $10. Is there a maximum setting I have missed?

Share this post


Link to post
Share on other sites

I apologize if this has been addressed, but I am having trouble searching through this post to find the information I need. I am having an issue with EP - 2.74 changing the price of some of my larger dollar items. Any of my items over $1000 US seem to get reduced to less than $10. Is there a maximum setting I have missed?

Share this post


Link to post
Share on other sites
If you have a comparison tool such as WinDiff or Beyond Compare, you can try this.

after you import using EP, export the entire database using phpMyAdmin. Save that file for later.

edit and safe a product, so that your product now appears correctly.

now export the entire database using phpMyAdmin again.

now compare the two exports files from phpMyAdmin with WinDiff and please report the differences here.

That should help me figure-out what is not getting setup correctly in the EP import.

 

I did it,

 

Product that was bad when imported is "Verino W 100 ml"

I edited it without making changes and now it works fine.

 

Now I paste the differences:

<! is for no edited file.

>! is for edited one.

 

(line 6) <! -- Tiempo de generación: 11-04-2007 a las 17:33:19

!> -- Tiempo de generación: 11-04-2007 a las 17:38:26

 

(line 519) <! INSERT INTO `counter` VALUES ('20060812', 636);

!> INSERT INTO `counter` VALUES ('20060812', 638);

 

(line 1186) <! INSERT INTO `products` VALUES (38, 11, '000067451', '/verino/000067451.gif',

 

32.0000, '0000-00-00 00:00:00', '2007-04-11 00:39:34', NULL, 0.00, 1, 0, 12, 0);

!> INSERT INTO `products` VALUES (38, 11, '000067451', '/verino/000067451.gif',

 

32.0000, '0000-00-00 00:00:00', '2007-04-11 17:37:24', NULL, 0.00, 1, 0, 12, 0);

 

(line 1300) <! INSERT INTO `products_description` VALUES (38, 3, 'Verino W 100 ml', 'Verino W

 

100 ml', '', 6);

!> INSERT INTO `products_description` VALUES (38, 3, 'Verino W 100 ml', 'Verino W

 

100 ml', '', 8);

(line 1354) <! ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ;

!> ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=39 ;

 

(line 1391 only in right file) !>INSERT INTO `products_images` VALUES (38, '', '', '', '', '',

 

'', '', '', '');

 

(line 1643) <! INSERT INTO `sessions` VALUES ('b27b33db96a490709c410d414be2cf20',

 

1176285383,

 

'cart|O:12:"shoppingcart":5:{s:8:"contents";a:0:{}s:5:"total";i:0;s:6:"weight";i:0;s:6:"cartI

 

D";N;s:12:"content_type";b:0;}language|s:7:"espanol";languages_id|s:1:"3";currency|s:3:"EUR";

 

navigation|O:17:"navigationhistory":2:{s:4:"path";a:3:{i:0;a:4:{s:4:"page";s:9:"index.php";s:

 

4:"mode";s:6:"NONSSL";s:3:"get";a:0:{}s:4:"post";a:0:{}}i:1;a:4:{s:4:"page";s:9:"index.php";s

 

:4:"mode";s:6:"NONSSL";s:3:"get";a:2:{s:5:"cPath";s:2:"25";s:6:"osCsid";s:32:"b27b33db96a4907

 

09c410d414be2cf20";}s:4:"post";a:0:{}}i:2;a:4:{s:4:"page";s:16:"product_info.php";s:4:"mode";

 

s:6:"NONSSL";s:3:"get";a:2:{s:5:"cPath";s:2:"25";s:11:"products_id";s:2:"38";}s:4:"post";a:0:

 

{}}}s:8:"snapshot";a:0:{}}');

!> INSERT INTO `sessions` VALUES ('b27b33db96a490709c410d414be2cf20', 1176285692,

 

'cart|O:12:"shoppingcart":5:{s:8:"contents";a:0:{}s:5:"total";i:0;s:6:"weight";i:0;s:6:"cartI

 

D";N;s:12:"content_type";b:0;}language|s:7:"espanol";languages_id|s:1:"3";currency|s:3:"EUR";

 

navigation|O:17:"navigationhistory":2:{s:4:"path";a:3:{i:0;a:4:{s:4:"page";s:9:"index.php";s:

 

4:"mode";s:6:"NONSSL";s:3:"get";a:0:{}s:4:"post";a:0:{}}i:1;a:4:{s:4:"page";s:9:"index.php";s

 

:4:"mode";s:6:"NONSSL";s:3:"get";a:2:{s:5:"cPath";s:2:"25";s:6:"osCsid";s:32:"b27b33db96a4907

 

09c410d414be2cf20";}s:4:"post";a:0:{}}i:2;a:4:{s:4:"page";s:16:"product_info.php";s:4:"mode";

 

s:6:"NONSSL";s:3:"get";a:2:{s:5:"cPath";s:2:"25";s:11:"products_id";s:2:"38";}s:4:"post";a:0:

 

{}}}s:8:"snapshot";a:0:{}}');

!> INSERT INTO `sessions` VALUES ('c6edf79b99c32c1d2d78f296456ceb3c', 1176285684,

 

'language|s:7:"espanol";languages_id|s:1:"3";selected_box|s:7:"catalog";');

 

(line 1786) <! INSERT INTO `whos_online` VALUES (0, 'Guest',

 

'b27b33db96a490709c410d414be2cf20', '87.235.97.238', '1176283904', '1176283941',

 

'/tienda/product_info.php?cPath=25&products_id=38', '', 'Mozilla/5.0 (Windows; U; Windows NT

 

5.1; es-ES; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11');

!> INSERT INTO `whos_online` VALUES (0, 'Guest', 'b27b33db96a490709c410d414be2cf20',

 

'87.235.97.238', '1176283904', '1176284249',

 

'/tienda/product_info.php?cPath=25&products_id=38', '', 'Mozilla/5.0 (Windows; U; Windows NT

 

5.1; es-ES; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11');

Share this post


Link to post
Share on other sites

looks like you may have made a change in your code somewhere, !> INSERT INTO

 

search for !> INSERT INTO in your ep file and you should find it.


John Oligario

 

Knowledge Base Contributions

Share this post


Link to post
Share on other sites
I did it,

 

Product that was bad when imported is "Verino W 100 ml"

I edited it without making changes and now it works fine.

 

Now I paste the differences:

INSERT INTO `products_images` VALUES (38, '', '', '', '', '', '', '', '', '');

OK, looks like the important difference is the product_images table entry. what contribution have you installed that adds extra images to your products?

 

Most likely you will need to make a change to your EP file that creates a "dummy" entry into your products_images table for each imported product.

Share this post


Link to post
Share on other sites
I apologize if this has been addressed, but I am having trouble searching through this post to find the information I need. I am having an issue with EP - 2.74 changing the price of some of my larger dollar items. Any of my items over $1000 US seem to get reduced to less than $10. Is there a maximum setting I have missed?

that's an odd one. you may consider upgrading to 2.76d that I uploaded. can't say I've ever experienced that with the 2.76 versions.

Share this post


Link to post
Share on other sites
OK, looks like the important difference is the product_images table entry. what contribution have you installed that adds extra images to your products?

 

Most likely you will need to make a change to your EP file that creates a "dummy" entry into your products_images table for each imported product.

I have Multi images extra by nico contribution.

How could I make this to EP? I'm beguinner with oscommerce and I have no idea about php.

I need the ability of import with EP.

Share this post


Link to post
Share on other sites
I have Multi images extra by nico contribution.

How could I make this to EP? I'm beguinner with oscommerce and I have no idea about php.

I need the ability of import with EP.

 

Find this section:

 

    if ($v_products_model != "") {
       //   products_model exists!
       array_walk($items, 'print_el');

       // First we check to see if this is a product in the current db.
       $result = tep_db_query("SELECT products_id FROM ".TABLE_PRODUCTS." WHERE (products_model = '". $v_products_model . "')");

       if (tep_db_num_rows($result) == 0)  {
           //   insert into products

           $sql = "SHOW TABLE STATUS LIKE '".TABLE_PRODUCTS."'";
           $result = tep_db_query($sql);
           $row =  tep_db_fetch_array($result);
           $max_product_id = $row['Auto_increment'];
           if (!is_numeric($max_product_id) ){
               $max_product_id=1;
           }
           $v_products_id = $max_product_id;
           echo "<font color='green'> !New Product!</font><br>";

           $query = "INSERT INTO ".TABLE_PRODUCTS." (
                   products_image,
                   products_model,
                   products_price,
                   products_status,
                   products_last_modified,
                   products_date_added,
                   products_date_available,
                   products_tax_class_id,
                   products_weight,
                   products_quantity,
                   manufacturers_id)
                       VALUES (
                           '$v_products_image',";

           // 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 . '", "'
           */

           $query .="                '$v_products_model',
                               '$v_products_price',
                               '$v_db_status',
                               CURRENT_TIMESTAMP,
                               $v_date_added,
                               $v_date_avail,
                               '$v_tax_class_id',
                               '$v_products_weight',
                               '$v_products_quantity',
                               '$v_manufacturer_id')
                           ";
               $result = tep_db_query($query);
       } else {

 

change to... (one line added near the end)

 

    if ($v_products_model != "") {
        //   products_model exists!
        array_walk($items, 'print_el');

        // First we check to see if this is a product in the current db.
        $result = tep_db_query("SELECT products_id FROM ".TABLE_PRODUCTS." WHERE (products_model = '". $v_products_model . "')");

        if (tep_db_num_rows($result) == 0)  {
            //   insert into products

            $sql = "SHOW TABLE STATUS LIKE '".TABLE_PRODUCTS."'";
            $result = tep_db_query($sql);
            $row =  tep_db_fetch_array($result);
            $max_product_id = $row['Auto_increment'];
            if (!is_numeric($max_product_id) ){
                $max_product_id=1;
            }
            $v_products_id = $max_product_id;
            echo "<font color='green'> !New Product!</font><br>";

            $query = "INSERT INTO ".TABLE_PRODUCTS." (
                    products_image,
                    products_model,
                    products_price,
                    products_status,
                    products_last_modified,
                    products_date_added,
                    products_date_available,
                    products_tax_class_id,
                    products_weight,
                    products_quantity,
                    manufacturers_id)
                        VALUES (
                            '$v_products_image',";

            // 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 . '", "'
            */

            $query .="                '$v_products_model',
                                '$v_products_price',
                                '$v_db_status',
                                CURRENT_TIMESTAMP,
                                $v_date_added,
                                $v_date_avail,
                                '$v_tax_class_id',
                                '$v_products_weight',
                                '$v_products_quantity',
                                '$v_manufacturer_id')
                            ";
                $result = tep_db_query($query);

            tep_db_query("INSERT INTO products_images VALUES ($v_products_id, '', '', '', '', '', '', '', '', '')");

        } else {

 

This will not make your extra images available in an EP export or import, it will (at most) just fix the problem you are having with inserting new products with EP.

 

hope that helps

Share this post


Link to post
Share on other sites

Hey wonder if you guys can help me as you seem experts with Easypopulate!!!

 

 

My developer has just installed easypopulate and everytime I click on Download Complete .txt file to edit I get the following error

 

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 13616 bytes) in /var/www/vhosts/readymadecanvas.com/httpdocs/shop/admin/easypopulate.php on line 642 "

 

My store is running on a dedicated server with 512MB RAM and a 80GB hard disk....This can't be the problem can it???

 

Thanks!

 

Mitesh

 

Version: Easy Populate 2.76d-MS2 - Default Language : English(1)

Share this post


Link to post
Share on other sites

Thanks for the quick replies. Oddly enough, I stumbled upon my solution about an hour ago and was getting ready to share. In my excel file, the price field was being formatted with a comma for the 1000's separator. The comma was causing the import routine to drop the trailing digits and left the value less than $10 dollars. For instance, a price of $2,550.00 was being imported as $2.00.

Share this post


Link to post
Share on other sites
Thanks for the quick replies. Oddly enough, I stumbled upon my solution about an hour ago and was getting ready to share. In my excel file, the price field was being formatted with a comma for the 1000's separator. The comma was causing the import routine to drop the trailing digits and left the value less than $10 dollars. For instance, a price of $2,550.00 was being imported as $2.00.

After reading Mibble's post that thought came to me. always make sure your cells don't have any extra formatting. I've also seen a dollar sign format mess-up the EP import file.

Share this post


Link to post
Share on other sites
Hey wonder if you guys can help me as you seem experts with Easypopulate!!!

 

 

My developer has just installed easypopulate and everytime I click on Download Complete .txt file to edit I get the following error

 

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 13616 bytes) in /var/www/vhosts/readymadecanvas.com/httpdocs/shop/admin/easypopulate.php on line 642 "

 

My store is running on a dedicated server with 512MB RAM and a 80GB hard disk....This can't be the problem can it???

 

Thanks!

 

Mitesh

 

Version: Easy Populate 2.76d-MS2 - Default Language : English(1)

yes, it very well can be. This contribution is not coded well and will, at times, load the entire product catalog in a single SQL query. I've seen this contrib spawn 80Mb+ SQL processes. Depending on the type process you request, EP may also attempt to build the entire ouput file in memory before saving or sending to you as a download. I've seen EP try to build a 50Mb+ in memory with a 8000 product shop. I have added some memory friendly download options in 2.76d that may help. (i.e. the download on-the-fly options)

 

if you are on a dedicated server you can change the php.ini to allocate more memory to your php scripts.

 

this is the section you are looking for. Obviously you need to change the memory_limit = 8M setting.

 

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 300 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

Edited by surfalot

Share this post


Link to post
Share on other sites

Well I'm back with a strange problem. Now I realize that Easy Populate didn't support multiple languages for categories as it does with attributes and products, but I figured I put them in one language and then go through them and add the rest of the languages once everything is imported.

 

Well everything has been added and I'm trying to add the additional languages in the newly created categories but nope, it just doesn't save the information. It works with categories created manually before import but these new ones refused to be edited on the language front, only the default language works.

Share this post


Link to post
Share on other sites
It's possible to code for that, but I don't know of anyone that has. there are many versions of EP that have a variety of contributions included. Look through the list and do some investigating.

 

 

Hi Todd,

 

Really appreciate your help - I did try to upload the Attributes again from my sample Attributes file - still the same error. I'll try a fresh install again and try out other methods just to see if anything else works.

 

Thanks for the wonderful contribution and continued improvements to EP that has made this such a life saver :)

Share this post


Link to post
Share on other sites
Actually it's possible, but you need to know your way around phpmyadmin, sql and a little php coding. You shouldn't use the extra fields contribution if you still want to use easypopulate to import and export products, as it would be way too complicated to add the new tables to the Easypopulate file.

 

What you need to do:

 

1. Install surfalot's Easypopulate version

2. Go into phpmyadmin and add the fields you need to the products table, or if you need fields with different languages, add them to the products_description table

3. Edit the Easypopulate file and add your new fields wherever occurrences of the corresponding table's fields are. e.g. search for products_description and add your fields from the products_description table, search for e.g. products_weight and add your fields from the products table. Make sure that you go with the same naming scheme that is used for the existing fields in the easypopulate file.

4. To actually show the fields you need to edit the products_info.php file, add the new fields to the sql-query and do an echo with the field e.g. for the already existing products_weigh field:

<?php echo $product_info['products_weight']; ?>

 

That should just work fine if I haven't overlooked anything :)

 

Hi Gerret,

 

Thank you for this wonderful tip! I will give this a try once I have read through this a couple more times and am more confident of coding this in without any errors. It sounds clear enough, really appreciate your help! :)

Share this post


Link to post
Share on other sites
Well I'm back with a strange problem. Now I realize that Easy Populate didn't support multiple languages for categories as it does with attributes and products, but I figured I put them in one language and then go through them and add the rest of the languages once everything is imported.

 

Well everything has been added and I'm trying to add the additional languages in the newly created categories but nope, it just doesn't save the information. It works with categories created manually before import but these new ones refused to be edited on the language front, only the default language works.

 

Ahh yeah, not only does it not handle importing multi-language cats, it also doesn't handle the single language category import correctly in a multi-language shop. this should fix that up so you can edit them after.

 

find:

 

					$sql = "INSERT INTO ".TABLE_CATEGORIES_DESCRIPTION."(
						categories_id,
						language_id,
						categories_name
					) VALUES (
						$max_category_id,
						'$epdlanguage_id',
						'$thiscategoryname'
					)";
				$result = tep_db_query($sql);

 

replace with:

 

		foreach ($langcode as $key => $lang){
	  if ($epdlanguage_id == $lang['id']) {
				$sql = "INSERT INTO ".TABLE_CATEGORIES_DESCRIPTION."(
						categories_id,
						language_id,
						categories_name
					) VALUES (
						$max_category_id,
						'$epdlanguage_id',
						'$thiscategoryname'
					)";
		} else {
				$sql = "INSERT INTO ".TABLE_CATEGORIES_DESCRIPTION."(
						categories_id,
						language_id,
						categories_name
					) VALUES (
						$max_category_id,
						'".$lang['id']."',
						''
					)";
		}
		tep_db_query($sql);
	}

Share this post


Link to post
Share on other sites

The new products sections html of this store bough template is not jive to EP. Everything works fine with the OSC stock /includes/modules/new_product.php file, but goes haywire once I upload the html modified file. Could someone take a look @ the code and point out anything that might be causing the layout problem?

 

 

Untitled-1.gif

 

 

<?php
/*
 edited - 2005/07/01 13:50

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

 $Id: new_products.php,v 1.34 2003/06/09 22:49:58 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- new_products //-->
<?php

 if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {
$new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where products_status = '1' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS);
 } else {
$new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS);
 }

 $row = 0;
 $col = 0;


 echo '
				<table cellspacing=0 cellpadding=0>
				 <tr><td><img src=images/m61.gif width=362 height=5></td></tr>
				 <tr><td class=bg4>
				  <table cellspacing=0 cellpadding=0><tr>
   ';


 while ($new_products = tep_db_fetch_array($new_products_query)) {
  $new_products['products_name'] = tep_get_products_name($new_products['products_id']);
  $product_query = tep_db_query("select products_description  from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$new_products['products_id'] . "' and language_id = '" . (int)1 . "'");
  $product = tep_db_fetch_array($product_query);
  $new_products['products_description'] = $product['products_description'];
  echo '
						   <td width=180 valign=top>
							<table cellspacing=0 cellpadding=0 width=150 align=center>
							 <tr><td colspan=2 height=10></td></tr>
							 <tr>
							   <td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, ' class=br') . '</a></td>
							   <td valign=top align=right>
								<table cellspacing=0 cellpadding=0>
								 <tr height=70><td class=cy valign=top align=right><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a></td></tr>
								 <tr><td class=cy1 align=right>'.$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'</td></tr>
								</table>
							   </td>
							 </tr>
							 <tr><td colspan=2 height=8></td></tr>
							 <tr><td colspan=2 align=center><img src=images/m36.gif width=143 height=1></td></tr>
							 <tr><td colspan=2 height=8></td></tr>
							 <tr><td colspan=2 height=53 valign=middle>'.preg_replace('/\s\S*$/i', '', substr($new_products['products_description'], 0, 80)).' ...</td></tr>
							 <tr><td colspan=2 height=12></td></tr>
							 <tr><td colspan=2 align=center><img src=images/m36.gif width=143 height=1></td></tr>
							 <tr><td colspan=2 height=12></td></tr>
							 <tr><td colspan=2 align=center><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image_button('small_view.gif', IMAGE_BUTTON_BUY_NOW) . '</a> <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW) . '</a></td></tr>
							 <tr><td colspan=2 height=12></td></tr>
							</table>						 
						   </td>

<!--
				 <tr><td valign=top></td>
					 <td width=108 valign=top>
					  <table cellspacing=0 cellpadding=0 width=100 height=110 align=right>
					   <tr><td><b></b><br><br class=px2></td></tr>
					   <tr><td class=bc1></td></tr>
					   <tr><td></td></tr>
					   <tr><td></td></tr>
					  </table>
				 </td></tr>										  
				</table>
			   </td>
-->	';

$col ++;
if ($col > 1) {
  $col = 0;
  $row ++;
  echo '
					   </tr>
					  </table>
					  <table cellspacing=0 cellpadding=0>
					   <tr><td><img src=images/m58.gif width=359 height=1></td></tr>
					  </table>	 
					  <table cellspacing=0 cellpadding=0 align=center width=360>						   
					   <tr>
	   ';
} else echo '<td width=0></td>';
 }


 echo '
					 </tr></table>
				   </td></tr>
				 <tr><td><img src=images/m60.gif width=362 height=5></td></tr>
				</table>
   ';


?>
<!-- new_products_eof //-->

 

Regards,

Dano

Share this post


Link to post
Share on other sites

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


Your help and suggestions are greatly appreciated.

Thanks

Wayne

Share this post


Link to post
Share on other sites

I am having this problem, can anyone point me in the right direction?

 

Warning: move_uploaded_file(C:/Documents and Settings/MR22/My Documents/ DACE /WEB/XAMPP/xampp/htdocs/catalog2//catalog/temp/EP2007Apr14-2008.txt-2.xls) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\Documents and Settings\MR22\My Documents\ DACE\WEB\XAMPP\xampp\htdocs\catalog2\admin\easypopulate_functions.php on line 43

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Documents and Settings\MR22\My Documents\ DACE \WEB\XAMPP\xampp\tmp\phpB1.tmp' to 'C:/Documents and Settings/MR22/My Documents/ DACE WEB/XAMPP/xampp/htdocs/catalog2//catalog/temp/EP2007Apr14-2008.txt-2.xls' in C:\Documents and Settings\MR22\My\Documents\DACE\WEB\XAMPP\xampp\htdocs\catalog2\admin\easypopulate_functions.php on line 43

File uploaded.

Temporary filename: C:\Documents and Settings\MR22\My Documents\DACE\WEB\XAMPP\xampp\tmp\phpB1.tmp

User filename: EP2007Apr14-2008.txt-2.xls

Size: 125

 

Warning: file(C:/Documents and Settings/MR22/My Documents/ DACE /WEB/XAMPP/xampp/htdocs/catalog2//catalog/temp/EP2007Apr14-2008.txt-2.xls) [function.file]: failed to open stream: No such file or directory in C:\Documents and Settings\MR22\My Documents\ DACE \WEB\XAMPP\xampp\htdocs\catalog2\admin\easypopulate.php on line 805

 

Warning: Invalid argument supplied for foreach() in C:\Documents and Settings\MR22\My Documents\ DACE\WEB\XAMPP\xampp\htdocs\catalog2\admin\easypopulate.php on line 844

 

If anyone can help? its on local machine now. but when i uploaded to the main server it replicated what we have above.So it seems the same error. maybe a config problem

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×