Joomla RuleZ

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest

How to resolve the limitation of size colum in CB
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to resolve the limitation of size colum in CB

How to resolve the limitation of size colum in CB 2 years, 9 months ago #65

  • admin
  • OFFLINE
  • Administrator
  • coding is good
  • Posts: 1943
  • Karma: 36
Ok if you have a lot of fields, you will sooner meet a limitation of mysql in the column size.

So to solve this you have to limit the existing column size on mysql.

CB use a length of 255 characters for each column for a VARCHAR type, the most of time you don't need all this space, so we will reduce each one to a specific length.

Example:

For the firstname you have 255, you can reduce it to 100
For the middlename you have 255, you can reduce it to 100
For the lastname you have 255, you can reduce it to 100

And so one for each one fields

Be careful only does this for the VARCHAR type!!!


If you know how to use mysql it's quite simple:

1 - Save your database.

2 - Edit your database with phpmyadmin.

3 - Select "jos_comprofiler".

4 - Select all the fields “Check All” and click on the "change" button.

5 - Now reduce for each "Type" = VARCHAR, the "Length/Values" according to the length expect.

6 – Save.

6 - Install again the CB player Advanced.

7 - After you install you can do the same adjustment for the fields create by our plugin.
Last Edit: 2 years, 9 months ago by admin.

image
Host & stream your video library
image

 

Re:How to resolve the limitation of size colum in 2 years, 9 months ago #68

  • ghog
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
ok i tried this and had limited success, after reducing about 20 varchar255 to 100 I was able to create new fields, which I was unable to do previously, but after trying to re-install cb media player i am still receiving this message:
SQL error on field store2: moscomprofilerFields::store failed: CBSQLupgrader::changeColumn (ADD) of Table #__comprofiler Column cb_plformat5 failed with SQL error: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs SQL=ALTER TABLE `jos_comprofiler`\\n ADD `cb_plformat5` varchar(255) DEFAULT NULL Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs SQL=ALTER TABLE `jos_comprofiler`\\n ADD `cb_plformat5` varchar(255) DEFAULT NULL


Re:How to resolve the limitation of size colum in 2 years, 9 months ago #69

  • admin
  • OFFLINE
  • Administrator
  • coding is good
  • Posts: 1943
  • Karma: 36
it seems you have always reech the limitation of size...

you are nearly because the installation failed at `cb_plformat5` who is the last one

try again to reduce some other parameters (analyse each fields and see at what size you can reduce, for example a name you can reduce at 50 and so on)


tell me you result here thanks.

image
Start running Ads in minutes
image

Re:How to resolve the limitation of size colum in 2 years, 9 months ago #70

  • ghog
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
reducing from 255 to 55 did not help so I began changing all the text fields from varchar to text and this solved the problem.

I have noticed that all the mp3 player fields have been created as varchar, will it be ok to change these to text as well?

Re:How to resolve the limitation of size colum in 2 years, 9 months ago #71

  • admin
  • OFFLINE
  • Administrator
  • coding is good
  • Posts: 1943
  • Karma: 36
Yes It's ok.
Last Edit: 2 years, 9 months ago by admin.

An open source project for delivering IAB VAST-compliant video advertising within any Flash video player. LEARN MORE =>

  • Page:
  • 1
Time to create page: 0.97 seconds

Testimonials

Top Support and Plugin, I would like to again thank you very much for Joomlarulez team, quick to help. Also, I can only recommend everybody ...

Knofy
Dec 05, 2011

Review Our Product

"If you use JW Player Module or Plugin Advanced, please Post a Rating and a Review at the Joomla! Extensions Directory."
joomla