VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: rriksen on January 19, 2017, 11:13:43 AM

Title: * SOLVED* Checkout error http 500 in address fields
Post by: rriksen on January 19, 2017, 11:13:43 AM
Good morning,

Everything goes fine up to the checkout page. I disabled registered user only to test, but as soon as you click
on the shipping or billing address field it gives a 500 error? Am I missing something? Fresh installation with the latest joomla release.

Page: http://www.spainnails.com/index.php/en/webshop/user/editaddresscartBT

and

http://www.spainnails.com/index.php/en/webshop/user/editaddresscartST?virtuemart_user_id[0]=0

page http://www.spainnails.com

Any ideas for me please?

Title: Re: Checkout error http 500 in address fields
Post by: jenkinhill on January 19, 2017, 12:05:51 PM
Start here:  http://forum.virtuemart.net/index.php?topic=79799.0

What is the exact 500 error from the server error log?
Title: Re: Checkout error http 500 in address fields
Post by: rriksen on January 19, 2017, 18:54:19 PM
[Thu Jan 19 18:52:10.840238 2017] [:error] [pid 12231:tid 2802744176] [client 37.152.138.82:57287] libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Jan 19 18:52:29.424710 2017] [:error] [pid 12231:tid 2739805040] [client 37.152.138.82:57333] libpng warning: Interlace handling should be turned on when using png_read_image, referer: http://www.spainnails.com/index.php/en/
[Thu Jan 19 18:52:34.961292 2017] [:error] [pid 12231:tid 2571967344] [client 37.152.138.82:57358] libpng warning: Interlace handling should be turned on when using png_read_image, referer: http://www.spainnails.com/index.php/en/wsbhopmain
[Thu Jan 19 18:52:34.961364 2017] [:error] [pid 12231:tid 2571967344] [client 37.152.138.82:57358] , referer: http://www.spainnails.com/index.php/en/wsbhopmain
[Thu Jan 19 18:52:48.795772 2017] [:error] [pid 12231:tid 2676865904] [client 37.152.138.82:57374] libpng warning: Interlace handling should be turned on when using png_read_image, referer: http://www.spainnails.com/index.php/en/webshop/eyelashes
[Thu Jan 19 18:52:49.568673 2017] [:error] [pid 12231:tid 2446089072] [client 37.152.138.82:57390] libpng warning: Interlace handling should be turned on when using png_read_image, referer: http://www.spainnails.com/index.php/en/webshop/eyelashes
[Thu Jan 19 18:52:54.168805 2017] [:error] [pid 12231:tid 2792254320] [client 37.152.138.82:57407] PHP Warning:  require_once(/home/rcb/domains/spainnails.com/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /home/rcb/domains/spainnails.com/public_html/templates/pure/error.php on line 42, referer: http://www.spainnails.com/index.php?option=com_virtuemart&view=cart&lang=en
[Thu Jan 19 18:52:59.472997 2017] [:error] [pid 12226:tid 2655886192] [client 37.152.138.82:57416] libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Jan 19 18:53:02.464097 2017] [:error] [pid 12226:tid 2477558640] [client 37.152.138.82:57419] PHP Warning:  require_once(/home/rcb/domains/spainnails.com/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /home/rcb/domains/spainnails.com/public_html/templates/pure/error.php on line 42, referer: http://www.spainnails.com/index.php?option=com_virtuemart&view=cart&lang=en
[Thu Jan 19 18:53:05.381226 2017] [:error] [pid 12226:tid 2729315184] [client 37.152.138.82:57428] libpng warning: Interlace handling should be turned on when using png_r
Title: Re: Checkout error http 500 in address fields
Post by: GJC Web Design on January 19, 2017, 20:46:51 PM
there's no fatal error listed there...

http://forum.virtuemart.net/index.php?topic=117042.0
Title: Re: Checkout error http 500 in address fields
Post by: rriksen on January 19, 2017, 21:45:50 PM
Thank you both for your replies! It is apprieciated!

Found some issues, error after clicking on address is:

Checkout after click on address:


Warning: require_once(/home/rcb/domains/spainnails.com/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /home/rcb/domains/spainnails.com/public_html/templates/pure/error.php on line 42

Fatal error: require_once(): Failed opening required '/home/rcb/domains/spainnails.com/public_html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/usr/local/php56/lib/php') in /home/rcb/domains/spainnails.com/public_html/templates/pure/error.php on line 42

Tried to look it up, but cant seem to do with my limited knowledge... Any hints for me?

Remco

Title: Re: Checkout error http 500 in address fields
Post by: jenkinhill on January 20, 2017, 00:21:33 AM
Your template "pure" is looking for a non-existent file in Joomla's libraries - no mentions of any VirtueMart file in the error message.
Title: Re: Checkout error http 500 in address fields
Post by: rriksen on January 20, 2017, 12:03:39 PM
Good morning,

OK, got it )) Thanks and sorry.

Remco
Title: Re: Checkout error http 500 in address fields
Post by: rriksen on January 21, 2017, 17:12:43 PM
The problem at the end was the recaptcha module! After disabeling that everything works fine!

Title: Re: * SOLVED* Checkout error http 500 in address fields
Post by: jenkinhill on January 21, 2017, 18:07:52 PM
Good to kmow that you found the problem.