News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Next VM versions will have the same Default Value limit in Custom Fields?

Started by Kintaro Oe, June 23, 2014, 17:17:08 PM

Previous topic - Next topic

virtueb

Quote from: Milbo on May 24, 2017, 16:47:27 PM
Please test vm3.2.3

I updated now to 3.2.3 but there is the same limit on default product description, is this limit still there? I thought it will be removed...

jenkinhill

There is a hidden config, dbpsdescsize  - https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html  - I thought that was for increasing the table size (I have not tested it), which is very likely to impact on page speed, so is there for experienced users.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

virtueb

Quote from: jenkinhill on July 19, 2017, 13:34:00 PM
There is a hidden config, dbpsdescsize  - https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html  - I thought that was for increasing the table size (I have not tested it), which is very likely to impact on page speed, so is there for experienced users.

Many thanks friend :)

In /administrator/components/com_virtuemart/helpers/tableupdater.php I fond following code:

$fields['product_desc'] = 'varchar('.VmConfig::get('dbpdescsize',18400).') '.$linedefault;

Would it be danger if I make there a corehack to:
$fields['product_desc'] = 'TEXT '.$linedefault;

Or can I override tableupdater.php without to losing data after updates?


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/