I have installed Newscoop 4.2 and imported articles from a database. The articles can be seen on the website and I can see them also in the admin interface. When I click on an article that is 'published', I can't get to the edit page, but if the article is 'new', everything works.
Also, I can not move articles in the list of articles to put them in a different section. I get the message "Connection interrupted! Please try again later!" every time, it doesn't matter if they are published or not. If I click on the article (when it is 'new') I can move it, but not if I select it from the list.
In the error log, I have this:
[02-Sep-2013 16:09:59 Europe/Stockholm] Newscoop error: Array to string conversion in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/admin-files/lib_campsite.php:146
What can I do about these problems?
Post edited by Sebastian Olsson (2) at 2014-01-16 04:46:55
Setting the status of the published articles to submitted allows me to move them, one at a time, and then publish them again which of course breaks the edit page again.
When I tried to delete an article, I got this error message:
Binding an entity with a composite primary key to a query is not supported. You should split the parameter into the explicit fields and bind them seperately.
And this is the error log from today:
[09-Sep-2013 11:11:56 Europe/Stockholm] PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 82 bytes) in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php on line 49
[09-Sep-2013 11:18:46 Europe/Stockholm] Newscoop error: Undefined variable: where in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/plugins/poll/classes/PollSection.php:183
[09-Sep-2013 11:20:29 Europe/Stockholm] Newscoop error: Array to string conversion in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/admin-files/lib_campsite.php:146
[09-Sep-2013 11:21:57 Europe/Stockholm] Newscoop error: Undefined variable: where in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/plugins/poll/classes/PollSection.php:183
[09-Sep-2013 11:24:11 Europe/Stockholm] Newscoop error: Undefined variable: where in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/plugins/poll/classes/PollSection.php:183
[09-Sep-2013 11:36:50 Europe/Stockholm] PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Binding an entity with a composite primary key to a query is not supported. You should split the parameter into the explicit fields and bind them seperately.' in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:257
Next exception 'Zend_Controller_Exception' with message 'Binding an entity with a composite primary key to a query is not supported. You should split the parameter into the explicit fields and bind them seperately.#0 /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(245): Doctrine\ORM\AbstractQuery->convertObjectParameterToScalarValue(Object(Newscoop\Entity\Article))
#14 {main}' in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:336
thrown in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php on line 336
This issue is really frustrating. Having to re-publish the article on every change means we get the wrong publish dates on lots of articles and they are sorted in the wrong order.
Is there an update coming soon or should I downgrade to a previous version of Newscoop?
Post edited by Sebastian Olsson (2) at 2013-11-25 10:41:26
When I try to edit a published article or publish an article from the edit page, I get this error message:
Argument 1 passed to Article::getSEOURLEnd() must be an array, boolean given, called in /var/lib/newscoop/admin-files/articles/edit_html.php on line 62 and defined
It turns out the problem with moving articles was not solved in 4.2.1, it was only working on my test installation on my laptop but not on the host server. This is in the log:
[22-Jan-2014 16:50:45 Europe/Stockholm] Newscoop error: Array to string conversion in /www/webvol20/lx/qocik3a4fn8yqn5/socialisterna.org/public_html/admin-files/lib_campsite.php:146