Author Topic: [SOLVED] 500 Internal Error updating order status to "Confirmed" - VM 2.0.26a  (Read 6820 times)

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
after upgrading to VM 2.0.26a we are now getting a 500 Internal server error whenever an order status is changed to "Confirmed" status either via PayPal IPN or updating status thru the Virtuemart admin console.   Checking the order afterwards, the status actually does change to "Confirmed" so must be some error that occurs after it updates the order status in the database.   

Strange thing is that it only occurs if we have "Notify Shopper" ticked.    But if we update status to another state such as "Cancelled" or "Shipped" with "Notify Shopper" tick it works fine.

This only started occurring since upgrading to VM 2.0.26a.   

Can't see any relevant errors in log files.

Any ideas ?

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
Seems to be the invoice generation that's causing the failure. 

If I change the invoice to be generated on Shipped status instead of Confirmed status, then the confirm status works fine but then get the 500 internal server error on the shipped status.

Any ideas of any changes in 2.0.26a that could be causing this ?   

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
Thanks for the response..   But memory limit set to 128MB, so think this should be suffient..

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
Just to note our PHP version is quite old v5.2.17 (waiting for upgrade by hosting company to a later version) but previous version of VM we had installed which was 2.0.24 was working fine with this.    So unless, anything introduced in 2.0.26a that requires a later PHP version ?

shopper999

  • Beginner
  • *
  • Posts: 35
Could you please create a blank file
"/logs/com_virtuemart.log.php"

and try again?
(Problem described in detail: http://forum.virtuemart.net/index.php?topic=121130.0)

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
cool... your a star !!!!   After I created the log file "/logs/com_virtuemart.log.php" the invoice generation now works again.   It was trying to report the following error to the log file thus must have beenfailing because the log file didn't exist

2014-01-03 12:05:40 ERROR vmError: Warning extension of the image is a png, tpcdf has problems with that in the header, choose a jpg or gif

thank you so much..

warylad

  • Beginner
  • *
  • Posts: 7
Hi post members,

Im facing Error 500 at the press of confirm order button after checkout by users, i read post above and did created the com_virtuemart.log.php suggested as below in specified folder.

Could you please create a blank file
"/logs/com_virtuemart.log.php"


But the issue is i cannot get any the error reported in this file... while at the frontend i'm still getting below error, please suggest something...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Check the server error log for information about the 500 error..

And please don't use that bloody red glow. It makes text difficult to read.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9971
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Also with the latest 2.0.26D?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/