Zen Cart Logo
Forums / All Other Contributions/Addons / Numinex Product Fields ca6e9a8

Numinex Product Fields ca6e9a8

Views: 2,045

Results 1 to 16 of 16
29 Nov 2014, 8:12 PM
#1
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Numinex Product Fields ca6e9a8

Hi. Any insights appreciated.

Press the button in Catalog > Numinix Product Fields to add a field and I get this error:

WARNING: An Error occurred, please refresh the page and try again.

If i had a custom field it does install but I get a blank page when i press the button. I see the field when I go back to the product.

I had some difficulty with the last core-file merge (no notations of begin-end edits in MODIFIED_CORE_FILES\YOUR_ADMIN\includes\modules\product\preview_info.php) and just opted to over-write my 1.5.3 original.

This was the only hitch during the tedious install. All the files are there. this is a new 1.5.3 that I've only made a few modifications to, namely EasyPop4, zencolorbox, ckeditor.

30 Nov 2014, 8:49 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Numinex Product Fields ca6e9a8

There was a lot of changes in 2.x.x series. It should be backwards compatible, the newest version is 2.1.2, is that the version you are using? There was a LARGE change in 2.0.0 that allows you to add fields (either pre-built or custom) via the admin. Making the install much easier for those with less experience.

1 Dec 2014, 5:26 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Numinex Product Fields ca6e9a8

athena:

Hi. Any insights appreciated.

Press the button in Catalog > Numinix Product Fields to add a field and I get this error:

WARNING: An Error occurred, please refresh the page and try again.

> 
> If i had a custom field it does install but I get a blank page when i press the button. I see the field when I go back to the product.
> 
> I had some difficulty with the last core-file merge (no notations of begin-end edits in MODIFIED_CORE_FILES\YOUR_ADMIN\includes\modules\product\preview_info.php) and just opted to over-write my 1.5.3 original. 
> 
> This was the only hitch during the tedious install. All the files are there. this is a new 1.5.3 that I've only made a few modifications to, namely EasyPop4, zencolorbox, ckeditor.

Take a look in your logs folder. An errormessage should have been logged when that message appeared on your screen.  It should tell you where the problem is by filename and line number.  More than likely a SQL command caused it, but it could be something else.  Obviously would want to go back and look at how the install was performed to validate that simply/blindly using the file is acceptable...
1 Dec 2014, 2:32 PM
#4
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

I must be using the latest, but I do not see a version number. Just the file name: Numinex Product Fields ca6e9a8

I'm guessing that my changes are taking time to propagate on the server. I may go in and delete the core files and re-upload them a little later since the store is not yet live.

1 Dec 2014, 2:46 PM
#5
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

Log shows an error in every instance of a failed attempt to add a field, in this file, not a core file:

PHP Fatal error: 1064:You have an error in your SQL syntax; .... admin/includes/functions/extra_functions/npf_functions.php on line 70

Line 70:

   $db->Execute($string);
1 Dec 2014, 3:02 PM
#6
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

I'm also wondering once I get this working, how to get the new fields to show up on the product store page.

thank you for any insights.

1 Dec 2014, 3:22 PM
#7
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Numinex Product Fields ca6e9a8

Numinix Product Fields ca6e9a8 I would think corresponds to the github commit of the same.
There are 7 more commits following that see:
https://github.com/numinix/numinix_product_fields/commits/master

What are you trying to do when that error appears

When in the catalog you can add any value by using the function npf_field_value($id, $field)
Example:

echo npf_field_value($_GET['products_id'], 'custom_field_xyz');
2 Dec 2014, 3:23 PM
#8
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

So am I to understand that the download, here at zencart > plugins, last update on Sept 19, 2014, is not the latest? In that case, I guess I should un install and where would I find the latest download?

2 Dec 2014, 3:38 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Numinex Product Fields ca6e9a8

athena:

So am I to understand that the download, here at zencart > plugins, last update on Sept 19, 2014, is not the latest? In that case, I guess I should un install and where would I find the latest download?

bislewl provded the link to the master branch for the plugin that is available from github... In review of the new "version" there may be a method of upgrade provided that doesn't require completely uninstalling. If there is not an upgrade path provided, (which honestly numinix products tend to be relatively well documented) then yes I would suggest uninstallation to "keep things simple"... Not always required, but it does simplify troubleshooting in the event an issue arises. :)

2 Dec 2014, 5:40 PM
#10
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

Very much appreciate all this insight. thanks all.

2 Dec 2014, 5:46 PM
#11
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Numinex Product Fields ca6e9a8

mc12345678:

bislewl provded the link to the master branch for the plugin that is available from github... In review of the new "version" there may be a method of upgrade provided that doesn't require completely uninstalling. If there is not an upgrade path provided, (which honestly numinix products tend to be relatively well documented) then yes I would suggest uninstallation to "keep things simple"... Not always required, but it does simplify troubleshooting in the event an issue arises. :)

Most of the Numinix modules are designed for you to be able to copy over the top, and the module will upgrade them selves on the next admin page load. Unless otherwise noted. Many times you may find empty files, because the previous file has been changed or perhaps no longer needed. This then overwrites the old file, and makes it able to be installed "over the top of" the old module. Uninstalling a numinix module to upgrade is rarely needed.

3 Dec 2014, 5:18 PM
#12
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

Is it correct then, and I say this in case others are looking at this module... that the "Numinex Product Fields ca6e9a8" uploaded to the Plugins section of this site, the one dated September 19, 2014, is not actually ready for 1.5.3 but just there for the sake of testing and fixing?

Can I assume that the previous Version: 2.0.0, also apparently uploaded on the same day, also modified for 1.5.3 is one that works?

5 Dec 2014, 7:50 PM
#13
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

OK.. they are the same file.

Does it work for anyone running 1.5.3 on a Linux server? I can't get it to work and have uninstalled on a fresh 1.5.3 zencart and re-installed and downloaded it fresh and started over at least twice. I have the older version working on 1.5.1. and need the extra fields for this project.

8 Dec 2014, 6:53 PM
#14
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

mc12345678:

bislewl provded the link to the master branch for the plugin that is available from github... In review of the new "version" there may be a method of upgrade provided that doesn't require completely uninstalling. If there is not an upgrade path provided, (which honestly numinix products tend to be relatively well documented) then yes I would suggest uninstallation to "keep things simple"... Not always required, but it does simplify troubleshooting in the event an issue arises. :)

I saw some differences in this Master download at the link in this post. Even with another clean install it throws errors so I'll assume this is not yet stable and hope to hear when it is for 1.5.3. As I've said, I do have an older version of this working on 1.5.1. Thanks

3 Jan 2015, 5:27 PM
#15
sstreich avatar

sstreich

New Zenner

Join Date:
Nov 2014
Location:
PA
Posts:
36
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

Looking for advice on this addon to have it show on the Product Pages.
I am using ZC 1.53 and have tried installing both Numinex Product Fields ca6e9a8 from the download link and also the "master" latest update.
They both install but without any confirmation notice on the admin screen, but neither will update the DB (mysql) I have to go in and add the fields manually.
They do update the admin Categories / Products form.
The issue I am having is I cannot find where they update anything else, I would assume there should be an update somewhere under the admin-configuration which would allow to activate or deactivate the new fields.
I did manually edit the DB zen_product_type_layout SHOW_PRODUCT_INFO_UPC configuration_value = 1
I did merge the templates>tpl_product_info_display

<?php echo (($flag_show_product_info_condition == 1 and $products_condition != '') ? '<li>' . TEXT_PRODUCTS_CONDITION . $products_condition . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_upc == 1 and $products_upc != '') ? '<li>' . TEXT_PRODUCTS_UPC . $products_upc . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_isbn == 1 and $products_isbn != '') ? '<li>' . TEXT_PRODUCTS_ISBN . $products_isbn . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_sku == 1 and $products_sku != '') ? '<li>' . TEXT_PRODUCTS_SKU . $products_sku . '</li>' : '') . "\n"; ?>

I have added a couple upc codes to a couple products just to test (12 digit numeric) and still cannot get anything to show on the product page.
Looking through the files I found there were an number of folders named YOUR_ADMIN, I changed those to my admin folders name and then saw that the code seems to be looking for the folders YOUR_ADMIN so I changed them back and reinstalled.
I am lost as to what I am missing with this install.
Thanks for any advice.

15 Jan 2015, 7:57 PM
#16
phillyphoto avatar

phillyphoto

New Zenner

Join Date:
Oct 2009
Location:
Philly
Posts:
8
Plugin Contributions:
0

Re: Numinex Product Fields ca6e9a8

I have used this plug-in through several versions of ZC with no problems except for this latest version will not install the optional fields in the DB. I have never had the UPC show on the store front product page - only in the ADMIN product entry page or on the attributes page when using Stock by Attribute plug in.