Post by jcgadgets » Fri Jan 14, 2011 5:44 am

Qphoria wrote:
jonhunk wrote:When I open Internet Explorer or Safari I go to my shop's url: http://amhardware.com/shop/

When I click on the Home Tab my urls is: https://amhardware.secure.omnis.com/sho ... ommon/home
When I click on the Basket Tab my url is: https://amhardware.secure.omnis.com/sho ... ckout/cart
When I click on the Login Tab my url is: https:///amhardware.secure.omnis.com/shop/index.php?route=account/login
When I click on the Account Tab my url is: https:///amhardware.secure.omnis.com/shop/index.php?route=account/account

When I click on the checkout tab my urls is: https:///amhardware.secure.omnis.com/shop/index.php?route=checkout/shipping

I Do have SSL turned on. In settings I have set my store address to https://amhardware.secure.omnis.com/shop/
which is also my address that is setup correctly in the admin/config file.

Everything with the ssl worked fine in v1.4.9.1 after I upgraded to v1.4.9.3 I have had this problem. Everything seems to work great in Firefox & Chrome. I can't even find where to fix this and why it is doing this.

Please help asap.
What exactly is the problem? Aside from you having it setup wrong? But it looks like you wanted it to be setup wrong so it is working as designed ???
Every page is supposed to be https then? My home page and basket page are not...is this an error / problem?


Thank you,
Jared

Active Member

Posts

Joined
Sun Oct 31, 2010 4:49 pm

Post by angelsix » Fri Jan 14, 2011 4:40 pm

BUG: User selected Currency not passing through to credit card payments.

Since upgrading to 1.4.9.3 from 1.4.9.1, payments made by card (PayPal Pro) that were working before are now having their card charged for the default item value, regardless of currency selected. So if they select US for example when the item is priced by default in UK, then the order will say the correct amount, so will the email and the entire OpenCart system and it will not detect any errors, yet if you look at your receiving bank it is actually charging the card for the default rate, not the converted rate!

This is bad news for example if the item costs £77 ($122) and the end user selects $ as their currency, their card will be charged £49 ($77), and nothing in the system even detects this happens!

Newbie

Posts

Joined
Fri Jan 14, 2011 3:36 pm

Post by Qphoria » Fri Jan 14, 2011 9:01 pm

angelsix wrote:BUG: User selected Currency not passing through to credit card payments.

Since upgrading to 1.4.9.3 from 1.4.9.1, payments made by card (PayPal Pro) that were working before are now having their card charged for the default item value, regardless of currency selected. So if they select US for example when the item is priced by default in UK, then the order will say the correct amount, so will the email and the entire OpenCart system and it will not detect any errors, yet if you look at your receiving bank it is actually charging the card for the default rate, not the converted rate!

This is bad news for example if the item costs £77 ($122) and the end user selects $ as their currency, their card will be charged £49 ($77), and nothing in the system even detects this happens!
This has been there for a while in different payment gateways... some of them were fixed, some where not

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by angelsix » Fri Jan 14, 2011 10:19 pm

Ok... and is this going to be fixed within the next few days? If not I will have to remove the entire OpenCart from site and replace it with one that doesn't have the error as I cannot afford issues of that severity.

Newbie

Posts

Joined
Fri Jan 14, 2011 3:36 pm

Post by Qphoria » Fri Jan 14, 2011 11:24 pm

angelsix wrote:Ok... and is this going to be fixed within the next few days? If not I will have to remove the entire OpenCart from site and replace it with one that doesn't have the error as I cannot afford issues of that severity.
It actually doesn't cause many problems.. that is why we never fix it. What module are you using? paypal pro? This was broken since day 1 so it couldn't have started to work in 1.4.9.1 and then broke in 1.4.9.3 as there was no change to this file. It is more likely that you just never saw this before because you always pay in your own default currency

Try this:
1. EDIT: catalog/controller/payment/pp_pro.php

2. FIND:

Code: Select all

$order_info['value']
3. REPLACE WITH:

Code: Select all

1.000000

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bajaber » Sat Jan 15, 2011 3:30 am

angelsix wrote:BUG: User selected Currency not passing through to credit card payments.

Since upgrading to 1.4.9.3 from 1.4.9.1, payments made by card (PayPal Pro) that were working before are now having their card charged for the default item value, regardless of currency selected. So if they select US for example when the item is priced by default in UK, then the order will say the correct amount, so will the email and the entire OpenCart system and it will not detect any errors, yet if you look at your receiving bank it is actually charging the card for the default rate, not the converted rate!

This is bad news for example if the item costs £77 ($122) and the end user selects $ as their currency, their card will be charged £49 ($77), and nothing in the system even detects this happens!
I encountered the same. But I thought my cache was having problems. Thanks for alerting. I need to do some rethinking about my default currency. Hmm...

New member

Posts

Joined
Mon Dec 27, 2010 9:08 pm

Post by Fyshell » Tue Jan 18, 2011 10:40 am

Bug:URl like:http://www.yoursite.com/index.php?route ... nformation&
It seems get a wrong way .Site physical path will be discover,try it(v1.4.9.1andV1.4.9.3,maybe other)

Newbie

Posts

Joined
Thu Dec 09, 2010 11:38 am

Post by tzabaman » Wed Jan 19, 2011 9:51 pm

I also have the same problem with mail headers. There is something wrong with the encoding when I'm using GREEK characters in the "First Name" field of contact form. When i look into the mail that i received in outlook (2007) the Subject, From and Reply-To headers are not properly encoded. Here is what I receive:

Code: Select all

Subject: Enquiry ΓΙΩΡΓΟΣ ΒΡΕΤΤΟΣ
X-PHP-Script: www.someone.gr/index.php for 85.*.*.*
From: ΓΙΩΡΓΟΣ ΒΡΕΤΤΟΣ<someone@someone.gr>
Reply-To: ΓΙΩΡΓΟΣ ΒΡΕΤΤΟΣ<someone@someone.gr>
The encoding of the main message is fine. Just the headers...

I'm using a clean install of 1.4.9.3. I think that this bug was also present in older versions

Thanks

Newbie

Posts

Joined
Wed Jan 19, 2011 9:40 pm

Post by lucass » Wed Jan 19, 2011 10:33 pm

Hello

I am using Opencart 1.4.9.3
I have a problem with product options. When I add few options and few option values to each of options, I click "Save" and I receive error:

Code: Select all

Notice: Undefined index: sort_order in /srv/home/lv121791/public_html/admin/model/catalog/product.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /srv/home/lv121791/public_html/admin/index.php:72) in /srv/home/lv121791/public_html/system/engine/controller.php on line 27
Here is a tip how to reproduce this error:
- edit product
- add first option
- add 7 option values to first option
- add second option
- add 25 option values to second option
- click save

I installed totally new, clean installation of opencart 1.4.9.3 to check if it will avoid this error, but the error appears even on this clean installation.

Regards

Newbie

Posts

Joined
Fri Dec 17, 2010 5:05 pm

Post by Qphoria » Thu Jan 20, 2011 2:44 am

lucass wrote: Here is a tip how to reproduce this error:
- edit product
- add first option
- add 7 option values to first option
- add second option
- add 25 option values to second option
- click save

I installed totally new, clean installation of opencart 1.4.9.3 to check if it will avoid this error, but the error appears even on this clean installation.

Regards

OHH I read it more carefully now and I know what the issue is... There are a few limits in php
max upload size
max upload time
max post size
passing in all the fields from product, plus an additional hundred or so from 34 options is a LOT of data to post back, and most shared hosts have limits. Ask your host to increase these limits or try to increase them from the htaccess or php.ini files

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by i2Paq » Thu Jan 20, 2011 2:49 am

Qphoria wrote:
tech.cnsb wrote:
In Line 95, after we added this line

Code: Select all

$header .= 'Date: ' . date("D, d M Y H:i:S O") . $this->newline;
The SPAM problem will solved.
Great find. I'll add it to the core. Thanks

Should we need to add this to files from 1.4.9.1/1.4.9.2 to?

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by lucass » Thu Jan 20, 2011 3:49 am

Youre right!

I migrated my shop to another server and it worked well with many options!

Thank You! I will try to overwrite these limits :)

Newbie

Posts

Joined
Fri Dec 17, 2010 5:05 pm

Post by Qphoria » Thu Jan 20, 2011 3:56 am

i2Paq wrote:
Qphoria wrote:
tech.cnsb wrote:
In Line 95, after we added this line

Code: Select all

$header .= 'Date: ' . date("D, d M Y H:i:S O") . $this->newline;
The SPAM problem will solved.
Great find. I'll add it to the core. Thanks

Should we need to add this to files from 1.4.9.1/1.4.9.2 to?
Probably since 1.0.0

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by marc_cole » Thu Jan 20, 2011 6:57 am

tech.cnsb wrote:
In Line 95, after we added this line

Code: Select all

$header .= 'Date: ' . date("D, d M Y H:i:S O") . $this->newline;
If I'm not mistaken, shouldn't the "S" be lowercase?

Code: Select all

$header .= 'Date: ' . date("D, d M Y H:i:s O") . $this->newline;
I'm not sure what an uppercase 'S' is for, but it outputs "th" on my machine, whereas a lowercase 's' properly outputs seconds.

Marc

OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English


Active Member

Posts

Joined
Tue Dec 14, 2010 11:26 am
Location - Seattle, WA

Post by Qphoria » Thu Jan 20, 2011 11:00 am

jang1200 wrote:
nibulus wrote:For instance: company name is "GÄRTNER" => the sender is displayed as "GÄRTNER" - and the title says "G RTNER - Thank you for registering"

2) Customer registers e.g. with the name Martin Hässler.
system/library/mail.php - change:

Code: Select all

public function setSender($sender) {
    $this->sender = $sender;
}
public function setSubject($subject) {
    $this->subject = $subject;
}
to :

Code: Select all

public function setSender($sender) {
    $this->sender = html_entity_decode($sender);
}
public function setSubject($subject) {
    $this->subject = html_entity_decode($subject);
}
This was already changed in 1.4.9.3, you are using old code

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Thu Jan 20, 2011 11:06 am

santam wrote:
allenshea wrote:My mail has similar issue, If our clients place order with Euro currency, €, I will got wrong words in subject.

...

the right subject should be Online Order System - Auftrag 701 (1.046,63€)

I've upgrade to 1.4.9.3, the code in system/library/mail.php as below.

Code: Select all

	public function setSender($sender) {
		$this->sender = html_entity_decode($sender, ENT_COMPAT, 'UTF-8');
	}

	public function setSubject($subject) {
		$this->subject = html_entity_decode($subject, ENT_COMPAT, 'UTF-8');
	}
Any Ideas would be great appreciated.

Allen
I have got the same identical problem, in a fresh opencart installation. Already tried thinkering with system/library/mail.php or admin/controller/sale/contact.php and catalog/model/checkout/order.php, them being the main files in witch mailing to clients or admins is coded, with no success. I also already tried searching old forum posts, but it seems all workarounds proposed have already been coded into the latest release; anyway, all of them are ineffective for "oddly" accented letters and the € symbol. Maybe it's a problem with (or a wrong use of) the html_entity_decode() function?

Any help?
This was the change for 1.4.9.3 to fix the issues with that.. I just tested the contact form spammed with the euro sign and I see it as expected in gmail:

Image

I've even got my Store name set to "Yø'r Store & märe €" and that shows fine in all emails:

Image

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Thu Jan 20, 2011 11:12 am

Fyshell wrote:Bug:URl like:http://www.yoursite.com/index.php?route ... nformation&
It seems get a wrong way .Site physical path will be discover,try it(v1.4.9.1andV1.4.9.3,maybe other)
Not sure where you are seeing this.. I dont have this in my information links

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by julugu » Thu Jan 20, 2011 5:52 pm

Hello,

Everyday I get a lot of errors like these:

2011-01-19 19:08:21 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/julugu/public_html/index.php:48) in /home/julugu/public_html/system/library/session.php on line 11

2011-01-19 19:08:22 - PHP Notice: Undefined index: HTTP_HOST in /home/julugu/public_html/index.php on line 173

2011-01-19 19:08:22 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/julugu/public_html/index.php:48) in /home/julugu/public_html/index.php on line 173

2011-01-20 8:36:06 - PHP Warning: unlink(/home/julugu/public_html/system/cache/cache.category.38.2.0.1295512099) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/julugu/public_html/system/library/cache.php on line 14

I know they are Warnings but I don't want them in the log.

Thanks

New member

Posts

Joined
Fri Dec 31, 2010 9:30 pm

Post by Fyshell » Fri Jan 21, 2011 2:33 pm

Qphoria wrote:
Fyshell wrote:Bug:URl like:http://www.yoursite.com/index.php?route ... nformation&
It seems get a wrong way .Site physical path will be discover,try it(v1.4.9.1andV1.4.9.3,maybe other)
Not sure where you are seeing this.. I dont have this in my information links
See here
demo1: http://opencart.maleeqa4us.com/index.ph ... formation&
demo2: http://demo1.opencartstuff.com/index.ph ... formation&

======================================================================================================

Normal:http://opencart.maleeqa4us.com/index.ph ... rmation123


Image

Error:http://opencart.maleeqa4us.com/index.ph ... nformation&

Image

Newbie

Posts

Joined
Thu Dec 09, 2010 11:38 am

Post by i2Paq » Fri Jan 21, 2011 3:34 pm

I have mentioned this also in the 1.5.0 *ALPHA* topic:
There is a flaw in the Order_Invoice setup since the Invoice was introduced!

When generating/printing and Invoice it uses the Order-date as Invoice-date, this is incorrect.
The Invoice-date, in most cases, will never be the Order-date.
According to my Tax agent this is not compliant with the law but when granting warranty it could mean that because the Invoice-date = Order-date customers could lose up to weeks when having a 1year or 2year warranty.

While "we" are still developing 1.5 this should be fixed as well.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 14 guests