Forum

Thread tagged as: Problem, Forms

Client cannot save changes in perch

One of my clients is having an issue. They're adding users to a list through perch content custom to display realtors profiles on a web page (https://yourmarketexperts.ca/test/realtors/index.php) When ever they try to add another realtor the save button seems to just reload the page and not show the changes saved? We cannot add another item either.

Was working fine yesterday, perch is up to date and all apps are up to date. There are already 110 items in the region.

This section uses the form app to make the content filterable and searchable.

No Debug message on the admin side.

here is the code on the page

<?php 
$filters = array();
if (perch_get('inital')) {
    $filters[] = array(
        'filter' => 'inital',
        'match'  => 'eq',
        'value'  => perch_get('inital'),
    );
}
if (!count($filters)) $filters=false;
perch_content_custom('realtor-list', array(
    'template'   => 'realtor-list.html',
    'filter'     => $filters,
    'sort'       =>'Name',
    'sort-order' =>'RAND',
    'count'=>500,
));
 ?>

We have a similar template working on another page (https://yourmarketexperts.ca/test/brokers/index.php) using the same form app and filters. this region contains 48 items and can be added to with no problem. The issue seems to be only affecting the page above.

MATTHEW URSO

MATTHEW URSO 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

How many fields do you have per item? PHP has a configurable limit of the number of fields in a form.

Are you editing in list/detail mode or all on one page? If the latter, try switching.

Each item has 9 editable fields. How do I find the number of configurable number of fields? through the PHPAdmin?

Ill try the second second thing you mentioned first

Drew McLellan

Drew McLellan 2638 points
Perch Support

My guess is that your limit is set at 1000. 110 items by 9 fields, plus a few Perch uses internally...

changing to the list rather that the "show all" worked. Thanks so much. Now theres only 200 more to add. Hopefully we have no more problems.

Thanks Drew! Cheers.

Drew McLellan

Drew McLellan 2638 points
Perch Support

That's quite a lot of items. You might also want to consider using Runway with a Collection if it's going to grow over time.

It should stay around that number, they are constantly deleting items and rarely adding.