Page creation errors when ProBlog Installed
Permalink Browser Info Environment
Whenever anyone tries to create a page when this addon is installed they get this 500 server error. Additionally, even site administrators with page creation permission cannot view the add/edit or settings sub pages for ProBlog on the dashboard.
{"error":{"type":"Whoops\\Exception\\ErrorException","message":"Concrete\\Core\\Page\\Type\\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\\Package\\Problog\\src\\Page\\Type\\PublishTarget\\Configuration\\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition ","file":"\/var\/www\/html\/concrete\/src\/Page\/Type\/Type.php","line":846,"trace":[{"file":"\/var\/www\/html\/concrete\/src\/Page\/Type\/Type.php","line":846,"function":null,"class":null,"args":[]}]},"errors":["Concrete\\Core\\Page\\Type\\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\\Package\\Problog\\src\\Page\\Type\\PublishTarget\\Configuration\\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition "]}
{"error":{"type":"Whoops\\Exception\\ErrorException","message":"Concrete\\Core\\Page\\Type\\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\\Package\\Problog\\src\\Page\\Type\\PublishTarget\\Configuration\\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition ","file":"\/var\/www\/html\/concrete\/src\/Page\/Type\/Type.php","line":846,"trace":[{"file":"\/var\/www\/html\/concrete\/src\/Page\/Type\/Type.php","line":846,"function":null,"class":null,"args":[]}]},"errors":["Concrete\\Core\\Page\\Type\\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\\Package\\Problog\\src\\Page\\Type\\PublishTarget\\Configuration\\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition "]}
Type: | Pre-Sale |
---|---|
Status: | In Progress |
uhhh..... I have no idea here. I am not able to reproduce this. All of this (5.7 core code) is so new and changing constantly...I may have to pull in the core team on this. We have seen a few file naming issues regarding various server conditions? Could be that???
Can you try to simply rename /packages/problog/src/Page/Type/PublishTarget/Configuration/BlogSectionConfiguration.php & ../Type/BlogSectionType.php to blog_section_configuration.php & blog_section_type.php respectively?
ChadStrat
Can you try to simply rename /packages/problog/src/Page/Type/PublishTarget/Configuration/BlogSectionConfiguration.php & ../Type/BlogSectionType.php to blog_section_configuration.php & blog_section_type.php respectively?
ChadStrat
Doing this before installing yeilds the error
Class \Concrete\Package\Problog\Src\Page\Type\PublishTarget\Type\BlogSectionType does not exist
Class \Concrete\Package\Problog\Src\Page\Type\PublishTarget\Type\BlogSectionType does not exist
And afterwards doesn't fix the error.
Just let me know if there's other information you need about our environment as well, I left a message on the voicemail for you guys if you need information that I can't just post here.
Just let me know if there's other information you need about our environment as well, I left a message on the voicemail for you guys if you need information that I can't just post here.
So I think we just managed to solve the issue. All of the folders inside of the problog root folder were uppercase, and changing those ALL to lowercase names allowed it to work. We're running this on a linux server so case sensitivity screwed us over.
try updating to ProBlog v1.0.5
ChadStrat
ChadStrat
sorry....v2.0.6
C
C
Hi, We've also encountered this problem.
The possible fix suggested by Carahsoft of renaming all the folders to lowercase has not worked for us.
We are running Concrete 5.7.3.1 and the latest version of the extension from the marketplace which is reported to be version 2.0.4 by the 'Add Functionality' page in our concrete install.
You mention 2.0.6 and the marketplace says that's the latest however its only given me 2.0.4
Was any other progress made on this problem?
- Greg
The possible fix suggested by Carahsoft of renaming all the folders to lowercase has not worked for us.
We are running Concrete 5.7.3.1 and the latest version of the extension from the marketplace which is reported to be version 2.0.4 by the 'Add Functionality' page in our concrete install.
You mention 2.0.6 and the marketplace says that's the latest however its only given me 2.0.4
Was any other progress made on this problem?
- Greg
Hi,
we got the same Problem when adding sites an ProBlog is installed:
PHP Fatal error: Concrete\Core\Page\Type\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\Package\Problog\src\Page\Type\PublishTarget\Configuration\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in concrete/src/Page/Type/Type.php on line 993
concrete5 Version 5.7.3.1
ProBlog Version 2.0.4 (newest version installed on 19.01.2015, marketplace says there should be a version 2.0.6 ?)
any updates
we got the same Problem when adding sites an ProBlog is installed:
PHP Fatal error: Concrete\Core\Page\Type\Type::canPublishPageTypeBeneathPage(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Concrete\Package\Problog\src\Page\Type\PublishTarget\Configuration\BlogSectionConfiguration" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in concrete/src/Page/Type/Type.php on line 993
concrete5 Version 5.7.3.1
ProBlog Version 2.0.4 (newest version installed on 19.01.2015, marketplace says there should be a version 2.0.6 ?)
any updates
Hi Chad,
i just tried to install the Version 2.1.0, we have unistalled the 2.0.4 an few day before, because it broke the core functionality as described before.
Now it seems the Installation is not working correct.
1. Excellent! Your theme has a right_sidebar!
2. Install:
beneeth the error the Pre Install Checker say "Excellent! Your theme has a right_sidebar!" and the Install Button is still there.
But something was installed, the ProBlog section in Settings is there.
Sitemap shows a Blogsearch, but no Blog.
Ok so i added the blog_section attribute to a normal site and added the ProBlock List Block as well. Ok seems to work, butt there is no Category List / Tags eg.
Now i'm not sure if this is because we unistalled the old version, or because an error in the installer, or because something else.
What should we do now to get this working?
Best regards
Ingo
i just tried to install the Version 2.1.0, we have unistalled the 2.0.4 an few day before, because it broke the core functionality as described before.
Now it seems the Installation is not working correct.
1. Excellent! Your theme has a right_sidebar!
2. Install:
An exception occurred while executing 'select cID from Pages where cParentID in () and cInheritPermissionsFromCID = ': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and cInheritPermissionsFromCID =' at line 1
beneeth the error the Pre Install Checker say "Excellent! Your theme has a right_sidebar!" and the Install Button is still there.
But something was installed, the ProBlog section in Settings is there.
Sitemap shows a Blogsearch, but no Blog.
Ok so i added the blog_section attribute to a normal site and added the ProBlock List Block as well. Ok seems to work, butt there is no Category List / Tags eg.
Now i'm not sure if this is because we unistalled the old version, or because an error in the installer, or because something else.
What should we do now to get this working?
Best regards
Ingo
Hi Chad,
thank you for your detailed feedback ...
I've just tested v.2.2.2 again and there seems to be no more error.
best regards
Ingo
thank you for your detailed feedback ...
I've just tested v.2.2.2 again and there seems to be no more error.
best regards
Ingo
Formal Refund Request: Please grant me a refund for the license assigned to this support request.
We've had a number of issues with this product, and it's clear to us at this point that it just needs more development time before it's worth using problog, at least on 5.7
we have release several updates the last few days. Are you sure you're on the latest version??? v2.1.0?
ChadStrat
ChadStrat
it's worth mentioning, that the core updates effect addons. So when we release something, it does not get released unless it passes droves of testing. But then every new Core update earlier on that gets released, especially for larger apps, can effect functionality. We try to get that updated as fast as possible, but I was out most of last week.
But, please know, trying to develop for C5 major releases is a bit like trying to hit a moving target. And they don't really tell us what all they change. So sometimes...it's as much of a frustration for us as it is you. Because we end up looking like a failure when in reality it was working fine a week ago. lol
Just thought I would explain that. It's not that we are bad at code...its that they keep changing the code our code relies on.
It should be leveling out here this month though.
ChadStrat
But, please know, trying to develop for C5 major releases is a bit like trying to hit a moving target. And they don't really tell us what all they change. So sometimes...it's as much of a frustration for us as it is you. Because we end up looking like a failure when in reality it was working fine a week ago. lol
Just thought I would explain that. It's not that we are bad at code...its that they keep changing the code our code relies on.
It should be leveling out here this month though.
ChadStrat
I can appreciate the hardships involved with creating addons for a product in motion, but at the end of the day the product just did not work as it needed to. We had multiple issues which constantly caused us to lose progress, broke core site functionality, or just didn't ever work. Our refund request stands, sorry.
i (temporarily?) got rid of the error by simply hardcoding
at the top of application/bootstrap/app.php
Not sure if this is going bite me in the arse at some later point, but so far, so good.
require '/site/root/web/packages/problog/src/page/type/publish_target/configuration/blog_section_configuration.php';
at the top of application/bootstrap/app.php
Not sure if this is going bite me in the arse at some later point, but so far, so good.
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