Same error here.brik wrote:undefined index in currency.php lines 25, 26, 27, 30 on a clean install of 2.2.0.0

Dum spiro spero.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
i2Paq wrote:When do you see that error?
Changing the status on an order from 'Processing' to 'Shipped'.
It happens on orders that are not foreign currency (ie they're in UK GBP)
It happens on about 1 in 4 or 1 in 5 orders.
Not possible to say that there's anything unique about the orders where it does happen.
After the error occurred the order processing went on and completed correctly, it sent the email out that we expected it to.
Dum spiro spero.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Opencart 2.2 is bug currency in method 'format' call in file catalog/contoller/account/voucher.php. You add bugs fix file:brik wrote:cart/system/library/cart/currency.php on line 30straightlight wrote:Can you provide the full path to currency.php file? Obviously, an error message wouldn't just pop-up a file name without its path.
https://github.com/pekka2/OpenCart-Migr ... .ocmod.xml
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Notice: Undefined index: in /home/customername/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/customername/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/customername/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/customername/public_html/system/library/cart/currency.php on line 30
This error is above the line that says "Your payment has been authorised.Please click here to continue"
Any other suggestions?
Thanks.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So should I contact Realex for an update to their code to try resolve the issue, or do you think its still a Opencart bug?straightlight wrote:That is because the XML modifications does not include Realex while I do agree that this module is part of the core, however.
Thanks for you help.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Okay good to know. Hopefully someone will find a solution to the error.straightlight wrote:The issue you're reporting above is with Opencart, It is not non-relative to Realex, in this case. Additional patching needs to be done over the XML in order to resolved these error lines.
Fingers crossed.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The page at https://yoursite.com/ contains a form which targets an insecure URL http://yoursite.com/common/currency/currency.
line 41 index-page: <form action="http://yoursite.com/common/currency/currency" method="post" enctype="multipart/form-data" id="form-currency">
Dum spiro spero.
It has been known that the currency from forms may not redirect to its target due to a hidden input form which most of web providers these days may decline due to CSRF vulnerabilities. It is also not in common programming practice to generically assign a post URL as a hidden field from an HTML form to redirect the browser to another location.dragonfly-ie wrote:@straightlight et al: Is there a fix to stop WARNING on front page with SSL?
The page at https://yoursite.com/ contains a form which targets an insecure URL http://yoursite.com/common/currency/currency.
line 41 index-page: <form action="http://yoursite.com/common/currency/currency" method="post" enctype="multipart/form-data" id="form-currency">
I can, however, recommend the use of the CSRF protection form to see if that will solved the issue. It is also compatible over SSL but not yet tested on TLS encryption.
Contribution: http://www.opencart.com/index.php?route ... on_id=4773
Take note that this contribution does not reflect on any Opencart version since it is a globalized library. The only difference on its integration is with the new nowadays functionality of Opencart v2.2.0.0 and above into the framework but is still NOT an obligation to integrate it globally into your store as I do rather recommend that you initiate this library directly into your catalog/controller/common/currency.php file into the index() method. Then, as per my documentation indicates, to add the echo line right below the: <form tag line into your catalog/view/theme/<your_theme>/template/common/currency.tpl file.
Afterwards, clear out your cache navigation. Close the browser, re-open the browser and see if that solves the issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 4 guests