Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
HI Guys

Been using Couch on our site for about 6 months now without any issues
everything has been working fine up till now.

Our portfolio list has now grown to 145 items. However at 135 items it stopped displaying
them items on the front end. Items are saving in the admin panel just fine but not displaying.

Is there some kind of limit that needs to be changed somewhere or is this another issue?

Any help on this would be massively appreciated.

Many Thanks

KP
hi KP, this shouldn't be an issue numberwise ... can you post the code that is displaying the, what I presume are cloned pages? They don't have a published date in the future do they? If they did you'd need to set up the <cms:pages> parameter: show_future_entries='1' e.g.
Code: Select all
<cms:pages masterpage='diary-date.php' orderby='date_range_start' order='asc'  show_future_entries='1' start_on="<cms:date format='Y-m-d' gmt='1' />" >
I know of hard limit, which is 1000 pages for listing with cms:pages, though it was introduced as some fool-proof thing and is mentioned in docs. Can be overridden with explicit setting: limit='you number here' as a parameter to cms:pages.

In similar manner there might appear a parameter limit='130' to cut off all pages above it. Check you code for limit or paste here (or in pm) for a quick review..
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Hi Guys

Thanks for the replies.

They are actually repeatable regions on what is the portfolio list page.

Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<cms:template title='HOME PAGE' dynamic_folders='1'>
<cms:repeatable name='project' label='HOMEPAGE PROJECTS'>
<cms:editable name='client_logo' label='Client Logo - 130 x 80' desc='Upload client logo here' crop='1' width='130' height='80' show_preview='1' preview_width='100' type='image'  />
<cms:editable name='image' label='Image Thumbnail' desc='Project Image' width='500' height='300' show_preview='1' preview_width='100' type='image' />
<cms:editable name='capheader' label='Caption Header' desc='Enter caption header here' type='text' />
<cms:editable name='capdescription' label='Caption Description' desc='Enter caption header here' type='text' />
<cms:editable name='link' label='Link to project' desc='Enter link to project here' type='text'> www.panomatics.com/home/portfolio-detail.php?p=38 </cms:editable>
<cms:editable name="dropdown_product" label="PRODUCTS" desc="Select one from these" opt_values='Please Select=- | VIRTUAL TOURS=virtualtours | VIDEO=video | GOOGLE TOURS=googletours | 360 VR VIDEOS=360 | PHOTOGRAPHY=photo | ADVERTISING=ads' type='dropdown'/>
<cms:editable name="dropdown_location" label="LOCATION" desc="Select one from these" opt_values='Please Select=- | THAILAND=thailand | INDONESIA=indonesia | MALAYSIA=malaysia | SINGAPORE=singapore | HONG KONG=hongkong | CHINA=china | INDIA=india | SRI LANKA=srilanka | MALDIVES=maldives | MIDDLE EAST=middle | PHILIPPINES=philippines | EU=eu | USA=usa | INDIA=india | NEW ZELAND=nz | MACCAU=maccau' type='dropdown'/>
<cms:editable name="dropdown_business" label="BUSINESS" desc="Select one from these" opt_values='Please Select=- | TOP TOURS=toptours | HOTELS=hotels | SHOPS=shops | PROPERTIES=properties | RESTAURANT=restaurant | MEDICAL/BEAUTY=medical | CITIES=cities | EVENTS=events | ARTS/GALLERIES=arts | EDUCATION=education' type='dropdown'/>
</cms:repeatable>

<cms:repeatable name='clients' label='CLIENT LOGOS - 240 X 120 ONLY!'>
<cms:editable name='cl_image' label='Image Thumbnail' desc='Project Image' width='240' height='120' show_preview='1' preview_width='100' type='image' />
<cms:editable name='cl_link' label='Link to project' desc='Enter link to project here' type='text'> www.panomatics.com/home/portfolio-detail.php?p=38 </cms:editable>
</cms:repeatable>

</cms:template>


Im having a look about for any limits in configs. Is there a limit for repeatable regions?
Repeatable regions? This explains it.
By design, Couch stores all values of all repeatable rows in 1 database cell, which has a certain limit of characters (images are saved encoded which also worsens the situation).
You must switch to cloned pages from repeatables.
PM or Skype if you want me to write a custom script, which will move data into cloned pages.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
trendoman wrote: Repeatable regions? This explains it.
By design, Couch stores all values of all repeatable rows in 1 database cell, which has a certain limit of characters (images are saved encoded which also worsens the situation).
You must switch to cloned pages from repeatables.
PM or Skype if you want me to write a custom script, which will move data into cloned pages.


Thank you so much for your help.

The reason why we used repeatable regions when we started was due to the fact that we
need to be able to change the order in which they appeared on front end as and when we needed.

There was also no mention of a limit on repeatable regions in the documentation.

I will send you PM to discuss the script. Thanks again for your help, very much appreciated.

KP
kushtypixels wrote:
trendoman wrote: Repeatable regions? This explains it.
By design, Couch stores all values of all repeatable rows in 1 database cell, which has a certain limit of characters (images are saved encoded which also worsens the situation).
You must switch to cloned pages from repeatables.
PM or Skype if you want me to write a custom script, which will move data into cloned pages.


Thank you so much for your help.

The reason why we used repeatable regions when we started was due to the fact that we
need to be able to change the order in which they appeared on front end as and when we needed.

There was also no mention of a limit on repeatable regions in the documentation.

I will send you PM to discuss the script. Thanks again for your help, very much appreciated.

KP



Hi, indeed in docs there is no mention of this. I assume that the maximum 1-4Gb size of that data cell (depending on encoding etc) was expected to be enough. I love to see people pushing Couch to the limit, just like I do very often with demanding projects( a million cloned pages and similar cool things ). :)

I see your requirement to change order of cloned pages and can introduce certain things like nested pages (which by default support ordering) or additional editable field that can hold 'order' number, if changing of publish_date back and forth is not comfortable.

I got your PM, replied just a sec ago.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
7 posts Page 1 of 1