shinka, thanks for pointing that out. Should be fixed now. Please re-download the extension from the first post and let me know if you still have the error.
Updated the extension to 0.7, which adds support for the LG addon updater, which will check for new versions of the extension directly from the Control Panel.
Changelog:
* Automatic version checking using LG Addon Updater, which must also be installed.
* Added “check for update” setting
* Some more cleanup
Got another bug. Now I’ve installed the Multiple Site Manager and added another site. I’m getting this error when I try to access the extension settings.:
Fatal error: Call to undefined function exif_imagetype() in /system/extensions/ext.nb_show_custom_field_data.php on line 911
shinka, can you check if the EXIF library is installed on your server?
Go to
Control Panel > Admin > Utilites > PHP Info
...and check if EXIF Support is enabled. Also, what version of PHP are you using?
I’m not sure this has to do with the MSM, although I don’t have much experience with that module.
Thanks.
I thought this would be a 15-minute fix, but took much longer than I thought ^_^;. I upgraded the extension to 0.7.1, which should fix the exif error (actually, there shouldn’t be an error related to that anymore) as well as other small bugs that no one noticed
If you have NB Show custom field data 0.7, the addon should automatically inform you of this newer version.
Fixes:
* For better compatibility with certain server setups, changed PHP the command used to check if directory contains at least one image
* Bug fixes and code simplification for determining image directories
I updated the extension to version 0.8.1. Now by default, three custom fields can be set and displayed in the Edit section. The number of fields can be changed in the config.sys file by adding
$conf['nb_custom_field_columns'] = 1;
where the number is the number of columns to set/display.
Also fixed the previously mentioned ff_settings error for users without the FieldFrame extension installed (thanks Beebs).
Your extension is working great. However, I am getting a massive pile of errors on its config page, stuff like this (repeating for a while)
Notice: Undefined offset: 0 in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 947
Notice: Undefined variable: result_array in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 967
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/relia17/public_html/rwsys/extensions/ext.nb_show_custom_field_data.php on line 343
expdesign, do you have nGen File Field installed? If you do, are the upload path settings all in order?
At a glance, the errors may be related to that.
On a new site I am getting an error when I show FF matrix data. Its showing the output correctly but at the top of the page I get:
Notice: unserialize() [function.unserialize]: Error at offset 51 of 54 bytes in /home/dentures/public_html/system/extensions/ext.nb_show_custom_field_data.php on line 897