Page 1 of 1

Payment Error (fixed)

Posted: Thu Sep 09, 2010 7:32 pm
by maccadon
It was a problem with my database, After reinstalling and transfering table one for one it now works. Thanks for the support

I just migrated the test webshop to the real domainname.
Now i get a error with the ideal payment module.
First i get the error

Code: Select all

Notice: Undefined index: name in /home/doubledut/domains/temp.nl/public_html/catalog/model/checkout/order.php  on line 315Error: Email to required!
When i tried this fix in order.php

Code: Select all

			// Send to additional alert emails
$emails = explode(',', $this->config->get('config_alert_emails'));
foreach ($emails as $email) {
    if ($email) {
        $mail->setTo($email);
        $mail->send();
    }
}
I get a different the error

Code: Select all

Notice: Undefined index: name in /home/doubledut/domains/temp.nl/public_html/catalog/model/checkout/order.php  on line 315Warning: Cannot modify header information - headers already sent by (output started at /home/doubledut/domains/temp.nl/public_html/index.php:92) in /home/doubledut/domains/temp.nl/public_html/system/engine/controller.php  on line 27
The strange thing is that this worked on the test site
That was located a folder above the standard domain name (http://www.temp.nl/opencart)

Re: Payment Error

Posted: Thu Sep 09, 2010 9:35 pm
by Qphoria
maccadon wrote: I get a different the error

Code: Select all

Notice: Undefined index: name in /home/doubledut/domains/meesterslijpers.nl/public_html/catalog/model/checkout/order.php  on line 315Warning: Cannot modify header information - headers already sent by (output started at /home/doubledut/domains/meesterslijpers.nl/public_html/index.php:92) in /home/doubledut/domains/meesterslijpers.nl/public_html/system/engine/controller.php  on line 27
The strange thing is that this worked on the test site
That was located a folder above the standard domain name (http://www.meesterslijpers.nl/opencart)
That isn't a different error, you just fixed one error and the other error is still there.
Looks like you are running v1.4.8 But Line 315 of the model/checkout/order.php file has no reference to 'name'. Better restore it from the original zip

Re: Payment Error

Posted: Thu Sep 09, 2010 9:53 pm
by maccadon
I'm running V1.4.9 and downloaded it again and uploaded the /catelog/model/checkout/order.php and deleted the older one. I nog get the same error but on a differtent line number
Notice: Undefined index: name in /home/doubledut/domains/meesterslijpers.nl/public_html/catalog/model/checkout/order.php on line 302Warning: Cannot modify header information - headers already sent by (output started at /home/doubledut/domains/meesterslijpers.nl/public_html/index.php:92) in /home/doubledut/domains/meesterslijpers.nl/public_html/system/engine/controller.php on line 27
This is without the "Email to required fix"

Re: Payment Error

Posted: Fri Sep 10, 2010 4:00 am
by maccadon
I just updated from 1.4.9 to 1.4.9.1 but the problem remains
The error i get is

Code: Select all

Notice: Undefined index: name in /home/doubledut/domains/meesterslijpers.nl/public_html/catalog/model/checkout/order.php  on line 302Warning: Cannot modify header information - headers already sent by (output started at /home/doubledut/domains/meesterslijpers.nl/public_html/index.php:92) in /home/doubledut/domains/meesterslijpers.nl/public_html/system/engine/controller.php  on line 27

Re: Payment Error

Posted: Fri Sep 10, 2010 4:51 am
by Qphoria
maccadon wrote:I just updated from 1.4.9 to 1.4.9.1 but the problem remains
The error i get is

Code: Select all

Notice: Undefined index: name in /home/doubledut/domains/meesterslijpers.nl/public_html/catalog/model/checkout/order.php  on line 302Warning: Cannot modify header information - headers already sent by (output started at /home/doubledut/domains/meesterslijpers.nl/public_html/index.php:92) in /home/doubledut/domains/meesterslijpers.nl/public_html/system/engine/controller.php  on line 27
Yea. Something is wrong with your option names. It is unable to find the name of the options for some reason

Re: Payment Error

Posted: Fri Sep 10, 2010 2:01 pm
by maccadon
Oh it's the option names? I got a module from alreadymade.com (globalmegaoptions) so i'm gonna contact him to see what the error could be.