Installation time error
CRITICAL: /var/www/html/sellvana/FCom/Core/buckyball/com/db.php:940: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' #0 BDebug::trigger(2, /var/www/html/sellvana/FCom/Core/buckyball/com/db.php:940: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND', 1) called at [/var/www/html/sellvana/FCom/Core/buckyball/com/misc.php:2342] #1 BDebug::shutdownHandler()
Intention: User trying to install Sellvana.
Environment:
Operating Sytem = Lubuntu 14.10 daily image PHP version =PHP 5.5.9-1ubuntu4 Apache Version = Apache 2.4.9 Mysql version = mysql Ver 14.14 Distrib 5.5.37, for debian-linux-gnu (i686) using readline 6.3 Server : Local Personal Computer server Browser name and version : Firefox 29.0 Steps to reproduce: ? Expected result = The user expected the installer to goto next step of install. Actual result = Install stopped with the above error message.
Comments (6)
-
-
reporter Running sudo apt-get install php5-mysql installed pdo_mysql. Now install completed flawlessly. Please close the bug. Thanks for immediate reply.
-
reporter The collation of my mysql database by default was latin1_swedish_ci
i wanted to change the database collation to utf8_general_ci
Then i browsed mysql documentation and came to know that database collation can be set during creating of database itself.
so i dropped sellvana database.
created new sellvana database with the following command.
create database sellvana character set = utf8 collation = utf8_general_ci;
it created the database without any error message.
now i have to check the collation of the database.
The command is
show variables like "collation_database";
Now it shows the correct collation.
mysql> show variables like "collation_database"; +--------------------+-----------------+ | Variable_name | Value | +--------------------+-----------------+ | collation_database | utf8_general_ci | +--------------------+-----------------+ 1 row in set (0.01 sec)
Restart mysql service for this to take effect.
FYI.
-
reporter I searched in vain for a system requirements page for sellvana. Needed a script file like magento-check.php for sellvana.
-
Added sanity check for required php extensions in the last commit
-
- changed status to resolved
- Log in to comment
Please make sure you have php_pdo and php_pdo_mysql installed.
I'll add sanity check for php extensions.