hi there,

I just tried to upgrade from RC1 to RC2 and instantly had to switch back again.

I attached the error page that I got. This does not happen with RC1.


maybe someone can shed some light on it?


cheers
/christian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Title: symfony exception

[sfDatabaseException]

stack trace

  • at ()
    in SF_ROOT_DIR/lib/symfony/storage/sfMySQLSessionStorage.class.php line 126 ...
      1.       }
      2.       // can't create record
      3.       throw new sfDatabaseException(sprintf('% cannot create new record for id "%s" (%s).'get_class($this), $idmysql_error()));
      4.     }
      5.   }
  • at sfMySQLSessionStorage->sessionRead('7c99fvefkod2etm0fl2kngia41')
    in n/a line n/a ...
    • at session_start()
      in SF_ROOT_DIR/lib/symfony/storage/sfDatabaseSessionStorage.class.php line 72 ...
        1.                              array($this'sessionGC'));
        2.     // start our session
        3.     session_start();
        4.   }
        5.   /**
    • at sfDatabaseSessionStorage->initialize(array('auto_shutdown' => '', null, object('sfMySQLDatabase'), 'session_name' => 's', 'db_table' => 'wlcp_session', 'db_id_col' => 'session_id', 'db_data_col' => 'data', 'db_time_col' => 'time'))
      in SF_ROOT_DIR/lib/symfony/storage/sfStorage.class.php line 33 ...
        1.    */
        2.   public function __construct($options = array())
        3.   {
        4.     $this->initialize($options);
        5.     if ($this->options['auto_shutdown'])
        6.     {
    • at sfStorage->__construct(array('auto_shutdown' => '', null, object('sfMySQLDatabase'), 'session_name' => 's', 'db_table' => 'wlcp_session', 'db_id_col' => 'session_id', 'db_data_col' => 'data', 'db_time_col' => 'time'))
      in SF_ROOT_DIR/cache/showcase/dev/config/config_factories.yml.php line 109 ...
        1.   'db_id_col' => 'session_id',
        2.   'db_data_col' => 'data',
        3.   'db_time_col' => 'time',
        4. ))));
        5.   $class sfConfig::get('sf_factory_user''myUser');
        6.   $this->factories['user'] = new $class($this->dispatcher$this->factories['storage'], array_merge(array('auto_shutdown' => false'culture' => $this->factories['request']->getParameter('sf_culture')), sfConfig::get('sf_factory_user_parameters', array (
        7.   'timeout' => 1800,
    • at require('/var/www/vhosts/somewebsite.com/cache/showcase/dev/config/config_factories.yml.php')
      in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 154 ...
        1.     $this->factories['actionStack'] = new sfActionStack();
        2.     // include the factories configuration
        3.     require($this->configuration->getConfigCache()->checkConfig('config/factories.yml'));
        4.     $this->dispatcher->notify(new sfEvent($this'context.load_factories'));
        5.   }
    • at sfContext->loadFactories()
      in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 76 ...
        1.     try
        2.     {
        3.       $this->loadFactories();
        4.     }
        5.     catch (sfException $e)
        6.     {
    • at sfContext->initialize(object('showcaseConfiguration'))
      in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 59 ...
        1.       throw new sfFactoryException(sprintf('Class "%s" is not of the type sfContext.'$class));
        2.     }
        3.     self::$instances[$name]->initialize($configuration);
        4.     return self::$instances[$name];
        5.   }
    • at sfContext::createInstance(object('showcaseConfiguration'))
      in SF_ROOT_DIR/web/showcase_dev.php line 18 ...
        1. require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
        2. $configuration ProjectConfiguration::getApplicationConfiguration('showcase''dev'true);
        3. sfContext::createInstance($configuration)->dispatch();

    symfony settings ...

    request ...

    response ...

    user ...

    global vars ...


    Warning: mysql_real_escape_string() expects parameter 2 to be resource, object given in /var/www/vhosts/somewebsite.com/lib/symfony/storage/sfMySQLSessionStorage.class.php on line 183

    Warning: mysql_real_escape_string() expects parameter 2 to be resource, object given in /var/www/vhosts/somewebsite.com/lib/symfony/storage/sfMySQLSessionStorage.class.php on line 183

    Fatal error: Exception thrown without a stack frame in Unknown on line 0

    Reply via email to