checkout error after

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240223

-- url of the page with the problem -- : clima-industries.be
-- 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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
8 years 6 months ago #240238

Hi,

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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240540

This is the error :
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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240612

When i check the file i don't have 705 lines ?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 6 months ago #240543

Hello Alain,
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 :

		if(!empty($result->message)) {
		}

		return $result;
	}

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240635

Hello Mohamed,
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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240636

see in attachment my file

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 6 months ago #240665

Hello,
I already checked it on your last "mail.php" file and the following condition isn't properly closed :

if(!empty($mail->reply_email)){
So can you please test it by adding a } after these lines :
		if(!empty($result->message)) {
		}

		return $result;
	}

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240702

Hi,
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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 6 months ago #240743

Hi,

As Mohamed said, you need to add } after the code:

if(!empty($result->message)) {
		}

		return $result;
	}
so you should then have:
if(!empty($result->message)) {
		}

		return $result;
	}
}

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240748

Thanks, now i understand where i have to change... language problem i suppose.
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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 6 months ago #240752

Hi,

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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240789

no, i had already changed this before the blanc page error.
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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 6 months ago #240799

Hi,

So the error says that you have: bestel@egeda.be,hans
configured somewhere instead of This email address is being protected from spambots. You need JavaScript enabled to view it.
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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240836

Hi,
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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 6 months ago #240846

Hi,

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.

  • Posts: 36
  • Thank you received: 2
8 years 6 months ago #240891

yes it works with one e-mail, but that's not what i want...
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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 6 months ago #240896

Hi,

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.

Time to create page: 0.116 seconds
Powered by Kunena Forum