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

New Install Eror (Plesk 8.2.1 + PHP 5.2.3 + MySQL 5.0.45)
 
TuSuNaMi
Jr. Member
 
Total Posts:  5
Joined:  2007-12-02
 

I give error with fresh install after a install final screen ....

How can I resolve this problem ?

Warningmysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]Number of variables doesn't match number of parameters in prepared statement in /usr/local/www/vhosts/xxxxx.com/httpdocs/magento/lib/Zend/Db/Statement/Mysqli.php on line 241
 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 

Hi TuSuNaMi,

What Magento version do you have ? Did you download a package or via svn checkout ?

There was similar problem some time ago in Zend_Framework trunk, but we are not supplying the latest ZF trunk with any Magento package (nor via svn as well), there goes only tested ZF trunk version.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TuSuNaMi
Jr. Member
 
Total Posts:  5
Joined:  2007-12-02
 

I have last version of Magento. I’m waitin` solution on my problem.

I will try install to magento with get svn checkout

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
TuSuNaMi
Jr. Member
 
Total Posts:  5
Joined:  2007-12-02
 

I get last magento from svn check out but I give same error ...

Warning: mysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]: Number of variables doesn’t match number of parameters in prepared statement in /usr/local/www/vhosts/denizlishop.com/httpdocs/mg2/lib/Zend/Db/Statement/Mysqli.php on line 241

So which Zend_Framework version support Magento ?

My Php Info File : http://www.denizlishop.com/php_info.php

Thank you

File Attachments
error.txt  (File Size: 14KB - Downloads: 522)
 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 
TuSuNaMi - 07 December 2007 04:33 AM

I get last magento from svn check out but I give same error ...

Warning: mysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]: Number of variables doesn’t match number of parameters in prepared statement in /usr/local/www/vhosts/denizlishop.com/httpdocs/mg2/lib/Zend/Db/Statement/Mysqli.php on line 241

So which Zend_Framework version support Magento ?

My Php Info File : http://www.denizlishop.com/php_info.php

Thank you

I think there’s nothing to deal with Zend Framework here (we are providing the version that is thoroughly tested with Magento).

It might be the same problem as http://www.magentocommerce.com/boards/viewreply/7448/ - different mysqli API header and library versions.

Could you try to install Magento under php5-cgi ? Check the Installing Magento on a PHP4 server Knowledge Base article for details.

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TuSuNaMi
Jr. Member
 
Total Posts:  5
Joined:  2007-12-02
 

Solved!

With this files;

Hi Mexx,

Could you try to replace the app\code\core\Mage\Install\Model\Installer\Db.php and app\etc\config.xml files with the attached ones ?
File Attachments
Db.php (File Size: 2KB - Downloads: 23)
config.xml (File Size: 12KB - Downloads: 19)

http://www.magentocommerce.com/boards/viewreply/7448/

Thank You

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