We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Installing LG Data Matrix

Development and Programming

Antenna's avatar
Antenna
87 posts
16 years ago
Antenna's avatar Antenna

Hi, I’ve hit a problem when trying to install LG Data Matrix.

I’ve uploaded all the files to the system, but when I try to enable the extension in CP Home › Admin › Utilities › Extensions Manager I get this error:

MySQL ERROR: Error Number: 1064 Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE Field = ‘lg_field_conf” at line 1 Query: SHOW COLUMNS FROM `exp_weblog_fields` WHERE Field = ‘lg_field_conf’

…which means nothing to me!

Can anyone tell me where I’m going wrong please?

Moved to Extensions forum by Moderator

Thanks,

Andy

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Hi, Andy. LG Data Access is a third party extension. So I’m going to move this topic for you.

       
4flix's avatar
4flix
88 posts
16 years ago
4flix's avatar 4flix

I am getting the same error:

MySQL ERROR:

Error Number: 1064

Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Field = 'lg_field_conf'' at line 1

Query: SHOW COLUMNS FROM `exp_weblog_fields` WHERE Field = 'lg_field_conf'
       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

Did you guys download from Leevi’s github before he formally announced it? There was a small problem with that one where it checks for a version number around line 485, but the version number hasn’t been updated properly…

       
Antenna's avatar
Antenna
87 posts
16 years ago
Antenna's avatar Antenna

Thanks for your response slapshotw.

I downloaded it yesterday from this page:

http://leevigraham.com/cms-customisation/expressionengine/lg-data-matrix/

which I assumed was the latest version (6.1. Version 1.1.1).

Do you think I should try an older version?

Many thanks,

Andy

       
4flix's avatar
4flix
88 posts
16 years ago
4flix's avatar 4flix

yeah, I also downloaded from his site last night (monday, feb 8)

       
rick.prince's avatar
rick.prince
111 posts
16 years ago
rick.prince's avatar rick.prince

Same error for me as well. Downloaded version 1.0.0. Installed fine but I now get this error:

Notice: unserialize() [function.unserialize]: Error at offset 177 of 180 bytes in /nfs/c01/h03/mnt/33026/domains/[removed]/html/system/extensions/ext.lg_data_matrix_ext.php on line 629

Hrmmm…

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Just hit the same issues with v1.1.1 downloaded this one: http://leevigraham.com/downloads/lg-data-matrix.1.0.0.zip

And all works fine (after copying all 3 js files onto the server).

       
Antenna's avatar
Antenna
87 posts
16 years ago
Antenna's avatar Antenna

Thanks for the link DevStudio. Unfortunately I still can’t get it working. As soon as I upload the files to the ‘extensions’ directory and try to get to the ‘Extensions Manager’ page via the Control Panel I just get a blank page. Once I remove the lg_data_matrix files from the server the Extensions Manager page is back to normal. Strange.

Not sure if I’m failing to do something correctly?

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Did you remove all of the v1.1.1 files first?

No idea if it makes a difference, but I did leave the language file from v1.1.1 when I copied up the v1.0.

       
Antenna's avatar
Antenna
87 posts
16 years ago
Antenna's avatar Antenna

I overwrote all the existing files with the ones I downloaded from that link you supplied. Do you think it’s worth a shot deleting all LG Data Matrix files any trying again from scratch?

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

With v1.1.1 there’s also a sub-folder under cp_themes that contains a JavaScript file and isn’t needed in v1.0, so I’d delete that.

But if I can get it working, it should be possible on another build, unless it’s conflicting with another plug-in (doubtful).

Remove all traces of v1.1.1 and start again with v1.0. It’s a great plugin, so worth the effort. Hopefully it won’t be long before v1.1.1 is sorted.

       
joann22's avatar
joann22
176 posts
16 years ago
joann22's avatar joann22

Hi, just wondering if you guys got it working. Are you all working with 1.0.0 then? (As I just downloaded 1.1.1 also …)

Thanks!

       
mr_tim's avatar
mr_tim
43 posts
16 years ago
mr_tim's avatar mr_tim

oops

       
Scheffey's avatar
Scheffey
24 posts
16 years ago
Scheffey's avatar Scheffey

For anyone with this error, I suggest checking out this post: http://ellislab.com/forums/viewreply/541485/

It appears the error is caused by older versions of MySQL. The suggested change in ext.lg_data_matrix_ext.php line 418 from

$field_query = $DB->query("SHOW COLUMNS FROM `exp_weblog_fields` WHERE Field = 'lg_field_conf'");

to

$field_query = $DB->query("SHOW COLUMNS FROM `exp_weblog_fields` LIKE 'lg_field_conf'");

got the extension installed.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.