Hello everyone.
I need some help. I did an upgrade from Newscoop 3.5.3
to 4.0.4 in a test machine and everything was fine until I opened an article
for testing purposes and got this message:
This article had the “Published” status, so I went to
the article list and put it on “New” and this allowed me to edit the article.
Another problem that I found was in the User administration interface. First I got this message:
And then this:
After this, I couldn't find the list of staff users unless I use the Search option.
Finally, don't know if this is a problem or a cache option, but when I edit a css file, the changes don't take effect. This is not the case with the templates, is only with the css files.
I'm working with Ubuntu server 12.04 LTS and did a fresh Newscoop installation and then a backup-restore from a Newscoop 3.5.3 backup file.
Best regards.
Type: PDOException
Code: 42S21
Message: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'is_default'
File: /var/www/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php : 732
#0 /var/www/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(732): PDO->exec('ALTER TABLE Art...')
#1 /var/www/newscoop/library/Newscoop/Image/ImageService.php(331): Doctrine\DBAL\Connection->exec('ALTER TABLE Art...')
#2 /var/www/newscoop/library/Newscoop/Image/ImageService.php(157): Newscoop\Image\ImageService->updateSchema('10482')
#3 /var/www/newscoop/application/modules/admin/controllers/ImageController.php(70): Newscoop\Image\ImageService->findByArticle('10482')
#4 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Admin_ImageController->articleAttachAction()
#5 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('articleAttachAc...')
#6 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#7 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#8 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#9 /var/www/newscoop/public/index.php(5): Zend_Application->run()
#10 /var/www/newscoop/admin.php(4): require_once('/var/www/newsco...')
#11 {main}
array (
'module' => 'admin',
'controller' => 'image',
'action' => 'article-attach',
'article_number' => '10482',
'language_id' => '13',
)
Type: PDOException
Code: 42S22
Message: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't5.is_updated_storage' in 'field list'
File: /var/www/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php : 613
#0 /var/www/newscoop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(613): PDOStatement->execute()
#1 /var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(570): Doctrine\DBAL\Connection->executeQuery('SELECT t0.NrArt...', Array, Array)
#2 /var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\BasicEntityPersister->load(Array)
#3 /var/www/newscoop/library/Newscoop/Image/ImageService.php(328): Doctrine\ORM\EntityRepository->findOneBy(Array)
#4 /var/www/newscoop/library/Newscoop/Image/ImageService.php(157): Newscoop\Image\ImageService->updateSchema('10482')
#5 /var/www/newscoop/application/modules/admin/controllers/ImageController.php(70): Newscoop\Image\ImageService->findByArticle('10482')
#6 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Admin_ImageController->articleAttachAction()
#7 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('articleAttachAc...')
#8 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 /var/www/newscoop/vendor/zendframework/zendframework1/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /var/www/newscoop/public/index.php(5): Zend_Application->run()
#12 /var/www/newscoop/admin.php(4): require_once('/var/www/newsco...')
#13 {main}
array (
'module' => 'admin',
'controller' => 'image',
'action' => 'article-attach',
'article_number' => '10482',
'language_id' => '13',
)
Also, I'm getting this message just after login
This happened when .htaccess was modified.
<script type="text/javascript"> | |
<!-- | |
var stats_getHTTPObject_10526_es = function () { | |
var xhr = false; | |
if (window.XMLHttpRequest) { | |
xhr = new XMLHttpRequest(); | |
} else if (window.ActiveXObject) { | |
try { | |
xhr = new ActiveXObject("Msxml2.XMLHTTP"); | |
} catch(e) { | |
try { | |
xhr = new ActiveXObject("Microsoft.XMLHTTP"); | |
} catch(e) { | |
xhr = false; | |
} | |
} | |
} | |
return xhr; | |
}; | |
var stats_submit_10526_es = function () { | |
if (undefined !== window.statistics_request_sent__10526_es) { | |
return; | |
} | |
window.statistics_request_sent__10526_es = true; | |
var stats_request = stats_getHTTPObject_10526_es(); | |
stats_request.onreadystatechange = function() {}; | |
var read_date = new Date(); | |
var read_path = "_statistics/reader/1/"; | |
var request_randomizer = "" + read_date.getTime() + Math.random(); | |
var stats_url = "http://192.168.1.66/" + read_path + "4529/"; | |
try { | |
stats_request.open("GET", stats_url + "?randomizer=" + request_randomizer, true); | |
stats_request.send(null); | |
/* not everybody has jquery installed | |
$.ajax({ | |
url: stats_url, | |
data: {randomizer: request_randomizer}, | |
success: function() {} | |
}); | |
*/ | |
} catch (e) {} | |
}; | |
stats_submit_10526_es(); | |
--> |
It looks like you're new here. If you want to get involved, click one of these buttons!