Giter Club home page Giter Club logo

sourcefabric / newscoop Goto Github PK

View Code? Open in Web Editor NEW
252.0 252.0 145.0 273.9 MB

Newscoop is the open content management system for professional journalists. Features for the modern newsroom include multiple author management, issue-and-section based publishing, geolocation and multilingual content management. The enterprise-standard journalist’s dashboard and a templating engine supporting anything from HTML5 to mobile complete this fast production and publishing system.

Home Page: http://newscoop.sourcefabric.org

License: GNU General Public License v3.0

PHP 75.72% CSS 3.62% XSLT 0.02% HTML 4.77% JavaScript 15.37% Smarty 0.24% Shell 0.03% Ruby 0.01% Gherkin 0.23% PLpgSQL 0.01%

newscoop's People

Contributors

acalisma avatar actionless avatar ahilles107 avatar danielhjames avatar djbrd-sourcefabric avatar fritzsf avatar gizm0bill avatar hlmnrmr avatar localizer avatar m038 avatar mugurrus avatar naomiaro avatar nistormihai avatar omniton avatar ozanozbek avatar peteofrepublic avatar petrjasek avatar sebarn avatar snurolss avatar takeit avatar terwey avatar thnkloud9 avatar x42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

newscoop's Issues

Can't be installed on PHP 7.0.X

After installation is done:

RuntimeException: PHP Warning: Declaration of Newscoop\Form\Element\OldHash::render(Newscoop\Form\Element\Zend_View_Interface $view = NULL) should be compatible with Zend_Form_Element::render(Zend_View_Interface $view = NULL) in /var/www/Newscoop/library/Newscoop/Form/Element/OldHash.php on line 18 PHP Fatal error: Cannot use string as string because 'string' is a special class name in /var/www/Newscoop/library/Newscoop/Controller/Action/Helper/Datatable/Adapter/AAdapter.php on line 5 in /var/www/Newscoop/library/Newscoop/Installer/Services/FinishService.php line 55 at FinishService->generateProxies() in /var/www/Newscoop/install/index.php line 344 at {closure} (object(Request)) at call_user_func_array(object(Closure), array(object(Request))) in /var/www/Newscoop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145 at HttpKernel->handleRaw(object(Request), '1') in /var/www/Newscoop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66 at HttpKernel->handle(object(Request), '1', true) in /var/www/Newscoop/vendor/silex/silex/src/Silex/Application.php line 547 at Application->handle(object(Request)) in /var/www/Newscoop/vendor/silex/silex/src/Silex/Application.php line 524 at Application->run() in /var/www/Newscoop/install/index.php line 354

admin dashboard error

Error: An exception occurred while executing 'UPDATE Articles SET webcode = ? WHERE IdLanguage = ? AND Number = ?' with params ["s7x5j", 1, 1]: SQLSTATE[HY000]: General error: 1785 Statement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.

$mysql --version
mysql  Ver 14.14 Distrib 5.7.15, for FreeBSD10.2 (amd64) using  EditLine wrapper

4.3.1 Backup/Restore does not work on Debian 7 Wheezy

Hello.

I can not create backup in 4.3.1, and could not create backup in 4.2.4 either. Now I have installation upgraded to 4.3.1 with help of Rafal in HipChat. In other areas the installation works well, indicated by Rafal when helping me, and I have not discovered other errors...yet.

But Backup does not work. In my initial 4.2.4 installation I followed installation guide here sourcefabric.booktype.pro/newscoop-43-for-journalists-and-editors/manual-installation/
I also did the recommended php.ini modifications.

I have tried both Backup from admin panel, and from command consol.

Both give this error message:
backuperror

Wrong path for css/images in installer

The path don't work in my case as they assume you installed newscoop on your "root" directory, but I have them in /var/www/newscoop/Newscoop/newscoop

To fix this, the path in newscoop(install/Resources/views/layout.twig should be changed from /install to ../install

composer not working

it must be : curl -sS https://getcomposer.org/installer | sudo php
instead of : curl -s https://getcomposer.org/installer | php

but even with that, i still have error with : php composer.phar install --no-dev

Composer successfully installed to: /var/www/composer.phar
Use it: php composer.phar
rescue@zopa:/var/www$ php composer.phar install --no-dev
Composer could not find a composer.json file in /var/www
To initialize a project, please create a composer.json file as described in the https:<//getcomposer.org/ "Getting Started" section

Clean installation problem

DBALException: An exception occurred while executing 'INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", ?) ON DUPLICATE KEY UPDATE ver_value = ?' with params ["4.4.x", "4.4.x"]:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'scoop.versions' doesn't exist

this is what I get during a installation process, manual or web

JPEG compression

Is it possible to change JPEG compression for generated images by tweaking some source file? Current JPEG quality isn't good enough.

Error Report

8:Newscoop:4.4.7:05c859648ce0100e54e5ca57cb791a281d87d882.file.responsive-menu.tpl.php:44

PHP Version: | 5.4.45
OS: | Linux dbbackup 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Apr 11 17:13:24 UTC 2017 x86_64
Error String: | Trying to get property of non-object
Time: | Fri, 08 Sep 2017 11:29:59 +0700
Backtrace: | Admin_Bootstrap::{closure}() called at [:] call_user_func() called at [/var/www/html/newscoop/vendor/monolog/monolog/src/Monolog/ErrorHandler.php:150] Monolog\ErrorHandler::handleError() called at [/var/www/html/newscoop/cache/05c859648ce0100e54e5ca57cb791a281d87d882.file.responsive-menu.tpl.php:44] content_59b0e81cc571a1_43604866() called at [/var/www/html/newscoop/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188] Smarty_Internal_TemplateBase::fetch() called at [/var/www/html/newscoop/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:304] Smarty_Internal_Template::getSubTemplate() called at [/var/www/html/newscoop/cache/4e09f62070a0cc75d67729ab879849bdb530d7c4.file.auth_index.tpl.php:33] content_59b1164b58c681_91063827() called at [/var/www/html/newscoop/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188] Smarty_Internal_TemplateBase::fetch() called at [/var/www/html/newscoop/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:394] Smarty_Internal_TemplateBase::display() called at [/var/www/html/newscoop/library/Newscoop/SmartyView.php:37] Newscoop\SmartyView::_run() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php:888] Zend_View_Abstract::render() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:900] Zend_Controller_Action_Helper_ViewRenderer::renderScript() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:921] Zend_Controller_Action_Helper_ViewRenderer::render() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:960] Zend_Controller_Action_Helper_ViewRenderer::postDispatch() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action/HelperBroker.php:277] Zend_Controller_Action_HelperBroker::notifyPostDispatch() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php:527] Zend_Controller_Action::dispatch() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:295] Zend_Controller_Dispatcher_Standard::dispatch() called at [/var/www/html/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php:954] Zend_Controller_Front::dispatch() called at [/var/www/html/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php:65] Newscoop\ZendBridgeBundle\Controller\BridgeController::indexAction() called at [:] call_user_func_array() called at [/var/www/html/newscoop/application/bootstrap.php.cache:3008] Symfony\Component\HttpKernel\HttpKernel::handleRaw() called at [/var/www/html/newscoop/application/bootstrap.php.cache:2970] Symfony\Component\HttpKernel\HttpKernel::handle() called at [/var/www/html/newscoop/application/bootstrap.php.cache:3119] Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel::handle() called at [/var/www/html/newscoop/application/bootstrap.php.cache:2368] Symfony\Component\HttpKernel\Kernel::handle() called at [/var/www/html/newscoop/public/index.php:70] require_once() called at [/var/www/html/newscoop/index.php:17]

//install/license is 404 on remote server, works on localhost

When visiting the site, after running the composer install, everything looks good. However, the "next" link, to //install/license returns a 404 Not Found response.

sys-compat

I have ensured that permissions are correct for files and directories in the entire repo:

chown www-data:adm . -R
chmod g+rw . -R
find . -type d -exec chmod a+x {} +

This is with the Newscoop tagged release 4.4.7.

The strangest thing is, this works fine on localhost. It is only the remote server that this goes wrong.

Everything is installed using Ansible, on an Ubuntu 16.04 server; if it helps, I have posted the playbook in a gist, at https://gist.github.com/d4goxn/9099d2b65b92136a387ab7ccf3e3fb46

Docker container really slow

My average page loading time is at least 8 seconds on a clean vanilla newscoop installation. I do not believe it is mySQL image causing the problem, instead it seems like mounted cache and log folder are the ones to blame. There are a lot read/writes happening from those files that are mounted, and this, I believe, slows down the whole thing.

Imported themes are not recognized

Imported themes are left in newscoop/themes/unassigned/theme_1/[theme name](number increments)

The theme must be manually moved up a subdirectory for example to newscoop/themes/unassigned/themename

Some comments and recommendations to make the Newscoop API more usable with recent web app frameworks.

Some comments and recommendations to make the Newscoop API more usable with recent web app frameworks from @oliverwehn

Thoughts on the Newscoop API (v.1.?)

General

I’m currently trying to build an REST adapter for Ember.js to communicate with the Newscoop API. The thing is, that the API endpoints and the returned results aren’t structured in a that coherent way that would allow a single abstracted API adapter to communicate with the CMS based on simple conventions. Therefor I’ve written down my idea of the API’s structure and the responses I’d expect to get from API endpoints.

Issues

There are a few important resources you probably want to be able to get your hands on in Newscoop (through their endpoints). Trying to get to them I stumbled upon some issues and inconsistencies.

Endpoints

The endpoint architecture is very specific, depending on what you want to query from the api. For example, if you want to get articles, you request them from GET /articles, but if you want to get the articles for a certain topic, you have to request them from GET /topics/{topicId}/{language}/articles. It seems, you can’t query articles for a topic or any other property of the article data set from the main article endpoint. If you could, there was no need for multiple endpoints for one kind of resource (in this case 'article'). Also it seems to be inconsistent, that you don’t need a language code for the main article endpoint, but for the topic’s articles endpoint (and a few others) you do.

Response format

There are some aspects of the JSON responses that I’m not really happy with. Requesting topics with

GET /topics

gives me

{
    "items":[
        {
            "id":395,
            "title":"Caspar Baader"
        },
        {
            "id":394,
            "title":"Thomas de Courten"
        },
        
    ],
    "pagination":{
        "itemsPerPage":10,
        "currentPage":1,
        "itemsCount":805,
        "nextPageLink":"http:\/\/www.tageswoche.ch\/content-api\/topics?page=2&items_per_page=10"
    }
}

The returned object is named "items", what seems a bit generic to me, but would be ok, if "item(s)" was used as the wrapper for the requested data sets consistently throughout the API’s JSON responses. That’s not the case.

Now we go for the articles of a certain topic with

GET /topics/{id}/{language}/articles

you’ll get

{
    "id":600,
    "title":"Wochenendlich",
    "items":[
        {
            "language":"de",
            "fields":{
                
            },
            
        },
        {
        
        },
        
    ]
}

The request for articles of topic {id} is answered with a JSON object containing the articles in "items" again. That’s fine. But why is this also the only way to get to the data set of the topic itself (with its properties loosely added to the response like "id", "title"), instead of providing it via an own endpoint? I’d expect to get the topic data via

GET /topics/{id}

what just gives you an 404 error. That seems especially strange, as you can easily get to an article through

GET /articles/{id}

giving you:

{
    "language":"de",
    
    "webcode":"k08x7",
    "reads":"0"
}

As mentioned before, responses with multiple data sets are returned as a JSON array wrapped in an "items" property { "items": [ … ] }. Therefor I’d expect a request for a single data set to give me the result as an object wrapped in an "item" property { "item": { … } }.

Identifiers

Topics, articles-lists, authors, etc. have an "id" property, articles have a "number" property instead. Why having differently named identifiers for resources?

Recommendations

In my opinion it should be the goal to create a consistent and conventional API where the request URIs for all resources and the structure of responses are build based on a reliable architecture. Therefor this isn’t just a (really short) list of recommendations, but much more a wish list of someone who wants to build nice apps without spending to much time on abstracting API communications.

Each resource should have a single, unique endpoint

Like:

GET /articles       /* page through articles data sets { "articles": [ … ], "pagination": { … } } */
GET /articles/{id}  /* get data set of article with ID id { "article": { … } } */
GET /articles-lists /* page through articles-lists data sets { "articles-lists": [ … ], "pagination": { … } } */
GET /articles-lists/{id}   /* get data set of articles list with ID id { "articles-list": { … } } */
GET /topics         /* page through topics data sets { "topics": [ … ], "pagination": { … } } */
GET /topics/{id}    /* get data set of topic with ID id { "topic": { … } } */
GET /authors        /* page through authors { "authors": [ … ], "pagination": { … } } */
GET /authors/{id}   /* get data set of author with ID id { "author": { … } } */
…

This allows the application to determine the endpoint by convention for each of its data models. So including resource links into the response objects like

{ 
  "language": "de",
  …,
  "authors": [
      {
          "name":"Karen N. Gerig",
          "link":"http:\/\/www.tageswoche.ch\/content-api\/author\/179"
      }
  ],
  …
}

would become superfluous.

Filtering and requesting data by relation should be done via data sent with the request. So e.g. the request for articles of a topic shouldn’t look like

GET /topics/600/de/articles

but more like

GET /articles?topics=[600]&language=de /* with language as optional parameter */

It would be much more consistent, as you stay true to the specific API endpoint of the requested resource type.

Respond accordingly to what was requested

GET /articles

shoud get you

{ "articles": 
  [
    { 
      "id": 753433,
      "title": "Wochenendlich in Warschau",
      "topics": [ 
        { 
          "id": 600,
          "name": "Wochenendlich",
          
        },
        {
          "id": 432,
          "name": "Basel",
          
        }
      ],
      
    },
    {
      "id": 734274,
      "title": "Die neue App ist da",
      ,
      "topics": [ 
        { 
          "id": 453,
          "name": "TagesWoche",
          
        }
      ],
      
    },
    
  ],
  "pagination": 
  {
    "currentPage": 1,
    "itemsPerPage": 10,
    
  }
}

and

GET /articles/753433

should get you

{ "article": 
  { 
      "id": 753433,
      "title": "Wochenendlich in Warschau",
      "topics": [ 
        { 
          "id": 600,
          "name": "Wochenendlich",
          
        },
        {
          "id": 432,
          "name": "Basel",
          
        }
      ],
      
    }
}  

with the returned resources being named accordingly to their type and separated from for example the pagination object.

Allow loading related resources asynchronously

To optimize the amount of transferred data and the number of http requests accordingly to the necessities of the app, the API shoukd provide the possibility to switch between synchronous and assynchronous loading of related resources (like topics of an article). Providing a GET parameter like async=1 should make the API deliver just the IDs of the related data sets. The fields representing the relations should be named accordingly to the related resource (singular ('topic') for single "belongs to" relations or pluralized ('topics') for multiple "belongs to" or "has many" relations).

Asynchronous

GET /articles/753433?async=1

should get you

{ "article": 
  { 
      "id": 753433,
      "title": "Wochenendlich in Warschau",
      "topics": [ 600, 432 ],
      
    }
}  

Synchronous

When loading relations synchronously, it could be more efficient to provide related data sets for side loading instead of listing them redundantly within each returned data set. For example, when a list of 'articles' is requested, the chance is high some of them share one or more 'topics' or 'authors'. This could lead to:

{ "articles": 
  [
    { 
      "id": 753433,
      "title": "Wochenendlich in Warschau",
      "topics": [ 432, 600 ],
      "authors": [ 45 ],
      
    },
    {
      "id": 734274,
      "title": "Die neue App ist da",
      ,
      "topics": [ 432, 453 ],
      "authors": [ 45, 74 ], 
      
    },
    
  ],
  "topics": 
  [
    {
      "id": 432,
      "name": "Basel",
      
    },
    { 
      "id": 453,
      "name": "TagesWoche"
      
    },
    { 
      "id": 600,
      "name": "Wochenendlich",
      
    }
  ],
  "authors": 
  [
    {
      "id": 45,
      "name": "David Bauer",
      
    },
    {
      "id": 74,
      "name": "Catherine Binser",
      
    }
  ]
}

Unable to install or upgrade master (SQL migrations?)

Hopefully I'm just missing something, I'm unable to get master (i.e. 4.3.x) running locally, it looks like there is some problem with the SQL migrations, I have tried installing into an empty database, as well as upgrading from a 4.2.2 database, and both fail in a similar way.

Logs (log/install.log and log/upgrade.log):

I also tried merging the patches in #702 and #703 but this didn't change much.

Any advice would be great, thanks!

Journalist dashboard

Special dashboard with

  • latest published/not published journalist articles
  • journalist stats (comments/reads)
  • shortcuts (on top of page)
  • comments for his articles (+ fast way to reply on it)

Proper multi theme by issue and locale handling (CS-5844)

Problem

Within a publication in Newscoop it's possible to add multiple issues with each their own theme. These issues can be translated and those translations also can have different themes assigned to them. See the scheme below for a more visual explanation. The problem however resides on the homepage, it uses the theme of the latest added issue (not taking into account the workflow status and locale).

Publication

  • Issue 1
    • Issue 1 in English published with theme GlobalNews
    • Issue 1 in German published with theme Quetzal
  • Issue 2
    • Issue 2 in English not published with theme Rockstar
    • Issue 2 in German not published with theme Broadcaster (This is the last added issue, this will be used for frontpage)

My suggestion

My solution contains 2 parts, the first is a direct link between a theme and a publication, the second is a proper implementation of using the theme from the latest issue (taking the properties into account).

Theme for publication

On the publication edit page there will be a new dropdown. It contains a list of themes, linked to the publication in the theme manager, but by default the value is set to Use theme from issue. So it will use the second part of the solution which is also closest in functionality to the current Newscoop implementation. The point of giving the user a override method is to simply theme handling for end users, but it would also allow to easily use a temporary theme for you publication, in case of breaking news or something like that.

Proper latest issue

The current implementation is incomplete, because it doesn't take workflow status and locale into account. My suggestion is to create a proper method getPublishedIssueByPublicationAndLocale. So on the default homepage the default language for the publication will be used and the published issue for that language with the highest number will provide a theme. Using highest number, instead of publication date, will allow users to create a theme base issue, Newscoop will then keep using that theme, no matter which themes are assigned to later published issues. In this scenario also language homepages (example.com/cz or example.com/de) will work with the proper theme.

The only technical problem here is that in our Locale listener we process the issue before taking the language from the url, this needs to be solved

[WIP] [cache] Article/Section/Issue pages handled by Symfony controllers.

Problem

Rendering article/section/issue templates involves very non-efficient CampURI class. Looks like now we can get all needed informations from publication/issue/?section?/article listeners - se we don't need anymore CampURI.

Second problem are missing reverse cache headers.

Solution

New (fast) article/section/issue templates rendering controllers.

Steps to do

  • Sections service (metadata in request attributes)
  • New routes for content controller
  • Remove CampSession
  • Rewrite SecurityToken (use csrf token from Symfony)
  • Add caching to content responses
  • Clear template response must be faster than 200ms
  • Compatible with Varnish
  • In System Preferences user must have option to use build in Symfony reverse cache (AppCache kernel).

4.3.1 - Author biografi disappeared from full article view

I had a short author biografi entered in 4.2.4, that showed up in the upper right hand corner in New Custodian full article view. After upgrading to 4.3.1 this biografi disappeared from public view (only authors profile picture is shown in public), even though it is still entered in the admin panel. I don't know if this is a NS issue, or an issue with New Custodian not completely compatible with NS 4.3. I report it anyway.

Text typo within "How to install this plugin?" guide.

On the "Plugin Manager" screen, in "Install New Plugins" section information regarding installation of plugin saying "2. Run command: php application/console install:plugins" but must say "2. Run command: php application/console plugins:install".

Runtime Exception

Please can anybody helped me out, i downloaded newscoop 4.3.0 from soucefabric website and i keep getting the error below while installing on justhost:

Whoops, looks like something went wrong.
1/1 RuntimeException:

in /home2/mysite/public_html/library/Newscoop/Installer/Services/FinishService.php line 56
at FinishService->generateProxies() in /home2/mysite/public_html/install/index.php line 345
at {closure}(object(Request))
at call_user_func_array(object(Closure), array(object(Request))) in /home2/mysite/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 117
at HttpKernel->handleRaw(object(Request), '1') in /home2/mysite/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
at HttpKernel->handle(object(Request), '1', true) in /home2/mysite/public_html/vendor/silex/silex/src/Silex/Application.php line 538
at Application->handle(object(Request)) in /home2/mysite/public_html/vendor/silex/silex/src/Silex/Application.php line 515
at Application->run() in /home2/mysite/public_html/install/index.php line 354

creating new article

Error ID: 2048:Newscoop:4.4.7:SaaS.php:20
PHP Version: 5.6.25
OS: FreeBSD wordpress 10.2-RELEASE-p18 FreeBSD 10.2-RELEASE-p18 #0: Sat May 28 08:53:43 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
Error String: Accessing static property SaaS::$saasConfig as non static
Time: Tue, 27 Sep 2016 11:31:03 +0100
Backtrace:

Admin_Bootstrap::{closure}() called at [:]
call_user_func() called at [/usr/home/dev/scoop/vendor/monolog/monolog/src/Monolog/ErrorHandler.php:150]
Monolog\ErrorHandler::handleError() called at [/usr/home/dev/scoop/classes/SaaS.php:20]
SaaS::__construct() called at [/usr/home/dev/scoop/classes/SaaS.php:30]
SaaS::singleton() called at [/usr/home/dev/scoop/application/plugins/Acl.php:64]
Application_Plugin_Acl::preDispatch() called at [/usr/home/dev/scoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:309]
Zend_Controller_Plugin_Broker::preDispatch() called at [/usr/home/dev/scoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php:941]
Zend_Controller_Front::dispatch() called at [/usr/home/dev/scoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php:65]
Newscoop\ZendBridgeBundle\Controller\BridgeController::indexAction() called at [:]
call_user_func_array() called at [/usr/home/dev/scoop/application/bootstrap.php.cache:3008]
Symfony\Component\HttpKernel\HttpKernel::handleRaw() called at [/usr/home/dev/scoop/application/bootstrap.php.cache:2970]
Symfony\Component\HttpKernel\HttpKernel::handle() called at [/usr/home/dev/scoop/application/bootstrap.php.cache:3119]
Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel::handle() called at [/usr/home/dev/scoop/application/bootstrap.php.cache:2368]
Symfony\Component\HttpKernel\Kernel::handle() called at [/usr/home/dev/scoop/public/index.php:73]
require_once() called at [/usr/home/dev/scoop/admin.php:2]

[4.3.1] Can not access Media Archive

Upgraded to 4.3.1 and getting this error when accessing Media Archive (from prod.log)

[2015-01-12 11:38:55] request.CRITICAL: Uncaught PHP Exception Zend_Controller_Exception: "Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\__CG__\Newscoop\Image\Rendition->__load() #1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\__CG__\Newscoop\Image\Rendition->setCoords(NULL) #2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\Package\Item->getRendition() #3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\Package\Item)) #4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array) #5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\Package\Package)) #6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array) #7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array) #8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array) #9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array) #10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array) #11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...') #12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction() #13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch() #16 [internal function]: Newscoop\ZendBridgeBundle\Controller\BridgeController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) #17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array) #18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/lib/newscoop/public/index.php(69): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...') #23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...') #24 {main}" at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php line 336 {"exception":"[object] (Zend_Controller_Exception: Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\\__CG__\\Newscoop\\Image\\Rendition->__load()\n#1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\\__CG__\\Newscoop\\Image\\Rendition->setCoords(NULL)\n#2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\\Package\\Item->getRendition()\n#3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Item))\n#4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array)\n#5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Package))\n#6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array)\n#7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array)\n#8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)\n#9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array)\n#10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array)\n#11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...')\n#12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction()\n#13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')\n#14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch()\n#16 [internal function]: Newscoop\\ZendBridgeBundle\\Controller\\BridgeController->indexAction(Object(Symfony\\Component\\HttpFoundation\\Request))\n#17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array)\n#18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 /var/lib/newscoop/public/index.php(69): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...')\n#23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...')\n#24 {main} at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:336, Doctrine\\ORM\\EntityNotFoundException: Entity was not found. at /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php:32)"} []
[2015-01-12 11:38:55] sentry.CRITICAL: Uncaught exception {"exception":"[object] (Zend_Controller_Exception: Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\\__CG__\\Newscoop\\Image\\Rendition->__load()\n#1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\\__CG__\\Newscoop\\Image\\Rendition->setCoords(NULL)\n#2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\\Package\\Item->getRendition()\n#3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Item))\n#4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array)\n#5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Package))\n#6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array)\n#7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array)\n#8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)\n#9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array)\n#10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array)\n#11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...')\n#12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction()\n#13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')\n#14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch()\n#16 [internal function]: Newscoop\\ZendBridgeBundle\\Controller\\BridgeController->indexAction(Object(Symfony\\Component\\HttpFoundation\\Request))\n#17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array)\n#18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 /var/lib/newscoop/public/index.php(69): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...')\n#23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...')\n#24 {main} at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:336, Doctrine\\ORM\\EntityNotFoundException: Entity was not found. at /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php:32)"} []
[2015-01-12 11:38:56] request.CRITICAL: Exception thrown when handling an exception (InvalidArgumentException: Template name "" is not valid (format is "bundle:section:template.format.engine").) {"exception":"[object] (Zend_Controller_Exception: Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\\__CG__\\Newscoop\\Image\\Rendition->__load()\n#1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\\__CG__\\Newscoop\\Image\\Rendition->setCoords(NULL)\n#2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\\Package\\Item->getRendition()\n#3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Item))\n#4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array)\n#5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Package))\n#6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array)\n#7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array)\n#8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)\n#9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array)\n#10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array)\n#11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...')\n#12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction()\n#13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')\n#14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch()\n#16 [internal function]: Newscoop\\ZendBridgeBundle\\Controller\\BridgeController->indexAction(Object(Symfony\\Component\\HttpFoundation\\Request))\n#17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array)\n#18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 /var/lib/newscoop/public/index.php(69): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...')\n#23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...')\n#24 {main} at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:336, Doctrine\\ORM\\EntityNotFoundException: Entity was not found. at /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php:32)"} []
[2015-01-12 11:38:56] sentry.ERROR: Uncaught Exception Zend_Controller_Exception: "Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\__CG__\Newscoop\Image\Rendition->__load() #1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\__CG__\Newscoop\Image\Rendition->setCoords(NULL) #2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\Package\Item->getRendition() #3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\Package\Item)) #4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array) #5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\Package\Package)) #6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array) #7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array) #8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array) #9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array) #10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array) #11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...') #12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction() #13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch() #16 [internal function]: Newscoop\ZendBridgeBundle\Controller\BridgeController->indexAction(Object(Symfony\Component\HttpFoundation\Request)) #17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array) #18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/lib/newscoop/public/index.php(69): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...') #23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...') #24 {main}" at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php line 336 {"exception":"[object] (Zend_Controller_Exception: Entity was not found.#0 /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php(98): Proxy\\__CG__\\Newscoop\\Image\\Rendition->__load()\n#1 /var/lib/newscoop/library/Newscoop/Package/Item.php(144): Proxy\\__CG__\\Newscoop\\Image\\Rendition->setCoords(NULL)\n#2 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(28): Newscoop\\Package\\Item->getRendition()\n#3 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Item))\n#4 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(30): array_map(Object(Closure), Array)\n#5 [internal function]: Admin_View_Helper_SlideshowsJson->{closure}(Object(Newscoop\\Package\\Package))\n#6 /var/lib/newscoop/application/modules/admin/views/helpers/SlideshowsJson.php(32): array_map(Object(Closure), Array)\n#7 [internal function]: Admin_View_Helper_SlideshowsJson->SlideshowsJson(Array)\n#8 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)\n#9 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View_Abstract->__call('slideshowsJson', Array)\n#10 /var/lib/newscoop/admin-files/media-archive/index.php(52): Zend_View->slideshowsJson(Array)\n#11 /var/lib/newscoop/application/modules/admin/controllers/LegacyController.php(129): require_once('/var/lib/newsco...')\n#12 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php(516): Admin_LegacyController->indexAction()\n#13 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')\n#14 /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#15 /var/lib/newscoop/src/Newscoop/ZendBridgeBundle/Controller/BridgeController.php(56): Zend_Controller_Front->dispatch()\n#16 [internal function]: Newscoop\\ZendBridgeBundle\\Controller\\BridgeController->indexAction(Object(Symfony\\Component\\HttpFoundation\\Request))\n#17 /var/lib/newscoop/application/bootstrap.php.cache(2891): call_user_func_array(Array, Array)\n#18 /var/lib/newscoop/application/bootstrap.php.cache(2865): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /var/lib/newscoop/application/bootstrap.php.cache(2994): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /var/lib/newscoop/application/bootstrap.php.cache(2274): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 /var/lib/newscoop/public/index.php(69): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#22 /var/lib/newscoop/index.php(17): require_once('/var/lib/newsco...')\n#23 /var/lib/newscoop/admin.php(2): require_once('/var/lib/newsco...')\n#24 {main} at /var/lib/newscoop/vendor/bombayworks/zendframework1/library/Zend/Controller/Plugin/Broker.php:336, Doctrine\\ORM\\EntityNotFoundException: Entity was not found. at /var/lib/newscoop/library/Proxy/__CG__NewscoopImageRendition.php:32)"} []

[4.3] ArticleType Extension

For the upcoming AES we need a way to get certain information for a specific type of Article. This is where the ArticleType comes in.

What we need to make the ArticleType aware of is

  • That is has renditions
  • The position of the renditions compared to the fields
  • Predefined image sizes for non-reditions
  • Viewport width for the Article depending on the medium (mobile, tablet, PC)

What am I missing?

TODO:

  • ImageSize Entity
  • Link the ArticleType Entity to the above

Unknown column 't0.fk_output_id' in 'field list'

Steps to repro:

  1. Have a clean install
  2. Import The Stun! theme or Global news, or I assume any other
  3. Assign it to publication
  4. Create & publish issue
  5. Add section
  6. Add article & publish
  7. Go to front page

Not able to install newscoop

Actually i downloaded the newscoop 4.4.7 and copied whole file in www (i am using wamp server)
and then when i try to install it it gives me internal server error
please help me
screenshot 2

[Insight] The EntityManager should not be flushed within a loop

in newscoop/admin-files/articles/duplicate.php, line 275

Calling flush is a resource intensive operation, especially when a lot of entities are managed by Doctrine. You should pass the entity you want to flush as parameter, or avoid flushing inside a loop.

                    $newEvent->setEndDate($event->getEndDate());
                    $newEvent->setEndTime($event->getEndTime());
                    $newEvent->setRecurring($event->getRecurring());
                    $newEvent->setFieldName($event->getFieldName());
                    $em->persist($newEvent);
                    $em->flush();
                }

                \Zend_Registry::get('container')->getService('dispatcher')
                  ->dispatch('article.duplicate', new \Newscoop\EventDispatcher\Events\GenericEvent($this, array(
                        'article' => $newArticle,

Posted from SensioLabsInsight

_shared.js file and other files failed to load

in dashboard page i got this error
NetworkError: 404 Not Found - http://localhost:8080/admin/%5C/js/app/admin%5C_shared.js
in theme manager page /admin/themes
"NetworkError: 404 Not Found - http://localhost:8080/admin/%5C/js/app/admin%5Cthemes%5Cindex.js"
"NetworkError: 404 Not Found - http://localhost:8080/admin/%5C/js/app/admin%5C_shared.js"
"NetworkError: 404 Not Found - http://localhost:8080/admin/%5C/js/app/admin%5Cthemes%5Cindex.js"

%5C the code point for
the problem in "newscoop\library\Newscoop\Controller\Plugin\Js.php" i guess
i use windows environment xampp . directory separator (\ in case of windows) can't be used in url
thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.