Post by Maansy » Sat Oct 15, 2011 3:00 pm

some errors i am getting in the error log:

2011-10-13 21:34:01 - PHP Notice: Undefined variable: payment_address in /home/xxxx/public_html/opencartstuff.com/catalog/controller/checkout/payment.php on line 88

2011-10-14 7:15:57 - PP_STANDARD :: IPN REQUEST: cmd=_notify-validate&mc_gross=10.00

2011-10-14 7:15:57 - PP_STANDARD :: IPN RESPONSE: VERIFIED

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by ronnie84 » Sat Oct 15, 2011 9:44 pm

i2Paq wrote:
ronnie84 wrote:
i2Paq wrote:
Check the date of the voucher and if you use the correct UPPER/lower-case.
I have check the date and the correct code but still doesnt redeem,
I have entered a gift voucher manually threw the admin panel and it seemed to work even though the one i have purchased from the the site directly doesnt.
Custom theme?
doesnt work either without the theme...

Newbie

Posts

Joined
Thu Jan 13, 2011 8:48 am

Post by asphole » Sun Oct 16, 2011 1:09 am

I'm not sure if this has been fixed as I recall Daniel saying it would be fixed in the next version but its still not working for me on 1.5.1.3 (upgrade from 1.5.1.2)

If I have a product with 100 points and create an option that has an additional 50 points and then add that item to the cart I would expect the cart to show 150 points earned but it currently shows 100 points (The points for the base item only - The additional points are not shown)

Apologies if this has been fixed but after an hour searching the forums I couldn't find it. Any pointers would be appreciated.

Active Member

Posts

Joined
Mon Mar 14, 2011 9:33 am

Post by az-vm » Sun Oct 16, 2011 9:45 am

Hi people,


I'm having a situation here that I am not understand why is happening

When the client logs you out of your account, the utf-8 is lost, and is this the symbol of the Euro: €.
and all the text whit ç ~ ....

But that's happening in the logout page when changing pages is fine.

I also note that in the browser, there it changes the encoding for the European Windows.

Does anyone know what I do to fix?

OC: 1.1.5.3

Thank´s!!!
Last edited by az-vm on Sun Oct 16, 2011 10:40 am, edited 1 time in total.

New member

Posts

Joined
Sat Jul 30, 2011 7:53 am
Location - Men at Work @ It´s a Mistake

Post by Maansy » Sun Oct 16, 2011 9:57 am

i am using oc 1.5.1.3.1
this error stops customers from checking out.

2011-10-15 23:17:42 - PHP Notice: Undefined variable: payment_address in /home/xxxx/public_html/opencartstuff.com/catalog/controller/checkout/payment.php on line 88

here is the code:

Code: Select all

// Payment Methods
				$method_data = array();
				
				$this->load->model('setting/extension');
				
				$results = $this->model_setting_extension->getExtensions('payment');
		
				foreach ($results as $result) {
					if ($this->config->get($result['code'] . '_status')) {
						$this->load->model('payment/' . $result['code']);
						
						$method = $this->{'model_payment_' . $result['code']}->getMethod($payment_address, $total);  //line 88
						
						if ($method) {
							$method_data[$result['code']] = $method;
						}
					}
				}
is this fixed yet? if yes, then point me to the fix plz.

thanks

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by Daniel » Sun Oct 16, 2011 5:26 pm

thats not the reason why your customers can not checkout.

this normally means your session time has run out and there is no payment address.

most likely you are missing a language file or something that's stopping the checkout.

reinstall in a sperate folder and test the checkout.


this code provides your address and if it does not exsit it will redirect.

Code: Select all

		if ($this->customer->isLogged() && isset($this->session->data['payment_address_id'])) {
			$payment_address = $this->model_account_address->getAddress($this->session->data['payment_address_id']);		
		} elseif (isset($this->session->data['guest'])) {
			$payment_address = $this->session->data['guest']['payment'];
		}	
		
		if (empty($payment_address)) {
			$json['redirect'] = $this->url->link('checkout/checkout', '', 'SSL');
		}	

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by markman-b » Sun Oct 16, 2011 5:38 pm

Checking out is no problem on my site, but I confirm the error message.

Undefined variable: payment_address in /home/myhostp/public_html/catalog/controller/checkout/payment.php on line 88

It is logged when a customer adds an account during checking out.

OC version 1.5.4.1


Active Member

Posts

Joined
Wed Aug 24, 2011 7:13 pm

Post by okmarket » Sun Oct 16, 2011 5:45 pm

Fatal error: Call to undefined method ModelSaleOrder::getOrderOption() in public_html/xxxxxxl/admin/controller/sale/order.php on line 1794

This is what I get when loged in as admin and do a SALES/ORDER/VIEW/products selection and than click on an uploaded picture

pls help

Attachments

problem2.JPG

problem2.JPG (36.24 KiB) Viewed 6046 times

problem1.JPG

problem1.JPG (39.07 KiB) Viewed 6046 times


China Wholesaler
http://www.okmarket.com
Image

David Wei


User avatar
New member

Posts

Joined
Sat Jul 09, 2011 11:47 pm
Location - Guangzhou,China

Post by gjanezic » Sun Oct 16, 2011 6:22 pm

http://code.google.com/p/opencart/sourc ... art.tpl#77

<p>get shipping quotes. <a></a></p>

This has been here for some time now, is it work in progress or just useless?

Newbie

Posts

Joined
Thu Aug 11, 2011 7:06 am

Post by Daniel » Sun Oct 16, 2011 9:27 pm

okmarket wrote:Fatal error: Call to undefined method ModelSaleOrder::getOrderOption() in public_html/xxxxxxl/admin/controller/sale/order.php on line 1794

This is what I get when loged in as admin and do a SALES/ORDER/VIEW/products selection and than click on an uploaded picture

pls help

will post a fix on svn. when its available again.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Sun Oct 16, 2011 9:28 pm

gjanezic wrote:http://code.google.com/p/opencart/sourc ... art.tpl#77

<p>get shipping quotes. <a></a></p>

This has been here for some time now, is it work in progress or just useless?
does it matter. its svn.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Qphoria » Sun Oct 16, 2011 11:18 pm

Maansy wrote: 2011-10-14 7:15:57 - PP_STANDARD :: IPN REQUEST:
2011-10-14 7:15:57 - PP_STANDARD :: IPN RESPONSE: VERIFIED
You should know by now those are not errors. They are paypal standard debug messages for troubleshooting issues. I removed the data from your post as it holds personal information about your buyer and should only be enabled when you are having paypal standard issues, which you are not since you are getting VERIFIED responses

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by okmarket » Sun Oct 16, 2011 11:46 pm

product updated to fix a to many ajax calls when a product has to many options.

http://code.google.com/p/opencart/sourc ... pec=svn668
at /trunk/upload/admin/controller/catalog/product.php r664

it's need dele below code, but I can't find it at product.php file v.1.5.1.3

Code: Select all

//if () {		
991						$option_value_data = array();		
992			
993						$option_values = $this->model_catalog_option->getOptionValues($product_option['option_id']);		
994			
995						foreach ($option_values as $option_value) {		
996							$option_value_data[] = array(		
997								'option_value_id' => $option_value['option_value_id'],		
998								'name'            => $option_value['name']		
999							);		
1000						}		
1001					//}

Code: Select all

'option_value'         => $option_value_data,
and i found the code differ with v.1.5.1.3 code, pls help clarify, thanks.

China Wholesaler
http://www.okmarket.com
Image

David Wei


User avatar
New member

Posts

Joined
Sat Jul 09, 2011 11:47 pm
Location - Guangzhou,China

Post by Daniel » Mon Oct 17, 2011 12:11 am

use the latest there

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Maansy » Mon Oct 17, 2011 2:09 am

Qphoria wrote:
Maansy wrote: 2011-10-14 7:15:57 - PP_STANDARD :: IPN REQUEST:
2011-10-14 7:15:57 - PP_STANDARD :: IPN RESPONSE: VERIFIED
You should know by now those are not errors. They are paypal standard debug messages for troubleshooting issues. I removed the data from your post as it holds personal information about your buyer and should only be enabled when you are having paypal standard issues, which you are not since you are getting VERIFIED responses
thanks for letting me know its not an error.

thanks for your concern about the paypal data, its not a real data btw. i wont post real customer data online of course.

regards

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by Maansy » Mon Oct 17, 2011 2:11 am

Daniel wrote:thats not the reason why your customers can not checkout.

this normally means your session time has run out and there is no payment address.

most likely you are missing a language file or something that's stopping the checkout.

reinstall in a sperate folder and test the checkout.


this code provides your address and if it does not exsit it will redirect.

Code: Select all

		if ($this->customer->isLogged() && isset($this->session->data['payment_address_id'])) {
			$payment_address = $this->model_account_address->getAddress($this->session->data['payment_address_id']);		
		} elseif (isset($this->session->data['guest'])) {
			$payment_address = $this->session->data['guest']['payment'];
		}	
		
		if (empty($payment_address)) {
			$json['redirect'] = $this->url->link('checkout/checkout', '', 'SSL');
		}	
the only thing i did, i deleted the latest extension i installed.
results:
instead of hanging on the "register an account" button in the checkout page, now it actually lets you fill up the registration form and then hangs on the "continue" button.

Thanks Daniel

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by Daniel » Mon Oct 17, 2011 9:11 am

Maansy wrote:
the only thing i did, i deleted the latest extension i installed.
results:
instead of hanging on the "register an account" button in the checkout page, now it actually lets you fill up the registration form and then hangs on the "continue" button.

Thanks Daniel
why did you not saying anything in the first post? why do you think its ok for me to play a guessing game?

you can not just delete an old extension. you have to uninstall it first!

but again you forget to tell us what it is? payment, shipping, order total i'm guessing again.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Maansy » Mon Oct 17, 2011 9:49 am

Daniel wrote:
Maansy wrote:
the only thing i did, i deleted the latest extension i installed.
results:
instead of hanging on the "register an account" button in the checkout page, now it actually lets you fill up the registration form and then hangs on the "continue" button.

Thanks Daniel
why did you not saying anything in the first post? why do you think its ok for me to play a guessing game?
be cause i DID NOT know yet whats causing the issue. when i knew you knew.

you can not just delete an old extension. you have to uninstall it first!
well, then let say it not extension, its an Add-on. no un-install method to it.

but again you forget to tell us what it is? payment, shipping, order total i'm guessing again.
non of the above. its here: http://www.opencart.com/index.php?route ... on_id=3445
but still, even after deleting it, the process went from hanging on the "register an account" button to the "continue" button when you fill up the registration form while in checkout.

later i read some where, someone had the same issue and re-uploaded the checkout folders in template, model and controller to fix the issue. so i re-uploaded and so far so good. it goes thru all the checkout process fine.
the only thing is, i see this error in the error log:

2011-10-16 22:59:29 - PHP Notice: Undefined index: payment_address_id in /home/xxx/public_html/opencartstuff.com/catalog/controller/checkout/payment.php on line 11

Code: Select all

if ($this->customer->isLogged()) {
			$payment_address = $this->model_account_address->getAddress($this->session->data['payment_address_id']);// line 11	
		} elseif (isset($this->session->data['guest'])) {
			$payment_address = $this->session->data['guest']['payment'];
		}
some said they had to revert back to V 1.5.1.2 here
since you are having a great day today, then you might be able to help others that having same issue still. take a look :)

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by Daniel » Mon Oct 17, 2011 12:52 pm

all the other people including you have cuase the problem your selfs! its not a error that happens with a default installation of opencart!

why should i be the one fixing problems you have caused!

and it was one person who they went back a version by overwriting the files. this means they changed some code for the error to happen in the first place.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Jeremy Fisk » Mon Oct 17, 2011 1:52 pm

Hello all,

Not really a bug... just a spelling error...

Please go to admin, system, localisation, zones... and go to the page that has New Zealand on it (i think it is arround page 123) and then go down to Wairprarapa (i think it is approx the 8th one down)... please note that you have spelt it like "Wairprarapa", where as the corect spelling is "Wairarapa"... this has been in all the versions that I have seen, but i have only just got around to telling ou... sorry....

Not a biggie... just thought i'd tell you...

Thanks

Jem

Hand Dryers

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)
Who is online

Users browsing this forum: No registered users and 131 guests