Forum

Thread tagged as: Problem, Error, Hosting

"Save and Add Another" Causes Internal Server Error

Hi,

I have a rather odd issue. On one of my clients websites, just with this specific page template which has allowed for "multiple items", when they go to "Save and Add Another" it takes about 5 minutes to load before getting an Internal Server Error Message. But, after this happens, you can simply refresh the page and then it works fine with no problem at all. Apparently this has been happening for the last year, but they just decided to tell me rather than work around it. Any suggestions on how to resolve this?

Here's the image: https://d.pr/i/uOll

Here's the diagnostics report:

Perch: 2.8.17
Production mode: Production (100)
Installed apps: content (2.8.17), assets (2.8.17), categories (2.8.17), perch_blog (4.6), perch_forms (1.8.3)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_podcasts, perch2_podcasts_downloads, perch2_podcasts_episodes, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 3
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_forms',
        'perch_blog'
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: 9a4962457ca14df26e415197571929be
L1: 39e7b7656a1a071f16700e4a175e8f3c
headerColour: #3e3e3e
content_singlePageEdit: 1
helpURL:
siteURL: https://calvarynorththurston.com
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.7.10: done
on_sale_version: 2.8.34
headerScheme: dark
dashboard: 1
content_hideNonEditableRegions: 1
content_frontend_edit: 1
hide_pwd_reset: 0
logoPath: /perch/resources/logo-2.svg
update_2.8.4: done
perch_blog_update: 5.0
perch_blog_post_url: /podcasts/post.php?s={postSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
latest_version: 2.8.15
update_2.8.17: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: gregston_champki
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: gregston_calvarynt
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: greg@champkiddesign.com
PERCH_EMAIL_FROM_NAME: Greg Stone
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/gregston/public_html/calvarynorththurston.com/perch
PERCH_CORE: /home/gregston/public_html/calvarynorththurston.com/perch/core
PERCH_RESFILEPATH: /home/gregston/public_html/calvarynorththurston.com/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/gregston/public_html/calvarynorththurston.com/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS

PHP: 5.6.30
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.6.35
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, imap, intl, json, magickwand, exif, mcrypt, mysqlnd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, SimpleXML, soap, sockets, sqlite3, tidy, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend Guard Loader, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 128M
PHP max form post size: 64M
PHP memory limit: 128M
Total max uploadable file size: 64M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
CONTEXT_DOCUMENT_ROOT: /home/gregston/public_html/calvarynorththurston.com
DOCUMENT_ROOT: /home/gregston/public_html/calvarynorththurston.com
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: _ga=GA1.2.2096972697.1448608554; PHPSESSID=is9kgi34q1lvokn1hem7kqi162; cmsa=1
HTTP_HOST: calvarynorththurston.com
HTTP_REFERER: https://calvarynorththurston.com/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14
PATH: /bin:/usr/bin
PHP_INI_SCAN_DIR: /opt/cpanel/ea-php56/root/etc/php.d/:/home/gregston/public_html/calvarynorththurston.com/
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 72.35.152.249
REMOTE_PORT: 36061
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/gregston/public_html/calvarynorththurston.com/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 67.212.235.130
SERVER_ADMIN: webmaster@calvarynorththurston.gregstonedesign.com
SERVER_NAME: calvarynorththurston.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
UNIQUE_ID: WKYJJw0B5lbZ@Y2n48xtpgAAACM
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1487276327.61
REQUEST_TIME: 1487276327
argc: 1

Here's the html template being used

<li>
    <!--SERMON NUMBER-->
    <div class="number">
        <h1><!--LEAVE BLANK: AUTO COUNTER IN PLACE--></h1>
    </div>
    <div class="content">
        <!--SERMON TITLE--><h2><perch:content type="text" order="1" required="true" title="true" id="title" label="Sermon Title"/></h2> <!--max character 30-->
        <!--SCRIPTURE REFERENCE--><p><perch:content type="text" order="2" required="false" id="scripture" label="Scripture Reference"/></p>
        <!--SERMON SPEAKER--><span><perch:content type="text" order="3" required="false" id="speaker" label="Speaker" default="Pastor Sam Christensen"/></span>
        <div class="line"></div>
        <a href="<perch:content type="file" order="4" required="false" id="link" label="Audio Link URL" help="Upload the audio file here"/>" alt="Play Audio"><i class="fa fa-play-circle fa-3x"></i></a>
        <a class="desktop" href="<perch:content type="file" order="5" required="false" id="link" label="Download Link" help="Reference the same Audio File link for users to have the ability to download the file"/>" download alt="Download Audio"><i class="fa fa-arrow-circle-down fa-3x"></i></a>
    </div>                   
</li>
Greg Stone

Greg Stone 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's in the error log?

Any reason not to update to the current version?