Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

easy Populate : error MySql 1064


ralgiere

Recommended Posts

1 hour ago, ralgiere said:

$custom_fields[TABLE_PRODUCTS] = array( 'vendor' => 'vendor' );

Check you db as I think this is wrong. As you are pulling from products table it should be somthing like this,

$custom_fields[TABLE_PRODUCTS] = array( 'products_vendor => 'vendor);

only you will know look at the db table and make sure you are pulling corect items.

For second line again check that you actualy have a vendor discription in the TABLE_PRODUCTS_DESCRIPTION and if you do it will be somthing like

products_vendor_description

I'm just taking a guess as I have n0t seen the custom code so look at the tables in your db to get corect names.

 

Link to comment
Share on other sites

Not knowing the heads and tails of your original code, I see people can only shoot blindly to help you.😁

I am sure you will get full support if you post your request in the commercial support section.

Link to comment
Share on other sites

I have a question to anyone that can answer, about the  DIR_FS_DOCUMENT_ROOT SETTING

The documentation in easypopulate.php,v 1.0 Beta Test 04/01/2019 says that the DIR_FS_DOCUMENT_ROOT is set in your /catalog/admin/includes/configure.php  I do not have a catalog in my root will that make a difference when ran and do I have to make any changes?

Link to comment
Share on other sites

It's simply telling you it's using the default path set in your config files. So if you don't have  public_html /catalog/admin/includes/configure.php  then it will be

public_html /admin/includes/configure.php  or

public_html /shop or somthing else/admin/includes/configure.php

What ever it is it's using what is set in the config file.

 

Link to comment
Share on other sites

Easy Populate is a complex add-on that will work out of the box if you do not modifiy it. If you modify it then you need to read the instructions provided to make sure you do it correctly and set up the configuration accordingly. No one has much chance of  being able to debug your modified version in the forum.

Either contact the person who did the mods, or dump the moded version and install the stock, learn how it works and then and only then try to add your changes.

If none of that is within your reach then as others have said, ask a developer to do it for you by posting in the commercial section.

Edited by JcMagpie

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...