Error when renew domain

Started by silas_i, May 12, 2014, 10:53:08 AM

silas_i

Anyone know to fix this issue to renew domains ?


BRJP

Hi,

Can you please provide some of the HB logs or error messages and post them?

The cause of the error could be many things and we need as much information as possible to diagnose.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Lawrence

HostBill should output this information in the error log, which is accessible through the admin area.
Skype: sociallarry | AIM: [email]larry.aim@aim.com[/email] | Forum Rules & Information

These forums are hosted by me with no intentions to ever monetize them. These forums are here solely for the benfit of the HostBill community.

nhdnet

I have the same error when I renew a domain


Exception: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens IN /var/www/clients/client1/web1/web/clientes/includes/components/order/class.order.php(2741), stack trace:
#0 /var/www/clients/client1/web1/web/clientes/includes/components/order/class.order.php(2741): PDOStatement->execute()
#1 /var/www/clients/client1/web1/web/clientes/includes/components/order/class.order.php(2054): Order->createDomain()
#2 /var/www/clients/client1/web1/web/clientes/includes/modules/Site/cart/models/class.cart_model.php(1694): Order->buildOrder()
#3 /var/www/clients/client1/web1/web/clientes/includes/modules/Site/cart/user/class.cart_controller.php(319): Cart_Model->buildOrder()
#4 /var/www/clients/client1/web1/web/clientes/includes/modules/Site/cart/user/class.cart_controller.php(159): cart_Controller->cart()
#5 /var/www/clients/client1/web1/web/clientes/hbf/core/class.controller.php(257): cart_Controller->_default()
#6 /var/www/clients/client1/web1/web/clientes/hbf/core/types/class.user_frontcontroller.php(128): Controller::dispatchControl()
#7 /var/www/clients/client1/web1/web/clientes/hbf/core/class.frontcontroller.php(124): User_FrontController::dispatch()
#8 /var/www/clients/client1/web1/web/clientes/hbf/core/class.frontcontroller.php(107): FrontController->handleRequest()
#9 /var/www/clients/client1/web1/web/clientes/index.php(13): FrontController::init()
#10 {main}

nhdnet


BRJP

What client theme and what order pages are you using to renew the domain?

This seems like a coding error but need to know what you did before you got the error.  Some further step by step screenshots could be helpful.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

BRJP

Is this issue now fixed in the latest version of HostBill?  Extract from ChangeLog below.

[Cart] Ordering domain renewal issues PDO SQL bug
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

nhdnet

I dont know exactly how, but I fixed it.

I update to php 5.5 and download hostbill zip package again. I upgrade manually and it fixed

I always autoupgrade hostbill and I have the last version but when I upgrade manually, the installer script said that database was old and it need to be upgraded.

Be carefoul with Xcache and php 5.5, it returns a 500 error in admin area!! This made me crazy!

Thank you

BRJP

Excellent - at least the problem is solved!
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/