View Single Post
  #59  
Old 05-05-2015, 05:52 AM
 
rviersel rviersel is offline
 

Newbie
  
Join Date: Apr 2015
Posts: 4
 

Default Re: Upgrade to 5.2 fails

Hi Tony,

Hereby the log file when upgrading from v5.1.11 to v5.2 on the DEV environment which breaks the cleanURLs functionality which renders the website/store useless for customers.

php_errors_log:
Quote:
<?php die(1); ?>
[05-May-2015 16:47:32] Error (code: 0): An exception occurred while executing 'INSERT INTO xc_config_translations (option_name, option_comment, code, id) VALUES (?, ?, ?, ?)' with params [null, "Changing the value of this or any other fields on this page will not affect the signature in your store's email notifications. The signature for notifications can be edited on the <a href=\"admin.php?target=notification_common\">Head ers & signatures<\/a> page.", "nl", 18]:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'option_name' cannot be null
Server API: apache2handler;
Request method: GET;
URI: /admin.php?target=upgrade;
Backtrace:
#0 /Applications/MAMP/htdocs/xcart/lib/Doctrine/DBAL/DBALException.php(116): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
#1 /Applications/MAMP/htdocs/xcart/lib/Doctrine/DBAL/Statement.php(172): Doctrine\DBAL\DBALException::driverExceptionDuring Query(Object(XLite\Core\PDOMySqlDriver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO xc_...', Array)
#2 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Statement.php(49): Doctrine\DBAL\Statement->execute(NULL)
#3 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(279): XLite\Core\Statement->execute()
#4 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/UnitOfWork.php(966): Doctrine\ORM\Persisters\BasicEntityPersister->executeInserts()
#5 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/UnitOfWork.php(335): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassM etadata))
#6 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/EntityManager.php(389): Doctrine\ORM\UnitOfWork->commit(NULL)
#7 /Applications/MAMP/htdocs/xcart/upgrade/5.2/0/post_rebuild.php(57): Doctrine\ORM\EntityManager->flush()
#8 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Upgrade/Entry/AEntry.php(981): XLite\Upgrade\Entry\AEntry->{closure}()
#9 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Upgrade/Cell.php(993): XLite\Upgrade\Entry\AEntry->runHelpers('post_rebuild')
#10 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Controller/Admin/Upgrade.php(105): XLite\Upgrade\Cell->runHelpers('post_rebuild')
#11 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Controller/AControllerAbstract.php(504): XLite\Controller\Admin\Upgrade->run()
#12 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Module/QSL/CloudSearch/Controller/AController.php(49): XLite\Controller\AControllerAbstract->handleRequest()
#13 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Controller/Admin/AAdmin.php(140): XLite\Module\QSL\CloudSearch\Controller\AControlle r->handleRequest()
#14 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite.php(490): XLite\Controller\Admin\AAdmin->handleRequest()
#15 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite.php(515): XLite->runController()
#16 /Applications/MAMP/htdocs/xcart/admin.php(39): XLite->processRequest()
#17 {main}

[05-May-2015 16:47:32 Europe/Berlin] PHP Fatal error: Uncaught exception 'Doctrine\ORM\ORMException' with message 'The EntityManager is closed.' in /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/ORMException.php:129
Stack trace:
#0 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/EntityManager.php(806): Doctrine\ORM\ORMException::entityManagerClosed()
#1 /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/EntityManager.php(387): Doctrine\ORM\EntityManager->errorIfClosed()
#2 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/TmpVars.php(6: Doctrine\ORM\EntityManager->flush(Object(XLite\Model\TmpVar))
#3 /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Upgrade/Cell.php(504): XLite\Core\TmpVars->__set('upgradeCell', Array)
#4 [internal function]: XLite\Upgrade\Cell->__destruct()
#5 {main}
thrown in /Applications/MAMP/htdocs/xcart/lib/Doctrine/ORM/ORMException.php on line 129


xlite_log

Quote:
<?php die(1); ?>
May 05 16:48:03 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

May 05 16:48:03 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

May 05 16:48:03 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

May 05 16:48:03 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

May 05 16:48:03 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

May 05 16:48:05 XLite [warning] Warning: strstr(): Empty needle in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/Core/Converter.php on line 494
Server API: apache2handler;
Request method: GET;
URI: /;

__________________
Remko
Reply With Quote