Errors trying to use ProBlog on Home Page only

Permalink Browser Info Environment
The site is a blog, thus my intention is to have the ProBlog on the home page and no other pages in the navigation. I have not been able to do this due to ProBlog adding another menu and failing to function, when trying to hide or to remove this.

Steps to reproduce:

* Install Concrete5.7 without sample content
* Install 'Global Theme' (but the problem also occurs in Elemental)
* Change Home Page Template to use Right Sidebar
* Install ProBlog (this creates an additional cascading menu called Blog in the site root)
* add a ProBlog List block as main content & some blog posts

Problems
* opening an individual blog post will link to the Blog-2015-... sub-menu
* hiding those Blog pages from Navigation leads to a timeout (Maximum execution time of 30 seconds exceeded) when trying to read the post (the blog post never appears, this happened on 3 different installs)
* deleting the Blog menu from Sitemap leads to the following error:

An exception occurred while executing 'SELECT p.cID FROM Pages p LEFT JOIN PagePaths pp ON (p.cID = pp.cID and pp.ppIsCanonical = true) LEFT JOIN PageSearchIndex psi ON p.cID = psi.cID LEFT JOIN PageTypes pt ON p.ptID = pt.ptID INNER JOIN Collections c ON p.cID = c.cID INNER JOIN CollectionVersions cv ON p.cID = cv.cID LEFT JOIN CollectionSearchIndexAttributes csi ON c.cID = csi.cID WHERE (cv.cID < 169) AND ((CHAR_LENGTH(cv.cvName) > 4 OR cv.cvName NOT REGEXP '^[0-9]')) AND (cv.cvDatePublic <= ?) AND (()) AND (p.cPointerID < 1) AND (p.cIsTemplate = 0) AND (cvIsApproved = 1) AND (p.cIsActive = ?) AND (p.cIsSystemPage = ?)' with params ["2015-09-20 18:19:33", true, false]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (p.cPointerID < 1) AND (p.cIsTemplate = 0) AND (cvIsApproved = 1) AND (p.' at line 1

How to get just a blog with ProBlog on the homepage and without the second 'Blog' menu?

Type: Pre-Sale
Status: In Progress
chriswayg
View Replies:
chriswayg replied on at Permalink Reply 1 Attachment
chriswayg
After looking through the scattered documentation, I learned, that it needs the Attribute "Blog Section" enabled for the Home Page, thus allowing me to assign posts to this new section. After re-assigning the posts, the default 'Blog' menu can be deleted without errors.

But it leads to another problem: the ProBlog list on the Dashboard now shows every single page (including dozens of system pages) instead of just showing blog posts. This makes the list very cumbersome to use. Is there a fix, so that only ProBlog pages will be shown in this list?
RadiantWeb replied on at Permalink Reply
RadiantWeb
Hi there,

This is an auto responder to let you know that your support ticket has been forwarded to our entire support team at RadiantWeb!

Support tickets are reviewed Mondays thru Fridays 9am to 9pm & Saturdays 9am to 12pm EST.

A support team member will be following up with you as soon as possible.

Thank for supporting RadiantWeb Products!

RadiantWeb Support
http://goradiantweb.com
chriswayg replied on at Permalink Reply
chriswayg
Even with having the Blog moved to the home page and the blog section attribute enabled, the original problems recur in a similar way:

* The navigation shows a non-removable item '2015' with sub-menus
* changing this '2015' page attribute to 'Exclude from Nav' causes the following errors

** when trying to add a new blog post:

Argument 1 passed to Concrete\Core\Page\Controller\PageController::__construct() must be an instance of Concrete\Core\Page\Page, none given, called in /var/www/html/updates/concrete5.7.5.2/concrete/src/Page/Page.php on line 85 and defined

** when trying to access an individual blog post:

You don't have permission to access /index.php/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/2015/09/another-test-post-2 on this server.


* The '2015' page attribute cannot be changed back from the Sitemap to be visible again in navigation, as it has completely disappeared from all views

Thus the original question remains: how to use ProBlog to set up a blog on the home page without showing other items (like '2015' or 'Blog') in the main navigation?
chriswayg replied on at Permalink Reply
chriswayg
Here is an example of the page with the non-removable 2015 menu:

http://uniqueeunike.com:8880/index.php...

a blue notification appears here, where it does not belong:
http://uniqueeunike.com:8880/index.php/2015/09...

The Content page type composer form element will output its contents here (Block ID 14)
RadiantWeb replied on at Permalink Reply
RadiantWeb
to add to home page:
1- add the "blog_section" attribute to your home page
2- move your posts
3- remove the /blog page
4- add a blog list block to the home page.
chriswayg replied on at Permalink Reply 1 Attachment
chriswayg
Yes, this basically works now without errors and I have set it up this way. Now I would still like to see a solution for the issue I brought up in my second post (see the attached screenshot):

"But it leads to another problem: the ProBlog *list on the Dashboard now shows every single page* (including dozens of system pages) instead of just showing blog posts. This makes the list very cumbersome to use.

Is there a fix, so that only ProBlog pages will be shown in this list?"
Tomavatars replied on at Permalink Reply
Tomavatars
I'm interested by this also.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.1
Version Installed - 5.7.5.1
Database Version - 20150713000000

# concrete5 Packages
Global Theme (0.9.3), ProBlog (2.4.2).

# concrete5 Overrides
languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, 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/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/site, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, 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/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/site, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.10 (Debian)

# Server API
apache2handler

# PHP Version
5.6.12-0+deb8u1

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:40.0) Gecko/20100101 Firefox/40.0

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.