Post by personastyle » Wed Mar 11, 2009 5:41 pm

hi..

i newbi use opencart... i try install on my linux server.. .. the problem is..when I want to click [ Continue ] button to continue the order( after i finish my payment method then it goes to Checkout Confirmation) . The continue button to checkout confirmation does not function.. it freeze like no action to take.. but i look in code. i go to some javascript code. to continue it..

i try to trace which action it will take.. i think this javascript

Code: Select all

function confirmSubmit() {
	$.ajax({
		type: 'POST',
		url: 'index.php?route=payment/cod/confirm',
		dataType: 'text',
		success: function(msg) {
			location = 'http://personastyle.iblogger.org/v1/index.php?route=checkout/success';
		}		
	});
now.. i am copy paste the location code on address bar..

Code: Select all

location = 'http://personastyle.iblogger.org/v1/index.php?route=checkout/success';
the order automatically continue and finish the order process.. (DONE)..


plz help me.... :o ???

Newbie

Posts

Joined
Wed Mar 11, 2009 5:34 pm

Post by benopencart » Wed Mar 11, 2009 11:24 pm

Unfortunately I have the same problem. But I observed that on internet explore its work very well.
I have this problem + 1 problem in admin area. On admin->configuration->mail ... I receive the next error on my screen .... instead of.... the way I change the mail account.

Not Acceptable
An appropriate representation of the requested resource /admin/index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I have the same code, database on localhost... and everything works very well.
Can someone help me ??
Thanks.

Ben

Newbie

Posts

Joined
Wed Mar 11, 2009 11:18 pm

Post by Daniel » Thu Mar 12, 2009 7:13 pm

personastyle wrote:hi..

i newbi use opencart... i try install on my linux server.. .. the problem is..when I want to click [ Continue ] button to continue the order( after i finish my payment method then it goes to Checkout Confirmation) . The continue button to checkout confirmation does not function.. it freeze like no action to take.. but i look in code. i go to some javascript code. to continue it..

i try to trace which action it will take.. i think this javascript

Code: Select all

function confirmSubmit() {
	$.ajax({
		type: 'POST',
		url: 'index.php?route=payment/cod/confirm',
		dataType: 'text',
		success: function(msg) {
			location = 'http://personastyle.iblogger.org/v1/index.php?route=checkout/success';
		}		
	});
now.. i am copy paste the location code on address bar..

Code: Select all

location = 'http://personastyle.iblogger.org/v1/index.php?route=checkout/success';
the order automatically continue and finish the order process.. (DONE)..


plz help me.... :o ???
What server software are you using?

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by personastyle » Thu Mar 12, 2009 7:48 pm

server software. ?? means ??? ??? ooh.. o forgot.. if i use IE ..the order process working fine.. but if i am use firefox. that got.. error ...

Newbie

Posts

Joined
Wed Mar 11, 2009 5:34 pm

Post by fido-x » Thu Mar 12, 2009 7:55 pm

I just discovered the same problem (linux with apache 2.2.4).

This is how I resolved it -- Login to your administration and go to "Admin->Configuration->Setting", click the "Option" tab and make sure "Stock Subtract" is set to "Yes". Seems the system needs to subtract stock levels to work properly. You will need to ensure that stock levels are sufficient.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by personastyle » Thu Mar 12, 2009 8:06 pm

thanks,

but im still got that error.. i have check "Stock Subtract" is set to "Yes.

Newbie

Posts

Joined
Wed Mar 11, 2009 5:34 pm

Post by benopencart » Fri Mar 13, 2009 2:18 am

Hello everyone.

In mozila I have seen that it is works ..... after call 2 links one after another. And in the end the mail is sent end everthing is ok.
But how is posible to call 2 diffrents links ? From javascript I think it is possible.

So... I called the first link
1) index.php?route=payment/cod/confirm
and the second
2) index.php?route=checkout/success

This is my solutions for the moment.... in mozila. In internet explore it work very well.

I am waiting for an answer.

Ben

Newbie

Posts

Joined
Wed Mar 11, 2009 11:18 pm

Post by benopencart » Fri Mar 13, 2009 2:39 am

I forgot to mentioned that I discuss about open cart 1.8.

Newbie

Posts

Joined
Wed Mar 11, 2009 11:18 pm

Post by Daniel » Fri Mar 13, 2009 7:14 am

This is a bug.

I'm fixing it now.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by benopencart » Fri Mar 13, 2009 4:24 pm

It is possible to download the new cod for opencart1.8 with this problem fixed ?? Or can I get the file/files where the problem is ??

Thank you. Ben

Newbie

Posts

Joined
Wed Mar 11, 2009 11:18 pm

Post by Daniel » Mon Mar 16, 2009 4:39 am

I fixed it in the latest version will releae tonight.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by personastyle » Mon Mar 16, 2009 9:16 am

ok.thnks

Newbie

Posts

Joined
Wed Mar 11, 2009 5:34 pm

Post by personastyle » Mon Mar 16, 2009 3:25 pm

hi...

i have download latest version.. now i get the error like some sql syntax.. ???

Code: Select all

Error: Unknown column 'p.image' in 'field list'
Error No: 1054
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, ss.name AS stock FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id) LEFT JOIN stock_status ss ON (p.stock_status_id = ss.stock_status_id) WHERE p.product_id = '53' AND pd.language_id = '1' AND ss.language_id = '1' AND p.date_available <= NOW() AND p.status = '1'

Newbie

Posts

Joined
Wed Mar 11, 2009 5:34 pm

Post by MWYS » Thu Nov 19, 2009 6:58 pm

Just want to bump this, I have a default 1.3.3 Installation with only template updates (Still in developments, no changes to the core).

Running on a Windows Development PC using WAMPSERVER. When i get to the Checkout Confirmation i click confirm order, The order processes but i am not redirected.

When using firebug this is what i get:
GET http:// localhost/SpinnersShop/index.php?route=payment/cod/confirm 200 OK 5.41s

The order processes, I receive a confirmation, but i remain on the checkout confirmation screen, My cart doesn't empty but the order is successfully processed. I assume that is because the cart is cleared on the checkout success screen?

Any ideas why the order is being processed but not redirected. Note, this is in Firefox, it seems to work just fine in Internet explorer as above.

Note: I put in a space in the URL Above so that it wouldn't show up as a URL on the forum.

New member

Posts

Joined
Wed Oct 21, 2009 9:04 pm

Post by Daniel » Fri Nov 20, 2009 4:21 am

its down to your bowser!!

first time i have heard this happen!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 10 guests