- Posts: 5
- Thank you received: 0
server error on checkout
15 years 3 weeks ago #24820
by timber11
server error on checkout was created by timber11
Hi Nicolas,
A client brought this error to my attention that his customers have been getting occasionally on checkout.
I am using ver 1.4.9 on joomla 1.5. I can't reproduce the error myself.
He seems reluctant to allow me to upgrade to the latest version. I was wondering if there was another way to fix this.
This is from the error logs:
[01-Sep-2011 14:47:04] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/miraclea/public_html/components/com_hikashop/controllers/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/miraclea/public_html/components/com_hikashop/hikashop.php on line 37
I really like your product and have been recommending it to many other Joomla users.
Thanks
Todd
A client brought this error to my attention that his customers have been getting occasionally on checkout.
I am using ver 1.4.9 on joomla 1.5. I can't reproduce the error myself.
He seems reluctant to allow me to upgrade to the latest version. I was wondering if there was another way to fix this.
This is from the error logs:
[01-Sep-2011 14:47:04] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/miraclea/public_html/components/com_hikashop/controllers/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/miraclea/public_html/components/com_hikashop/hikashop.php on line 37
I really like your product and have been recommending it to many other Joomla users.
Thanks
Todd
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #24822
by nicolas
Replied by nicolas on topic Re: server error on checkout
That's a strange error.
I don't know from where it comes.
What you can do is to add the line:
if(empty($taskGroup)) $taskGroup = 'checkout';
before the line :
if(!class_exists($className) && !include(HIKASHOP_CONTROLLER.$taskGroup.'.php')){
in the file components/com_hikashop/hikashop.php
Since you don't want to update HikaShop, there is not really a problem in modifying a core file of HikaShop anyway...
I don't know from where it comes.
What you can do is to add the line:
if(empty($taskGroup)) $taskGroup = 'checkout';
before the line :
if(!class_exists($className) && !include(HIKASHOP_CONTROLLER.$taskGroup.'.php')){
in the file components/com_hikashop/hikashop.php
Since you don't want to update HikaShop, there is not really a problem in modifying a core file of HikaShop anyway...
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #24823
by timber11
Replied by timber11 on topic Re: server error on checkout
Merci Nicolas,
I'll try that. My client is still getting the customer orders everyday and everything, it took him 5 months to mention the error so it couldn't be that disturbing.
Todd
I'll try that. My client is still getting the customer orders everyday and everything, it took him 5 months to mention the error so it couldn't be that disturbing.
Todd
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds