Post any OpenCart 1.4.9.1 Bugs here!
Re: Post any OpenCart 1.4.9.1 Bugs here!
but receive emails if form contains email such as email@samedomain.com (local email address)
- jameel
- Posts: 2
- Joined: Wed Sep 22, 2010 11:39 am
Re: Post any OpenCart 1.4.9.1 Bugs here!
A client of mine just called me with the following issue:
Customers which have an email-address containing a "-" (dash) are not able to register or order products.
The email-address is rejected as it is not recognized as a proper address.
Customers which have an email-address containing a "-" (dash) are not able to register or order products.
The email-address is rejected as it is not recognized as a proper address.
- roeligan
- Posts: 16
- Joined: Wed Jul 07, 2010 10:41 pm
- Location: Globe
Re: Post any OpenCart 1.4.9.1 Bugs here!
roeligan wrote:A client of mine just called me with the following issue:
Customers which have an email-address containing a "-" (dash) are not able to register or order products.
The email-address is rejected as it is not recognized as a proper address.
viewtopic.php?f=31&t=20026&p=98892#p98892
Request Reviews v1.0 released.
- dbstr
- Posts: 368
- Joined: Sat Aug 29, 2009 4:20 pm
Error Email Pattern
Version 1.4.9.1
Error on this line
// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');
Thks
Error on this line
// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');
Thks
- celestial
- Posts: 1970
- Joined: Fri Mar 19, 2010 8:19 pm
Re: Error Email Pattern
celestial wrote:Version 1.4.9.1
Error on this line
// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');
Thks
That is not v1.4.9.1 That is checked into SVN for 1.5.0 and has the "-" dash fix

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9.1 Bugs here!
but is ok???
r130 - Various bug fixes since 1.4.9.1 - Added email regex defines to the index.php files
I take from here and i think is for 1.4.9.1
r130 - Various bug fixes since 1.4.9.1 - Added email regex defines to the index.php files
I take from here and i think is for 1.4.9.1
Last edited by celestial on Thu Sep 23, 2010 7:30 pm, edited 1 time in total.
- celestial
- Posts: 1970
- Joined: Fri Mar 19, 2010 8:19 pm
Re: Post any OpenCart 1.4.9.1 Bugs here!
It says "fixes since 1.4.9.1"

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9.1 Bugs here!
Q please but my error??? maybe is the $
- celestial
- Posts: 1970
- Joined: Fri Mar 19, 2010 8:19 pm
Re: Post any OpenCart 1.4.9.1 Bugs here!
what error? All you did was paste code from the next version of the cart that already fixes the dash issue.

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9.1 Bugs here!
// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');
- celestial
- Posts: 1970
- Joined: Fri Mar 19, 2010 8:19 pm
Re: Post any OpenCart 1.4.9.1 Bugs here!
still don't understand why you are using that code. It is not 1.4.9.1 and won't work in 1.4.9.1
But yes, remove the $
But yes, remove the $

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

PayPal Standard Missing Postage and Packing
I've installed a fresh copy of 1.4.9.1 on a local web server and may have come across a bug.
I enabled and setup PayPal Standard and Flat Rate shipping plus I inserted a new currency for AU Dollars (AUD). I then selected AU Dollars and did a test order. What I found is that all amounts look okay on the final ordering page but post confirmation of the order when I'm redirected to PayPal the Postage and Packing amount is missing.
I then changed the currency to GBP and tried again. This time the Postage and Packing did appear when redirected to PayPal. In fact it seems to work with any of the currencies (Euro, Pounds, US Dollar) that came with OC but not with the AU Dollar which I added.
Can someone please confirm if this is a real issue or have I missed something when inserting the currency?
I enabled and setup PayPal Standard and Flat Rate shipping plus I inserted a new currency for AU Dollars (AUD). I then selected AU Dollars and did a test order. What I found is that all amounts look okay on the final ordering page but post confirmation of the order when I'm redirected to PayPal the Postage and Packing amount is missing.
I then changed the currency to GBP and tried again. This time the Postage and Packing did appear when redirected to PayPal. In fact it seems to work with any of the currencies (Euro, Pounds, US Dollar) that came with OC but not with the AU Dollar which I added.
Can someone please confirm if this is a real issue or have I missed something when inserting the currency?
- ianm
- Posts: 2
- Joined: Sat Sep 25, 2010 3:07 pm
order_confirm template is wrong
In the order_confirm template is an error, or an overlooked thing.
Change catalog/view/theme/template/default/mail/order_confirm.tpl
Find:
Change:
Find:
Change:
Find 2 lines below
Change:
G.
Change catalog/view/theme/template/default/mail/order_confirm.tpl
Find:
- Code: Select all
<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
Change:
- Code: Select all
<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>
Find:
- Code: Select all
<td align="left"><?php echo $product['name']; ?>
Change:
- Code: Select all
<td align="left"><?php echo $product['model']; ?>
Find 2 lines below
- Code: Select all
<td align="left"><?php echo $product['model']; ?></td>
Change:
- Code: Select all
<td align="left"><?php echo $product['name']; ?></td>
G.
For agricultural miniatures see my 1.5.0 OC shop: http://www.gbfarming.nl
For modelcars cars see my OC 1.5.1.3 shop: http://www.gbcars.nl/
For Wooden Toys see my 1.4.9.4 shop: http://www.dehoutentreinenwinkel.nl/
For modelcars cars see my OC 1.5.1.3 shop: http://www.gbcars.nl/
For Wooden Toys see my 1.4.9.4 shop: http://www.dehoutentreinenwinkel.nl/
-

Gerrit - Posts: 943
- Joined: Fri Nov 27, 2009 1:06 pm
Re: PayPal Standard Missing Postage and Packing
ianm wrote:I've installed a fresh copy of 1.4.9.1 on a local web server and may have come across a bug.
I enabled and setup PayPal Standard and Flat Rate shipping plus I inserted a new currency for AU Dollars (AUD). I then selected AU Dollars and did a test order. What I found is that all amounts look okay on the final ordering page but post confirmation of the order when I'm redirected to PayPal the Postage and Packing amount is missing.
I then changed the currency to GBP and tried again. This time the Postage and Packing did appear when redirected to PayPal. In fact it seems to work with any of the currencies (Euro, Pounds, US Dollar) that came with OC but not with the AU Dollar which I added.
Can someone please confirm if this is a real issue or have I missed something when inserting the currency?
Sorry my bad - for some reason when I had used the clear function in my PayPal shipping calculations section it inserted $0 amounts as the shipping cost hence the effect above.
- ianm
- Posts: 2
- Joined: Sat Sep 25, 2010 3:07 pm
Re: order_confirm template is wrong
Gerrit wrote:In the order_confirm template is an error, or an overlooked thing.
Change catalog/view/theme/template/default/mail/order_confirm.tpl
Find:
- Code: Select all
<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
Change:
- Code: Select all
<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>
Find:
- Code: Select all
<td align="left"><?php echo $product['name']; ?>
Change:
- Code: Select all
<td align="left"><?php echo $product['model']; ?>
Find 2 lines below
- Code: Select all
<td align="left"><?php echo $product['model']; ?></td>
Change:
- Code: Select all
<td align="left"><?php echo $product['name']; ?></td>
G.
Not quite sure about this one. There is an issue with the model column being wider than the product name column. But you are swapping the model and the product name. I would think leaving them in the same place would be better but with the fixed widths. So I guess the fix would be:
EDIT: catalog/view/theme/template/default/mail/order_confirm.tpl
FIND:
- Code: Select all
<th align="left" style="width: 15%; padding: 0.3em; color: #FFFFFF;"><?php echo $column_product; ?></th>
<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
REPLACE WITH:
- Code: Select all
<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_product; ?></th>
<th align="left" style="width: 15%; padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9.1 Bugs here!
Order history-->Order Status text_none error


-

eka7a - Posts: 176
- Joined: Sat Apr 11, 2009 4:59 pm
- Location: Türkiye
Re: Post any OpenCart 1.4.9.1 Bugs here!
that's going to be a language pack issue not an opencart bug.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
- Xsecrets
- Posts: 5042
- Joined: Sat Oct 24, 2009 7:51 pm
- Location: FL US
Re: Post any OpenCart 1.4.9.1 Bugs here!
Xsecrets wrote:that's going to be a language pack issue not an opencart bug.
I've downloaded the file errored. i am again dowload oc files and upload admin/controller/sale/order.php fixed
Thanks for the suggestion
-

eka7a - Posts: 176
- Joined: Sat Apr 11, 2009 4:59 pm
- Location: Türkiye
Re: Post any OpenCart 1.4.9.1 Bugs here!
This is a fix for a long time bug with image extensions in uppercase. It wasn't until I fixed a different issue in the code in 1.4.9.1 that this became a factor. If you have some images that aren't loading, this will fix it:
1. EDIT: system/library/image.php
2. FIND:
3. REPLACE WITH:
1. EDIT: system/library/image.php
2. FIND:
- Code: Select all
$extension = $info['extension'];
3. REPLACE WITH:
- Code: Select all
$extension = strtolower($info['extension']);

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9.1 Bugs here!
Not sure what is going on. I have OC 1.4.9.1 installed with the PayPal Standard Module and Flat Rate Shipping of $10.00
I had a customer place an order yesterday totaling $137.74
$118.00 Item Order Cost
$118.00 Subtotal
$ 8.25 Texas Sales Tax
$ 10.00 Flat Rate Shipping Cost
$137.74 Order Total
For some reason the $ amount that was charged to the customer via PayPal was $138.56 not $137.74 (the OpenCart order total). Should the customer be charged the same $ amount in PayPal that was recorded in OpenCart?
When I log into PayPal to look at the transaction I see that the customer was charged $138.56.
What is going on? Why would PayPal not be charged the same dollar amount $137.74 that was recorded in OpenCart?
The following PayPal information was written to my Error Log
I had a customer place an order yesterday totaling $137.74
$118.00 Item Order Cost
$118.00 Subtotal
$ 8.25 Texas Sales Tax
$ 10.00 Flat Rate Shipping Cost
$137.74 Order Total
For some reason the $ amount that was charged to the customer via PayPal was $138.56 not $137.74 (the OpenCart order total). Should the customer be charged the same $ amount in PayPal that was recorded in OpenCart?
When I log into PayPal to look at the transaction I see that the customer was charged $138.56.
What is going on? Why would PayPal not be charged the same dollar amount $137.74 that was recorded in OpenCart?
The following PayPal information was written to my Error Log
- Code: Select all
2010-10-01 20:51:02 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=138.56&invoice=168 - Sunny Lucas&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=DD T1760 arabian red&payer_id=WRL6CZCTJF7SN&tax=10.56&address_street=604 Canyon Creek&payment_date=13:50:58 Oct 01, 2010 PDT&option_selection1_1=arabian red, Size XL (Size 14 to 16)&payment_status=Completed&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=4.32&address_country_code=US&address_name=Sunny Lucas¬ify_version=3.0&custom=qnmd&payer_status=verified&business=emailus@shopcelebrity.net&address_country=United States&num_cart_items=1&mc_handling1=0.00&address_city=Lufkin&verify_sign=AcyJTfTfbKe4d9xKsP1QPwCRLjzJAJ.1kYafPL4WUT8ooCISZs75EuXT&payer_email=sunnyd557@yahoo.com&mc_shipping1=10.00&option_name1_1=Color, Size&contact_phone=&txn_id=0SX60797JW387564H&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali Dancer Peasant Top&receiver_email=emailus@shopcelebrity.net&payment_fee=4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&txn_type=cart&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=138.56&
2010-10-01 20:51:03 - PP_STANDARD :: IPN REQ --> cmd=_notify-validate&mc_gross=138.56&invoice=168+-+Sunny+Lucas&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=DD+T1760+arabian+red&payer_id=WRL6CZCTJF7SN&tax=10.56&address_street=604+Canyon+Creek&payment_date=13%3A50%3A58+Oct+01%2C+2010+PDT&option_selection1_1=arabian+red%2C+Size+XL+%28Size+14+to+16%29&payment_status=Completed&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=4.32&address_country_code=US&address_name=Sunny+Lucas¬ify_version=3.0&custom=qnmd&payer_status=verified&business=emailus%40shopcelebrity.net&address_country=United+States&num_cart_items=1&mc_handling1=0.00&address_city=Lufkin&verify_sign=AcyJTfTfbKe4d9xKsP1QPwCRLjzJAJ.1kYafPL4WUT8ooCISZs75EuXT&payer_email=sunnyd557%40yahoo.com&mc_shipping1=10.00&option_name1_1=Color%2C+Size&contact_phone=&txn_id=0SX60797JW387564H&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali+Dancer+Peasant+Top&receiver_email=emailus%40shopcelebrity.net&payment_fee=4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&txn_type=cart&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=138.56
2010-10-01 20:51:03 - PP_STANDARD :: IPN RESP <-- VERIFIED
2010-10-01 20:51:03 - PP_STANDARD :: VALIDATION FAILED : PP_Standard - Possible Scam: IPN/PDT Price "138.56" does not match OpenCart Total "137.7350". Order needs manual verification.
2010-10-01 20:51:06 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=0SX60797JW387564H&st=Completed&amt=138.56&cc=USD&cm=qnmd&item_number=&
2010-10-01 21:03:51 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=-138.56&invoice=168 - Sunny Lucas&protection_eligibility=Partially Eligible - INR Only&item_number1=DD T1760 arabian red&payer_id=WRL6CZCTJF7SN&address_street=604 Canyon Creek&payment_date=14:03:37 Oct 01, 2010 PDT&option_selection1_1=arabian red, Size XL (Size 14 to 16)&payment_status=Refunded&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=-4.32&address_country_code=US&address_name=Sunny Lucas¬ify_version=3.0&reason_code=refund&custom=qnmd&business=emailus@shopcelebrity.net&address_country=United States&mc_handling1=0.00&address_city=Lufkin&verify_sign=AQEgFLG-gYJRPNwVRAb4gD.Dx6t9AH5qGyXdtJlOHoQYM.2ZzljIUyDv&payer_email=sunnyd557@yahoo.com&mc_shipping1=10.00&parent_txn_id=0SX60797JW387564H&option_name1_1=Color, Size&contact_phone=&txn_id=6DW70281A02973521&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali Dancer Peasant Top&receiver_email=emailus@shopcelebrity.net&payment_fee=-4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=-138.56&
2010-10-01 21:03:51 - PP_STANDARD :: IPN REQ --> cmd=_notify-validate&mc_gross=-138.56&invoice=168+-+Sunny+Lucas&protection_eligibility=Partially+Eligible+-+INR+Only&item_number1=DD+T1760+arabian+red&payer_id=WRL6CZCTJF7SN&address_street=604+Canyon+Creek&payment_date=14%3A03%3A37+Oct+01%2C+2010+PDT&option_selection1_1=arabian+red%2C+Size+XL+%28Size+14+to+16%29&payment_status=Refunded&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=-4.32&address_country_code=US&address_name=Sunny+Lucas¬ify_version=3.0&reason_code=refund&custom=qnmd&business=emailus%40shopcelebrity.net&address_country=United+States&mc_handling1=0.00&address_city=Lufkin&verify_sign=AQEgFLG-gYJRPNwVRAb4gD.Dx6t9AH5qGyXdtJlOHoQYM.2ZzljIUyDv&payer_email=sunnyd557%40yahoo.com&mc_shipping1=10.00&parent_txn_id=0SX60797JW387564H&option_name1_1=Color%2C+Size&contact_phone=&txn_id=6DW70281A02973521&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali+Dancer+Peasant+Top&receiver_email=emailus%40shopcelebrity.net&payment_fee=-4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=-138.56
2010-10-01 21:03:51 - PP_STANDARD :: IPN RESP <-- VERIFIED
- Brook
- Posts: 437
- Joined: Tue Feb 23, 2010 4:15 pm
Who is online
Users browsing this forum: No registered users and 7 guests













