Jump to content

[SOLVED] Bank Wire Payment - 500 Internal Server Error


Recommended Posts

Hi all, I would like ask the help for the issue I'm facing.

I hit 500 Internal Server Error, after the it shows me the total amount I have to pay by bank wire, the next page should be display the bank wire detail, but it fail.

Currently the my file permissions are:
modules:755
bankwire: 755
files inside bankwire folder: 644

Previously I set all to 777 but the Bank Wire method did not display at all.

Hope you all can help me. Thank you very much.

20750_jfobfp60u5APlJJnQ1MK_t

20751_GCDArr0489A9TlkI8S8G_t

Link to comment
Share on other sites

First I would advise you to verify all files and folders permissions are set to 755 (or 644). Permissions set to 777 will commonly result in Internal Server Error.

Another option is that you have a syntax error in your web site files.

In any case you should check the error log for your website instead of shooting in the dark. The error log should be provided by your host under your hosting control panel (you might want to check it with them). For example in cPanel you can find it under Error Log. The exact error message that lead to internal server error will show you the problem with the installation and it should not be hard to resolve it.

  • Like 1
Link to comment
Share on other sites

First I would advise you to verify all files and folders permissions are set to 755 (or 644). Permissions set to 777 will commonly result in Internal Server Error.

Another option is that you have a syntax error in your web site files.

In any case you should check the error log for your website instead of shooting in the dark. The error log should be provided by your host under your hosting control panel (you might want to check it with them). For example in cPanel you can find it under Error Log. The exact error message that lead to internal server error will show you the problem with the installation and it should not be hard to resolve it.


Hi Martin,

I've checked the error, from order till check out, here is the error log, but I don't understand the log. Could you please help? Thank you!

[Wed Mar 24 16:07:43 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/modules/bankwire/payment.php'>http://singabear.com/modules/bankwire/payment.php
[Wed Mar 24 16:07:43 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/index.php" is writeable by group, referer: http://singabear.com/modules/bankwire/payment.php'>http://singabear.com/modules/bankwire/payment.php
[Wed Mar 24 16:07:40 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/modules/bankwire/payment.php'>http://singabear.com/modules/bankwire/payment.php
[Wed Mar 24 16:07:40 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php" is writeable by group, referer: http://singabear.com/modules/bankwire/payment.php'>http://singabear.com/modules/bankwire/payment.php
[Wed Mar 24 16:07:24 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/order.php'>http://singabear.com/order.php
[Wed Mar 24 16:07:24 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php" is writeable by group, referer: http://singabear.com/order.php'>http://singabear.com/order.php
[Wed Mar 24 16:07:16 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/order.php'>http://singabear.com/order.php
[Wed Mar 24 16:07:16 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php" is writeable by group, referer: http://singabear.com/order.php'>http://singabear.com/order.php
[Wed Mar 24 16:06:45 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/order.php'>http://singabear.com/order.php?step=1
[Wed Mar 24 16:06:45 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php" is writeable by group, referer: http://singabear.com/order.php'>http://singabear.com/order.php?step=1
[Wed Mar 24 16:06:37 2010] [error] [client 221.133.42.2] File does not exist: /home/valenlim/public_html/singabear.com/500.shtml, referer: http://singabear.com/
[Wed Mar 24 16:06:37 2010] [error] [client 221.133.42.2] SoftException in Application.cpp:256: File "/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php" is writeable by group, referer: http://singabear.com/
Link to comment
Share on other sites

The "File does not exist: /home/valenlim/public_html/singabear.com/500.shtml" you should not be concerned about. It just identifies that the server does not have an error page setup for error 500 ISE.

The following errors are causing the malfunction:

SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/index.php” is writeable by group
SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php” is writeable by group

Just contact your host and ask them what are the permissions you have to set. File is writable by group means that the second attribute for the file permissions has write. Judging from this error setting permissions for the store files recursively to 755 should fix it. I hope this helps.

Link to comment
Share on other sites

The "File does not exist: /home/valenlim/public_html/singabear.com/500.shtml" you should not be concerned about. It just identifies that the server does not have an error page setup for error 500 ISE.

The following errors are causing the malfunction:

SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/index.php” is writeable by group
SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php” is writeable by group

Just contact your host and ask them what are the permissions you have to set. File is writable by group means that the second attribute for the file permissions has write. Judging from this error setting permissions for the store files recursively to 755 should fix it. I hope this helps.


Hi Martin, it's great! It really help! But I hit another issue now.

The previous Internal Server Error page disappear and show me order detail. Then when I click next, it suppose show me the bank wire detail that I've configured in back office, but it just show me 'An order has already been placed using this cart'. It seem like skip 1 step ahead. Do you know how to solve this?

20767_HikRdQQW7ZsagNOFqAeK_t

20768_8QAmTT5QsWrWdetecjq3_t

Link to comment
Share on other sites

I suppose simply clearing the cache and cookies for your browser will help. By the way I tried placing a test order just to check it but was not able to do so due to:

"There is no carrier available that will deliver to this address!"

so I am not 100% sure but still considering that on the screenshot the cart is empty - this is most probably a cache issue.

Link to comment
Share on other sites

I suppose simply clearing the cache and cookies for your browser will help. By the way I tried placing a test order just to check it but was not able to do so due to:

"There is no carrier available that will deliver to this address!"

so I am not 100% sure but still considering that on the screenshot the cart is empty - this is most probably a cache issue.


Hi Martin, I cleared cache, but still facing the same issue. Could you please try again? Previously couldn't work because I allowed the delivery to Malaysia only. I've reset your shipping address, you should able to make order now. Thank you!
Link to comment
Share on other sites

Yes, I was able to place the order without any problems :) You should be able to view it from the admin backend.

As for the fact that you are still experiencing the issue. Have you cleared the cookies for your browser also? Note that this will log you out of the store. Try it. Once cleared pick a new item and place the order again. Should work for you this time. I had no issues placing a second order.

Link to comment
Share on other sites

Yes, I was able to place the order without any problems :) You should be able to view it from the admin backend.

As for the fact that you are still experiencing the issue. Have you cleared the cookies for your browser also? Note that this will log you out of the store. Try it. Once cleared pick a new item and place the order again. Should work for you this time. I had no issues placing a second order.


Hi Martin, I've clearer the cookies and it still the same. Yea, I able to make order successfully too. But what I mean is, it skip 1 page after you click confirm order. It suppose to display the bank wire detail which I configured in Bank Wire Configuration at Back Office as attached file. But it does not display now but redirect to main page now after click on 'Confirm Order'.

Thank you :)

20779_XavbmrIyLM9vA6UFB3qg_t

Link to comment
Share on other sites

The "File does not exist: /home/valenlim/public_html/singabear.com/500.shtml" you should not be concerned about. It just identifies that the server does not have an error page setup for error 500 ISE.

The following errors are causing the malfunction:

SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/index.php” is writeable by group
SoftException in Application.cpp:256: File “/home/valenlim/public_html/singabear.com/modules/blockcart/blockcart-set-collapse.php” is writeable by group

Just contact your host and ask them what are the permissions you have to set. File is writable by group means that the second attribute for the file permissions has write. Judging from this error setting permissions for the store files recursively to 755 should fix it. I hope this helps.



Tks for your help, i had to spend so much time for this error. It's great tip.

one more time, thank!
Link to comment
Share on other sites

Hey valenlim,

Yes, I can see that something is not right. Upon confirming the order and the Bank Wire transfer choice 2 things should occur.

1. You should be redirected to an information page where the bank wire details are displayed.
2. An email should be send to the customers email with the same data.

I have registered with a dummy email but I made a new registration now and verified emails are not send also.

If there are no error messages displayed in your error log when trying to confirm the bank wire payment, the best option might be to try reinstalling the current PrestaShop you have and start over with a fresh installation.

Link to comment
Share on other sites

Hey valenlim,

Yes, I can see that something is not right. Upon confirming the order and the Bank Wire transfer choice 2 things should occur.

1. You should be redirected to an information page where the bank wire details are displayed.
2. An email should be send to the customers email with the same data.

I have registered with a dummy email but I made a new registration now and verified emails are not send also.

If there are no error messages displayed in your error log when trying to confirm the bank wire payment, the best option might be to try reinstalling the current PrestaShop you have and start over with a fresh installation.


Hi Malvin,

Thanks for your help! I solved my issues! All these happened because of the wrong email setting. I re-configured the email setting and it back to normal. Once again, thank you very much!
Link to comment
Share on other sites

  • 6 months later...

Excellent - had the same problem on making a test run - this post solved my issues. And now I am a little smarter.
Funny thing is that my permissions were correctly set but some other post informed me to change them another way to fix a different problem although I was sure it wasn't correct. So before you leap - take a look over the edge first - and double check :)
Thanks.

Link to comment
Share on other sites

  • 8 months later...
Yes, I was able to place the order without any problems :) You should be able to view it from the admin backend.

As for the fact that you are still experiencing the issue. Have you cleared the cookies for your browser also? Note that this will log you out of the store. Try it. Once cleared pick a new item and place the order again. Should work for you this time. I had no issues placing a second order.


Hi Martin, I've clearer the cookies and it still the same. Yea, I able to make order successfully too. But what I mean is, it skip 1 page after you click confirm order. It suppose to display the bank wire detail which I configured in Bank Wire Configuration at Back Office as attached file. But it does not display now but redirect to main page now after click on 'Confirm Order'.

Thank you :)



I have exactly the same problem: "it does not display now but redirect to main page now after click on 'Confirm Order'."
How should I solve this problem? I uninstalled and install the module again. CHMOD is 777 on module folder and only subfolders (Not files).
my email settings are correct and I receive registration and test emails from eshop.
------------------------------
Update:
I think the problem solved. my test customer and admin email was the same. I created another account with a different email and it worked. I'm not sure if it was the main reason or not! ;)
Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...