Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem installing Beta 0.6.12840
 
trinebuhl
Jr. Member
 
Total Posts:  27
Joined:  2007-09-03
 

Hi,
I have tried to install the latest version of Magento, Beta 0.6.12840, but the installation stops with the message below.
My server config is http://c37.servage.net/phpinfo.php5
What is my problem?

Regards, Trine

Zend_Db_Statement_Mysqli_Exception Object
(
    
[message:protected] => Mysqli statement execute error Incorrect arguments to mysql_stmt_execute
    [string
:private] => 
    
[code:protected] => 0
    [file
:protected] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/lib/Zend/Db/Statement/Mysqli.php
    [line
:protected] => 251
    [trace
:private] => Array
        (
            
[0] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/lib/Zend/Db/Statement.php
                    [line] 
=> 279
                    [function] 
=> _execute
                    [class] 
=> Zend_Db_Statement_Mysqli
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => Array
                                (
                                    
[0] => select
                                    [1] 
=> adminhtml/system_config_source_locale
                                    [2] 
=> 3
                                    [3] 
=> general/locale/code
                                    [4] 
=> Locale
                                    [5] 
=> 1
                                
)

                        )

                )

            
[1] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/lib/Zend/Db/Adapter/Abstract.php
                    [line] 
=> 383
                    [function] 
=> execute
                    [class] 
=> Zend_Db_Statement
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => Array
                                (
                                    
[0] => select
                                    [1] 
=> adminhtml/system_config_source_locale
                                    [2] 
=> 3
                                    [3] 
=> general/locale/code
                                    [4] 
=> Locale
                                    [5] 
=> 1
                                
)

                        )

                )

            
[2] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/lib/Zend/Db/Adapter/Abstract.php
                    [line] 
=> 461
                    [function] 
=> query
                    [class] 
=> Zend_Db_Adapter_Abstract
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => INSERT INTO `core_config_field` (`frontend_type`, `source_model`, `level`, `path`, `frontend_label`, `sort_order`) VALUES (?, ?, ?, ?, ?, ?)
                            
[1] => Array
                                (
                                    
[0] => select
                                    [1] 
=> adminhtml/system_config_source_locale
                                    [2] 
=> 3
                                    [3] 
=> general/locale/code
                                    [4] 
=> Locale
                                    [5] 
=> 1
                                
)

                        )

                )

            
[3] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] 
=> 391
                    [function] 
=> insert
                    [class] 
=> Zend_Db_Adapter_Abstract
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => core_config_field
                            [1] 
=> Array
                                (
                                    
[frontend_type] => select
                                    [source_model] 
=> adminhtml/system_config_source_locale
                                    [level] 
=> 3
                                    [path] 
=> general/locale/code
                                    [frontend_label] 
=> Locale
                                    [sort_order] 
=> 1
                                
)

                        )

                )

            
[4] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.6.6-0.6.7.php
                    [line] 
=> 22
                    [function] 
=> addConfigField
                    [class] 
=> Mage_Core_Model_Resource_Setup
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => general/locale/code
                            [1] 
=> Locale
                            [2] 
=> Array
                                (
                                    
[frontend_type] => select
                                    [source_model] 
=> adminhtml/system_config_source_locale
                                
)

                        )

                )

            
[5] => Array
                (
                    
[file] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] 
=> 223
                    [args] 
=> Array
                        (
                            
[0] => /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.6.6-0.6.7.php
                        
)
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Recently I’ve found that some version combinations of ZF and mysqli driver do not play well together. You might try using pdo_mysql only.

In app/etc/config.xml replace line that has <type>mysqli</type> to <type>pdo_mysql</type>

Retry install

 
Magento Community Magento Community
Magento Community
Magento Community
 
trinebuhl
Jr. Member
 
Total Posts:  27
Joined:  2007-09-03
 

Hi Moshe

I did not solve the problem. I have also tried the method on the lastest releases without any luck.

I get this message: Fatal error: Call to a member function getClassName() on a non-object in /mounted-storage/home71c/sub003/sc41427-ZGRB/www/magento_ny/app/code/core/Mage/Core/Model/Resource.php on line 92

Regards,

Trine

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

This error says that the value you have put in <type></type> is not correct or contains invalid characters (such as spaces). It is also case sensitive.
Please make sure it is <type>pdo_mysql</type> or <type>mysqli</type>.

 
Magento Community Magento Community
Magento Community
Magento Community
 
artlos
Jr. Member
 
Total Posts:  3
Joined:  2007-11-26
 

Hi,

the first problem with my installation was exactly the same as described in the first post.

After changing in config.xml “<type>mysqli</type>” to “<type>pdo_mysql</type>” (as Moshe described) I now get the following error:

Fatal error: Call to undefined method PDO::store_result() in /www/htdocs/w0093f35/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 107

The server-configuration you can see here: http://magento.artlos.de/infophp.php

- Do you have any ideas?

Thank you!
(and sorry for my English… If anybody wants/can to respond in German I woud appreciate… wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top