Everything new at ViMP

Simultaneously with ViMP 4.0 we launched our new website!

We have done our best to make the website as clear and user-friendly as possible.

Your feedback is very much appreciated! Please let us know what you like and what we can improve.
 

Your feedback

 
Thank you and have fun on our new website and with ViMP 4.0!

Sincerly, Your ViMP team

Feedback

Support Forum

Forum support is free. Please note that replies can take some time as replies to paying ticket customers are prioritized.

 
Avatar
ajamali
Posts: 3
Hello Community,

I am receiving this error when accessing the site after first installation, I have gone back and traced my steps and I have followed the installation guide step-by-step. Can you help me out with this error?

iconQuote:

Oops! An Error Occurred
The server returned a "500 Internal Server Error".

Please e-mail us at webmaster@localhost and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
24.09.2014 16:50
Avatar
support
ViMP Support
Posts: 9633
Hello ajamali,

please update the ViMP-URL in your profile or post the URL here. I´d like to have a look.

But always if you see a 500 error page, please choose another front controller frontend_dev.php
(http://yourdomain.tld/frontend_dev.php instead of http://yourdomain.tld/index.php).
In the backend your automatically routed to backend_dev.php .

You see ViMP in debug mode then with a detailed error stack and a debug tool with a lot information in the upper right corner (click on "sf").

Best Regards,
Kai
ViMP Support Team
25.09.2014 16:59
Avatar
ajamali
Posts: 3
Hello Moderator,

I have changed the URL to: domain.com/frontend_dev.php

and here is the result. This is an internal system so the URL will not work for you.

iconCode:
500 | Internal Server Error | PropelException
Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)]
stack trace

    at ()
    in SF_ROOT_DIR/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 629 ...
                  $con = new $classname($dsn, $user, $password, $driver_options);
                  $con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
                } catch (PDOException $e) {
                  throw new PropelException("Unable to open PDO connection", $e);
                }
                // load any connection options from the config file
    at Propel::initConnection(array('dsn' => 'mysql:host=localhost;dbname=[b]dbname[/b];port=3306;user=[b]dbuser[/b];password=[b]dbpass[/b]', 'user' => '[b]dbuser[/b]', 'password' => '[b]dbpass[/b]', 'classname' => 'DebugPDO', 'options' => array('ATTR_PERSISTENT' => 1), 'settings' => array('charset' => array('value' => 'utf8'), 'queries' => array())), 'propel')
    in SF_ROOT_DIR/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 542 ...
    at Propel::getConnection('propel')
    in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 158 ...
    at stDatabaseSessionStorage->sessionOpen('/var/lib/php5', 'framework')
    in n/a line n/a ...
    at session_start()
    in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 692 ...
    at stDatabaseSessionStorage->restart(1)
    in SF_ROOT_DIR/lib/storage/stDatabaseSessionStorage.class.php line 119 ...
    at stDatabaseSessionStorage->initialize(array('auto_shutdown' => , 'session_id' => null, 'session_name' => 'framework', 'database' => 'propel', 'session_cookie_lifetime' => 604800, 'session_cache_limiter' => ))
    in SF_ROOT_DIR/lib/symfony/storage/sfStorage.class.php line 36 ...
    at sfStorage->__construct(array('auto_shutdown' => , 'session_id' => null, 'session_name' => 'framework', 'database' => 'propel', 'session_cookie_lifetime' => 604800, 'session_cache_limiter' => ))
    in SF_ROOT_DIR/cache/frontend/dev/config/config_factories.yml.php line 125 ...
    at require('/data/www/cache/frontend/dev/config/config_factories.yml.php')
    in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 172 ...
    at sfContext->loadFactories()
    in SF_ROOT_DIR/lib/symfony/util/sfContext.class.php line 94 ...
    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/web/frontend_dev.php line 26 ...
    at sg_load('2B1F86900E2300F0AAQAAAASAAAABHAAAACABAAAAAAAAAD/uMa5DXQRWhKW7BX1I5HNd8gxa0yhWrY2wWqcjtp49jjWsMUyiVdMaMzeGtBUuqguBo7f++VfDRxFpi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TnJSpCw+UlGfolNNTCrTxhEF/2fRzrPX/9iZ0u3sN7crjDmlFPvjNRZ3uBnQwzy0RDrdrcKbqeDt/jVIkPPJff03hTAHppekWZ+9mS/SAx/CzT2ahsolHsCEyiEFcAZzMy2O1Q6oCOjjRfCoJir7H4dT5Nm1VZn5TBzwjZQaAmjSemgFegeKCvA+MHEWn2b2Jji16p+WbNOKHG8j+mB0hWrMEOw2j0qgJ+EfYk8kTp50LEyzZvEHiYO7TH6Evvr07Oyc1caXNuPXEeAbsFQjU47gLDeBTJeI44hprk1HU6kPZajh2W6MeE9SZyxoZIRSO8KopSlNhaD9cXHJNcdpG+yShlnGC3LPNdJcMR/HlPEYUeOgdZvAEr+lXpmANGTybQRxJi3bJ0uvVTIzGz4pHBUbA4vxXp1VtBGoKd7dCAO5HPXu28vY0Oyb5WTNOKnFh4uVBsmQSOeTUkrGR6zF9y3ItaEUTTJ2BYu5+XCDnEo+tmvgIy1EpJwEYpIB7LTqD5r8I5rK38T0pvEdNVuFuQAAAAA=')
    in SF_ROOT_DIR/web/frontend_dev.php line 2 ...

symfony settings ...
request ...
response ...
user ...
global vars ...

symfony v.1.4.20 - php 5.5.9-1ubuntu4.4
for help resolving this issue, please visit http://www.symfony-project.org/.

Fatal error: Call to a member function prepare() on a non-object in /data/www/lib/storage/stDatabaseSessionStorage.class.php on line 393
25.09.2014 21:43
Avatar
ajamali
Posts: 3
Any update on this?
30.09.2014 18:36
Avatar
support
ViMP Support
Posts: 9633
Hello ajamali,

iconQuote:
500 | Internal Server Error | PropelException
Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)]


You get this message for example, if the mysql server is not running at all (or it does not offer a socket at /var/run/mysqld/mysqld.sock, check the mysql-configuration file (my.cnf) in that case.

Kind Regards,
Kai
ViMP Support Team
07.10.2014 15:13