Forums / Developer / Fatal error in the confirmation of payment
Kruglova Natasha
Tuesday 28 July 2009 10:05:19 pm
Good day.
Please help me. I setup payment gateway IB 2Checkout on different versions of Exponential. Version 4.1.3 - works. Version 4.1.1 does not work. At the time of payment (3 step "Confirm order" in the confirmation of payment), you receive an error message: <i>Fatal error: Exponential did not finish its requestThe execution of Exponential was abruptly ended, the debug output is present below.</i>
Please tell me where to correct this error.
Heath
Tuesday 28 July 2009 10:15:44 pm
Hello Kruglova Natasha,
I recently helped another community member with a similar problem.
In order to more accurately deduce the actual problem at runtime we recommended the following.
- Try setting php.ini setting value: error_reporting = E_ALL - Try setting php.ini: display_errors = On - You may even wish to try setting php.ini: display_startup_errors = On - You will be given additional information if you tail all Exponential and httpd logs regarding the error.- You may wish to restart httpd to be certain to process your modified php.ini
I hope this helps. We were able to do this on another vps server to solve an Exponential installation which was in the end missing ezcomponents libraries (and php.ini include_path settings changes) and required a regeneration of the autoloads.
I suspect this is a common occurrence for others as well.
Cheers,Heath
7x | https://se7enx.com/ Brookins Consulting | https://brookinsconsulting.com/ Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350 Solutions | https://projects.exponential.earth/users/community/brookins-consulting eZpedia community documentation project | http://ezpedia.se7enx.com
James
Tuesday 28 July 2009 10:25:30 pm
Remember to remove all those php.ini settings changes after you figure out and address the actual error umm you know for proper performance or something along with display errors shows php errors to web browsers or something.
Cheers,James
Tuesday 28 July 2009 11:07:04 pm
Heath, I did as you recommended.
Now the message is displayed: <i>Fatal error: Call to a member function attribute() on a non-object in /var/www/dima/data/www/midisa.org/extension/ib2checkout/classes/ib2checkoutgateway.php on line 116 Fatal error: Exponential did not finish its requestThe execution of Exponential was abruptly ended, the debug output is present below.</i>
Code from line 110 to 121
foreach( $productItems as $index =>$item ) { $it_object=$item['item_object']; $contentObject=$item['item_object']->attribute('contentobject'); $objectDataMap = $contentObject->attribute('data_map'); $productNumberAttribute=$objectDataMap['product_number']; $productNumber = $productNumberAttribute->attribute('data_text'); $quantity = $item['item_count']; if ($index>0) $ind = $index + 1; else $ind = ""; $products = $products."&product_id".$ind."=".$productNumber."&quantity".$ind."=".$quantity; }
Please help correct the error.
Tuesday 28 July 2009 11:43:08 pm
Thank for your help.
This was my error.I in the class and in the template shop removed аttribute "product_number".
Now everything works.
Tuesday 28 July 2009 11:44:25 pm
Congratulations :)