Support Center

ViMP Support

Support-Forum

 
Avatar
support
ViMP Support
Beiträge: 5553
Hello community,

because of a bug in php 5.2.6 (http://www.php.net/manual/en/pdostatement.debugdumpparams.php) the requirements for ViMP 2.2 have changed.

You need php Version >= 5.2.7 (or 5.3.x).

As Debian Lenny comes with php 5.2.6 please update your php as here described:

http://www.vimp.com/en/documentation-faq-article/items/debian-lenny-problems-with-installing-or-updating-to-vimp-22.html

Viele Grüße
ViMP Support Team
30.09.2011 17:23
Avatar
chanmakara
Beiträge: 24
Hi,

I got the following error while upgrate from 2.0 to 2.2
iconCode:
Unable to open PDO connection [wrapped: could not find driver]
[exception]   500 | Internal Server Error | PropelException[message]     Unable to open PDO connection [wrapped: could not find driver][stack trace]
  at () in SF_ROOT_DIR/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 626
  at Propel::initConnection(array('dsn' => 'mysql:host=localhost;dbname=vimp;user=vimp;password=vimp', 'user' => 'vimp', 'password' => 'vimp', 'classname' => 'DebugPDO', 'options' => <em>array</em>('ATTR_PERSISTENT' => 1), 'settings' => <em>array</em>('charset' => <em>array</em>('value' => 'utf8'), 'queries' => <em>array</em>())), 'propel') in SF_ROOT_DIR/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 539
  at Propel::getConnection('propel') in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 146
  at stDatabaseSessionStorage->sessionOpen('', 'framework') in n/a line n/a
  at session_start() in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 683
  at stDatabaseSessionStorage->restart(1) in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 107
  at stDatabaseSessionStorage->initialize(array('auto_shutdown' => , 'session_id' => <em>null</em>, 'session_name' => 'framework', 'database' => 'propel', 'session_cookie_lifetime' => 2592000)) in SF_ROOT_DIR/lib/symfony/storage/sfStorage.class.php line 36
  at sfStorage->__construct(array('auto_shutdown' => , 'session_id' => <em>null</em>, 'session_name' => 'framework', 'database' => 'propel', 'session_cookie_lifetime' => 2592000)) in SF_ROOT_DIR/cache/frontend/dev/config/config_factories.yml.php line 116
  at require('/var/www/vimp/cache/frontend/dev/config/config_factories.yml.php') in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 169
  at sfContext->loadFactories() in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 91
  at sfContext->initialize(object('frontendConfiguration')) in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 64
  at sfContext::createInstance(object('frontendConfiguration')) in SF_ROOT_DIR/lib/task/i18n/stI18nImportTask.class.php line 71
  at stI18nImportTask->execute(array('task' => 'i18:import'), array('help' => , 'quiet' => , 'trace' => , 'version' => , 'color' => , 'clear' => , 'replace' => , 'nocc' => )) in SF_ROOT_DIR/lib/symfony/task/sfBaseTask.class.php line 71
  at sfBaseTask->doRun(object('sfCommandManager'), null) in SF_ROOT_DIR/lib/symfony/task/sfTask.class.php line 100
  at sfTask->runFromCLI(object('sfCommandManager'), null) in SF_ROOT_DIR/lib/symfony/command/sfSymfonyCommandApplication.class.php line 79
  at sfSymfonyCommandApplication->run() in SF_ROOT_DIR/lib/symfony/command/cli.php line 27
  at include('/var/www/vimp/lib/symfony/command/cli.php') in SF_ROOT_DIR/symfony line 37
[symfony]     v. 1.4.14 (symfony-project.org)
[PHP]         v. 5.2.17PHP Fatal error:  Call to a member function prepare() on a non-object in /var/www/vimp/lib/storage/stDatabaseSessionStorage.class.php on line 381

Fatal error: Call to a member function prepare() on a non-object in /var/www/vimp/lib/storage/stDatabaseSessionStorage.class.php on line 381


Please advise
12.10.2011 09:22
Avatar
support
ViMP Support
Beiträge: 5553
Hello chanmakara,

did you all steps like here described?
http://www.vimp.com/en/forum/message/3917.html

cheers,
ViMP Support Team
14.10.2011 14:30
Avatar
support
ViMP Support
Beiträge: 5553
Hello rolandcorrigal,

I have corrected the link above.

But I think it´s better to start a new thread with your problem.

Cheers,
ViMP Support Team
22.02.2012 12:24
 

Loggen Sie sich ein oder registrieren Sie sich, um Forenbeiträge zu verfassen.

Anfrage
Anfrage
Demo