Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OScommerce site slow on some connections


sanelv

Recommended Posts

Posted

Hello there:) . I have recently created an e-commerce web site called www.apparel-magic.com. What I did was put up

 

oscommerce(which is in PHP) core system and downloaded a template from templatemonster.com and added about 12

 

contributions to the web site.

This site is on a dedicated server.

 

Just after I was going to test the site it is terribly slow on some connections. But amazingly fast on other

 

connections. Note that bandwidth of the connections are the same and they come from the same ISP. Also the funny

 

thing is that inside my small home network on one machine it comes up fast and on the other it does not. This is

 

totally frustrating. :mad:

 

I have the exact same system uploaded at http://cart.mclanka.com/osc/

but on a different server (shared). It works fine on every machine and in every connection.

But the original site is on a dedicated server and it still does not come up.

 

I discussed with the dedicated server provider and they assured me that there is no bottle neck in there system.

 

THis happense only when we try to add something to the cart or try to checkout.

Please help.

If you at least have a hunch please please let me know!!!!!!

Posted
Hello there:) . I have recently created an e-commerce web site called www.apparel-magic.com. What I did was put up

 

oscommerce(which is in PHP) core system and downloaded a template from templatemonster.com and added about 12

 

contributions to the web site.

This site is on a dedicated server.

 

Just after I was going to test the site it is terribly slow on some connections. But amazingly fast on other

 

connections. Note that bandwidth of the connections are the same and they come from the same ISP. Also the funny

 

thing is that inside my small home network on one machine it comes up fast and on the other it does not. This is

 

totally frustrating. :mad:

 

I have the exact same system uploaded at http://cart.mclanka.com/osc/

but on a different server (shared). It works fine on every machine and in every connection.

But the original site is on a dedicated server and it still does not come up.

 

I discussed with the dedicated server provider and they assured me that there is no bottle neck in there system.

 

THis happense only when we try to add something to the cart or try to checkout.

Please help.

If you at least have a hunch please please let me know!!!!!!

Same isp?

Same browser and version?

Same OS?

Posted
Same isp?

Same browser and version?

Same OS?

 

 

Yes, Same OS. windows xp

same browser Firefox

Same ISP.

 

Iam in Sri lanka.

 

My dedicated server is on windows.

My shared server is on debian linux

 

Can you guess what causes this issue???

Posted
Yes, Same OS. windows xp

same browser Firefox

Same ISP.

 

Iam in Sri lanka.

 

My dedicated server is on windows.

My shared server is on debian linux

 

Can you guess what causes this issue???

When you say inside my small home network on one machine it comes up fast and on the other it does not. Is that what always happens?

 

Do you mean the dedicated server is your PC?

 

If you are trying to access your local installation from a pc on your home network, on windows XP, and it works sometimes, you are doing well.

Posted
When you say inside my small home network on one machine it comes up fast and on the other it does not. Is that what always happens?

 

Do you mean the dedicated server is your PC?

 

If you are trying to access your local installation from a pc on your home network, on windows XP, and it works sometimes, you are doing well.

 

 

Nope. I have my dedicated server in Canada. Got it from iweb8.com a professional company for hosting.

Not only in my network. I have checked it from other countries as well. On some it comes super fast. On some when you try to add something to the cart its keeps on loading and loading. I don't find any pattern on the symptoms or any similar linkage among the machines I have checked it on. Its totally random.

 

Thank you for your help. I am gonna need it more....

Please help. If you can chat online with me I would love to. Please let me know if so..

Posted
I don't find any pattern on the symptoms or any similar linkage among the machines I have checked it on. Its totally random.

Very strange code IMHO. All the buy now buttons link to products_new with action=buy_now, independent on where you are in the site.

 

Your Windows server returns errors and on curl it is not giving any page content. I can imagine certain browsers choke on that crap:

iMac:~ user$ curl -v http://www.apparel-magic.com/products_new.php?action=buy_now&products_id=15
[1] 1788
iMac:~ user$ * About to connect() to www.apparel-magic.com port 80
*   Trying 72.55.174.20... * connected
* Connected to www.apparel-magic.com (72.55.174.20) port 80
> GET /products_new.php?action=buy_now HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: www.apparel-magic.com
Pragma: no-cache
Accept: */*

< HTTP/1.1 302 OK
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Content-Length: 209
< Content-Type: text/html
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Location: http://www.apparel-magic.com/shopping_cart.php?osCsid=d8589dc0c5f8d1869e8559bd0af61edd
< Server: Microsoft-IIS/6.0
< File 'c: \mysql\share\charsets\?.conf' not found (Errcode: 2)
< Character set '#33' is not a compiled character set and is not specified in the 'c: \mysql\share\charsets\Index' file
< X-Powered-By: PHP/4.4.7
< Set-Cookie: osCsid=d8589dc0c5f8d1869e8559bd0af61edd; path=/; domain=www.apparel-magic.com
< X-Powered-By: ASP.NET
< X-Powered-By: PleskWin
< Date: Sun, 04 Nov 2007 14:00:58 GMT
<head><title>Document Moved</title></head>
* Connection #0 to host www.apparel-magic.com left intact
* Closing connection #0

Posted
Very strange code IMHO. All the buy now buttons link to products_new with action=buy_now, independent on where you are in the site.

 

Your Windows server returns errors and on curl it is not giving any page content. I can imagine certain browsers choke on that crap:

iMac:~ user$ curl -v http://www.apparel-magic.com/products_new.php?action=buy_now&products_id=15
[1] 1788
iMac:~ user$ * About to connect() to www.apparel-magic.com port 80
*   Trying 72.55.174.20... * connected
* Connected to www.apparel-magic.com (72.55.174.20) port 80
> GET /products_new.php?action=buy_now HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: www.apparel-magic.com
Pragma: no-cache
Accept: */*

< HTTP/1.1 302 OK
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Content-Length: 209
< Content-Type: text/html
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Location: http://www.apparel-magic.com/shopping_cart.php?osCsid=d8589dc0c5f8d1869e8559bd0af61edd
< Server: Microsoft-IIS/6.0
< File 'c: \mysql\share\charsets\?.conf' not found (Errcode: 2)
< Character set '#33' is not a compiled character set and is not specified in the 'c: \mysql\share\charsets\Index' file
< X-Powered-By: PHP/4.4.7
< Set-Cookie: osCsid=d8589dc0c5f8d1869e8559bd0af61edd; path=/; domain=www.apparel-magic.com
< X-Powered-By: ASP.NET
< X-Powered-By: PleskWin
< Date: Sun, 04 Nov 2007 14:00:58 GMT
<head><title>Document Moved</title></head>
* Connection #0 to host www.apparel-magic.com left intact
* Closing connection #0

 

 

 

Does this explain the whether the site works on some connections and not in others???

Can you clarify a bit. I don't get it. (Not the code) What should I tell my client. Should I tell him to move on to linux server???

Please reply..

 

can you run the same test on cart.mclanka.com/osc/

What happens then???

Posted
can you run the same test on cart.mclanka.com/osc/

What happens then???

iMac:~ user$ curl -v http://cart.mclanka.com/osc/products_new.php?action=buy_now&products_id=15
[1] 1877
iMac:~ user$ * About to connect() to cart.mclanka.com port 80
*   Trying 208.113.179.22... * connected
* Connected to cart.mclanka.com (208.113.179.22) port 80
> GET /osc/products_new.php?action=buy_now HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: cart.mclanka.com
Pragma: no-cache
Accept: */*

< HTTP/1.1 302
< Date: Sun, 04 Nov 2007 16:11:43 GMT
< Server: Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
< X-Powered-By: PHP/4.4.7
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Set-Cookie: osCsid=81e00d4754c4e41334885f67194a9c22; path=/cgi; domain=cart.mclanka.com
< Location: http://cart.mclanka.com/osc/shopping_cart.php?osCsid=81e00d4754c4e41334885f67194a9c22
< Vary: Accept-Encoding
< Content-Length: 0
< Content-Type: text/html
* Connection #0 to host cart.mclanka.com left intact
* Closing connection #0

No errors. Perhaps if you do a view source on the machine that "hangs" you will see the

<head><title>Document Moved</title></head>

Perhaps the browser does not get redirected to the shopping cart page?

Posted
iMac:~ user$ curl -v http://cart.mclanka.com/osc/products_new.php?action=buy_now&products_id=15
[1] 1877
iMac:~ user$ * About to connect() to cart.mclanka.com port 80
*   Trying 208.113.179.22... * connected
* Connected to cart.mclanka.com (208.113.179.22) port 80
> GET /osc/products_new.php?action=buy_now HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: cart.mclanka.com
Pragma: no-cache
Accept: */*

< HTTP/1.1 302
< Date: Sun, 04 Nov 2007 16:11:43 GMT
< Server: Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
< X-Powered-By: PHP/4.4.7
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Set-Cookie: osCsid=81e00d4754c4e41334885f67194a9c22; path=/cgi; domain=cart.mclanka.com
< Location: http://cart.mclanka.com/osc/shopping_cart.php?osCsid=81e00d4754c4e41334885f67194a9c22
< Vary: Accept-Encoding
< Content-Length: 0
< Content-Type: text/html
* Connection #0 to host cart.mclanka.com left intact
* Closing connection #0

No errors. Perhaps if you do a view source on the machine that "hangs" you will see the

<head><title>Document Moved</title></head>

Perhaps the browser does not get redirected to the shopping cart page?

 

 

So, what should I do about it? Do I have to edit the code of the site somehow. Or is it better to tell my client to move in to a linux based server?? Please help Jan!!! :'(

Posted
So, what should I do about it? Do I have to edit the code of the site somehow. Or is it better to tell my client to move in to a linux based server?? Please help Jan!!!

Why do you think I would know the answer to your problem? If I were you I would make sure that A. the error the Windows server gives would go away and B. I found a computer/browser that consistently has the problem so that you can evaluate what happens (does it get stuck between the redirects and after which one or what).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...