Post by vaidyamanishjoshi » Fri Jun 18, 2021 9:56 pm

I want to know how many maximum characters are allowed in code column and key column in oc_setting database table?

Structure of this table is showing varchar 128 for both. But text more than 32 characters is not getting added in code column.

Where string length is checked by system and limit it to 32 characters ?

I searched online and get only one link ( https://github.com/opencart/opencart/issues/5408 ) from 2017 but it is also with very short discussion on it.

Image

Active Member

Posts

Joined
Tue Jun 09, 2015 2:47 am

Post by straightlight » Fri Jun 18, 2021 10:25 pm

vaidyamanishjoshi wrote:
Fri Jun 18, 2021 9:56 pm
I want to know how many maximum characters are allowed in code column and key column in oc_setting database table?

Structure of this table is showing varchar 128 for both. But text more than 32 characters is not getting added in code column.

Where string length is checked by system and limit it to 32 characters ?

I searched online and get only one link ( https://github.com/opencart/opencart/issues/5408 ) from 2017 but it is also with very short discussion on it.

Image
The conversation was very short because the founder closed the commit without closure notes and the solution regarding the varchar(128) length was posted by a contributed user which the founder did not referenced too.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 264 guests