20.06.2015 22:07
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Blank page HTTP 500 when placing an order
Hi,
I upgraded Joomshopping to 4.9.2 after migrating the Joomla website to Joomla 3.4.1 (from 2.5). Everything seemed to work except the ordering. A blank page HTTP 500 appears.
In checkout pdf to customer and admin is off.
The site is currently offline.
Any help is greatly appreciated!
Joomla: 3.4.1 JoomShopping: 4.9.2 PHP: 5.4.39 MySQL: 5.1.73-cll Website Url: offline
|
|
21.06.2015 10:03
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Blank page HTTP 500 when placing an order
Joomla / configuration
Error reporting: maximum
|
|
21.06.2015 10:22
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Aw: Blank page HTTP 500 when placing an order
The exact error is:
Parse error: syntax error, unexpected '"', expecting identifier (T_STRING) in /.../components/com_jshopping/models/checkout.php on line 270
How can I fix this error?
|
|
21.06.2015 10:44
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Blank page HTTP 500 when placing an order
Your changes file?
upload original file
components/com_jshopping/models/checkout.php
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/JoomShopping-4.9.2.zip.html?lang=de
Последнее изменение: 21.06.2015 10:45
|
|
21.06.2015 19:54
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Aw: Blank page HTTP 500 when placing an order
I replaced the file checkout.php from the latest JoomShopping 4.10.1 with the excisting one.
Unfortunately the same error appears:
Parse error: syntax error, unexpected '"', expecting identifier (T_STRING) in .../components/com_jshopping/models/checkout.php on line 270
Do you have another suggestion?
|
|
21.06.2015 20:07
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Aw: Blank page HTTP 500 when placing an order
Line 270 in checkout.php is the bold text below:
//send mail client
if ($order->email){
$mailer = JFactory::getMailer();
$mailer->setSender(array($mailfrom, $fromname));
$mailer->addRecipient($order->email);
$mailer->setSubject( sprintf(_JSHOP_NEW_ORDER, $order->order_number, $order->f_name." ".$order->l_name));
$mailer->setBody($message_client);
if ($pdfsend && $jshopConfig->order_send_pdf_client){
$mailer->addAttachment($jshopConfig->pdf_orders_path."/".$order->pdf_file);
}
$mailer->isHTML(true);
$dispatcher->trigger('onBeforeSendOrderEmailClient', array(&$mailer, &$order, &$manuallysend, &$pdfsend));
$send = $mailer->Send();
}
|
|
21.06.2015 20:08
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Aw: Blank page HTTP 500 when placing an order
This part:
if ($pdfsend && $jshopConfig->order_send_pdf_client){
|
|
22.06.2015 07:44
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Blank page HTTP 500 when placing an order
No errors.
|
|
23.06.2015 16:21
|
|
communicat
Name: communicat
17.05.2011
Сообщения: 65
|
Aw: Blank page HTTP 500 when placing an order
It seems to be a problem in Firefox, not in Chrome or IE. Strange.
|
|
23.06.2015 16:35
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Blank page HTTP 500 when placing an order
Cache server or cache joomla.
|
|