- Posts: 36
- Thank you received: 2
checkout error after
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : When i want to check out i receive a blank page after changing order.php and mail.php. My problem is no checkout.
I changed the php like here #235445
I also will tell that the checkout is to 2 e-mailadresses.
Please i need help
When i want to check out i receive a blank page after changing order.php and mail.php. My problem is no checkout.
I changed the php like here #235445 (404 error on step 3 of checkout process)
I also will tell that the checkout is to 2 e-mailadresses.
Please i need help.
See my files in attachment
Please Log in or Create an account to join the conversation.
The blanck page means that you have a PHP fatal error, so you can set the error reporting level of Joomla to "Maximum" in order to see the error. This will help you to locate the error and solve it.
Please Log in or Create an account to join the conversation.
Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in /customers/4/6/6/clima-industries.be/httpd.www/administrator/components/com_hikashop/classes/mail.php on line 705
Can you help me what the error on line 705 is ?
Thanks
Alain
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Your issue is probably coming from the fact that on your "mail.php" file, you have a missing '}'. The solution will be to directly add a '}' at the end of the "sendMail" function, just after these lines :
Please Log in or Create an account to join the conversation.
Seems my mail.php is ok at this stage :
Have a look :
}
$this->mailer->Body = str_replace(" ",' ',$this->mailer->Body);
$result = $this->mailer->Send();
if(!$result || !empty($result->message)) {
$this->mail_success = false;
}
if(!empty($result->message)) {
}
return $result;
}
function loadAttachments($name){
$config =& hikashop_config()
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I already checked it on your last "mail.php" file and the following condition isn't properly closed :
Thank you.
Please Log in or Create an account to join the conversation.
sorry but maybe my English is not good enough to understand where you mean i have to add }
I don't see where the condition isn't closed.
Is it possible to select and paste the wrong txt and lower the right text ?
Many thanks for you comprehension
Alain
Please Log in or Create an account to join the conversation.
As Mohamed said, you need to add } after the code:
Please Log in or Create an account to join the conversation.
But problem not resolved, i see this error. It is dutch but the first line says enough i think ?
0 - Invalid address: bestel@egeda.be,hans
Mogelijk kunt u deze pagina niet bezoeken wegens:
een verouderde bladwijzer/favoriet
een zoekmachine heeft een verouderde lijst van deze website
een fout getypt adres
u heeft geen toegang tot deze pagina
De gegeven bron is niet gevonden.
Er is een fout opgetreden tijdens het verwerken van uw verzoek.
Probeer één van de volgende pagina's:
Startpagina
Als de problemen blijven bestaan, neem dan aub contact op met de systeembeheerder van deze website en rapporteer de onderstaande fout.
Please Log in or Create an account to join the conversation.
That's a bug of the latest version of Joomla:
www.hikashop.com/forum/checkout/883603-4...-process.html#235445
Please read that thread.
Please Log in or Create an account to join the conversation.
See my file sin attach.
The problem now persists 2 weeks.... I know the bug so that why i changed it 2 weeks ago. But then i made an other mistake that is resolved.
At now my shop haven't a checkout and i need help.
Thanks a lot to help me finding to resolve this
Alain
Please Log in or Create an account to join the conversation.
So the error says that you have: bestel@egeda.be,hans
configured somewhere instead of bestel@egeda.be
So please check the fields in the HikaShop configuration, and in your Joomla configuration and make sure that they have an email address.
Please Log in or Create an account to join the conversation.
Thats the point, in my configuration HikaShop all the e-mailadresses are ok, all are "bestel@egeda.be,hans@clima-industries.com"
Do i have to delete one of both ?
It alway was sent to both e-mailadresses.
grt
Alain
Please Log in or Create an account to join the conversation.
Where do you have that ? In which option exactly ?
And yes, try to remove one of the two and see if that helps.
Please Log in or Create an account to join the conversation.
It works and thats already a good thing.
Maybe i make an alias withe 2 mailadresses in ?
grt
Alain
Please Log in or Create an account to join the conversation.
So, where do you have that ? In which option exactly ?
You sure could have only one email address configured in the option and then have an alias on your email server to send a copy of the email to the other email address. That would indeed solve the problem.
Please Log in or Create an account to join the conversation.