Cannot create new post

Permalink Browser Info Environment
I have followed all the instructions and am trying to create a new blog post. However, when I click on the 'New Post' button, I'm taken to a 'This page isn't working' page (error 500). I'm at a loss as to what might've caused this.

I'm using a custom theme, so maybe I'm missing a page template that y'all reference? I have a default.php page template, but for the blog, I'm using a custom blog.php template that I've created.

Everything else seems to be in order, and I've no issues with setup other than this.

Thanks for your help.
-Heath Griffin

1 Attachment

Type: Ticket
Status: Archived
heathgriffin
View Replies:
C5DK replied on at Permalink Reply
C5DK
One thing comes to mind... Do your theme have a view.php (mandatory for all themes)?

If not then please create this according to documentation:

Adding Content to the Single Page View Template

Single pages are wrapped by the "view.php" template for the current theme. This means you don't need to include header or footer information within your single page - it is already present.

In a stock concrete5 site, try opening concrete/themes/elemental/view.php. This is the wrapper for all the single pages within the Elemental theme. Notice the line? That's where all the single page content will be inserted within this template.

This file has to have the following line of code:
<?php print $innerContent; ?>


/Michael
heathgriffin replied on at Permalink Reply
heathgriffin
Hi Michael,

Thank you for the response. I added view.php to my theme (using the view.php file from the Elemental theme as a guide), reinstalled/reactivated my theme and uninstalled and re-installed the C5DK Blog addon (following all the steps to make sure I wasn't missing anything). However, I'm still having the same problem.

Any other thoughts as to what might be causing this issue? While the site is already live (they requested a blog after the launch of the website), I can provide access to it if you need it to help diagnose the issue.

I did notice that the Elemental theme uses bootstrap, which I am not using in my theme. Not sure if that would effect anything though.

Thank you,
Heath
C5DK replied on at Permalink Reply
C5DK
Hi,

Sorry you have this kind of trouble getting started.

If you send us (by PM - personally message) your site url and the admin password. Then I will see what I can do!

/Michael
heathgriffin replied on at Permalink Reply
heathgriffin
For anyone with this issue, Michael and I determined that I needed to upgrade from 8.1 to 8.2.1. This solved the problem. I'm not sure what the issue was, but upgrading was the solution.

Also, make sure you've backed everything (properly) before upgrading!
admin replied on at Permalink Reply
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.1.0
Version Installed - 8.1.0
Database Version - 20170123000000

# concrete5 Packages
C5DK Blog (8.0.6.7)

# concrete5 Overrides
languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/sinusandnasal/conditions-page.php, themes/sinusandnasal/default.php, themes/sinusandnasal/description.txt, themes/sinusandnasal/education-page.php, themes/sinusandnasal/full.php, themes/sinusandnasal/interior-page.php, themes/sinusandnasal/page_theme.php, themes/sinusandnasal/resources-page.php, themes/sinusandnasal/thumbnail.png, themes/sinusandnasal/css/conditions-style.css, themes/sinusandnasal/css/index-style.css, themes/sinusandnasal/css/interior-style.css, themes/sinusandnasal/css/media-queries.css, themes/sinusandnasal/css/mobile.css, themes/sinusandnasal/css/style.css, themes/sinusandnasal/css, themes/sinusandnasal/elements/footer-scripts.php, themes/sinusandnasal/elements/conditions-header-bottom.php, themes/sinusandnasal/elements/footer.php, themes/sinusandnasal/elements/full-header-bottom.php, themes/sinusandnasal/elements/full-header-top.php, themes/sinusandnasal/elements/interior-header-bottom.php, themes/sinusandnasal/elements/subfooter.php, themes/sinusandnasal/elements, themes/sinusandnasal/images/close-menu.png, themes/sinusandnasal/images/dark-blue-bkgd.png, themes/sinusandnasal/images/dr-barham.png, themes/sinusandnasal/images/dr-hall.png, themes/sinusandnasal/images/facebook-icon-hover.png, themes/sinusandnasal/images/facebook-icon.png, themes/sinusandnasal/images/home-masthead.jpg, themes/sinusandnasal/images/light-blue-bkgd.png, themes/sinusandnasal/images/logo-small.png, themes/sinusandnasal/images/logo.png, themes/sinusandnasal/images/payment-arrow-hover.png, themes/sinusandnasal/images/payment-arrow.png, themes/sinusandnasal/images/show-menu.png, themes/sinusandnasal/images/very-light-blue-bkgd.png, themes/sinusandnasal/images/education/nasal-irrigation.jpg, themes/sinusandnasal/images/education/steroid.jpg, themes/sinusandnasal/images/education, themes/sinusandnasal/images, themes/sinusandnasal/blog.php, themes/sinusandnasal, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/sinusandnasal/conditions-page.php, themes/sinusandnasal/default.php, themes/sinusandnasal/description.txt, themes/sinusandnasal/education-page.php, themes/sinusandnasal/full.php, themes/sinusandnasal/interior-page.php, themes/sinusandnasal/page_theme.php, themes/sinusandnasal/resources-page.php, themes/sinusandnasal/thumbnail.png, themes/sinusandnasal/css/conditions-style.css, themes/sinusandnasal/css/index-style.css, themes/sinusandnasal/css/interior-style.css, themes/sinusandnasal/css/media-queries.css, themes/sinusandnasal/css/mobile.css, themes/sinusandnasal/css/style.css, themes/sinusandnasal/css, themes/sinusandnasal/elements/footer-scripts.php, themes/sinusandnasal/elements/conditions-header-bottom.php, themes/sinusandnasal/elements/footer.php, themes/sinusandnasal/elements/full-header-bottom.php, themes/sinusandnasal/elements/full-header-top.php, themes/sinusandnasal/elements/interior-header-bottom.php, themes/sinusandnasal/elements/subfooter.php, themes/sinusandnasal/elements, themes/sinusandnasal/images/close-menu.png, themes/sinusandnasal/images/dark-blue-bkgd.png, themes/sinusandnasal/images/dr-barham.png, themes/sinusandnasal/images/dr-hall.png, themes/sinusandnasal/images/facebook-icon-hover.png, themes/sinusandnasal/images/facebook-icon.png, themes/sinusandnasal/images/home-masthead.jpg, themes/sinusandnasal/images/light-blue-bkgd.png, themes/sinusandnasal/images/logo-small.png, themes/sinusandnasal/images/logo.png, themes/sinusandnasal/images/payment-arrow-hover.png, themes/sinusandnasal/images/payment-arrow.png, themes/sinusandnasal/images/show-menu.png, themes/sinusandnasal/images/very-light-blue-bkgd.png, themes/sinusandnasal/images/education/nasal-irrigation.jpg, themes/sinusandnasal/images/education/steroid.jpg, themes/sinusandnasal/images/education, themes/sinusandnasal/images, themes/sinusandnasal/blog.php, themes/sinusandnasal

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
5.5.38

# PHP Extensions
bcmath, bz2, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, shmop, SimpleXML, soap, sockets, SourceGuardian, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 10000
memory_limit - 128M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.