Some help

hi,

i have moved a php website from a dedicated server to a shared hosting server. the websites dont give any errors but have 2 problems.

  1. the pages load v.slowly i.e. take about 20 seconds

  2. it has a shopping cart which uses https , so for this do i need install ssl on my own or i have to contact the shared hosting service provider

kindly suggest.

thanks.

usman

  1. the pages load v.slowly i.e. take about 20 seconds
    Sounds like a host issue not a script issue, is there a link we could use to check the load times for ourselves?
  1. it has a shopping cart which uses https , so for this do i need install ssl on my own or i have to contact the shared hosting service provider
    Unless you have a dedicated IP for your shared account you won’t be able to install the SSL certificate you have purchased. Once you have the dedicated IP you can simply install the certificate in your cPanel.

Hi,

Thanks for the reply.

here is the link to the website

http://www.websitetest.9010seo.com/

Also about the SSL, I will check for it.

One thing which i am not sure

The SSL is needed as the site has a shopping cart in it.

I have made changes to my php codes accordingly to the new url to website and databases,

But does the shopping cart also need some changes after moving the site ??

Your site didn’t even finish loading for me after 20 seconds, in fact it continued attempting to load files in which caused Firebug to timeout at 50 seconds for me. I actually left the page open for an additional 30-40 seconds and files were still been loaded.

What i found was your host is to blame, to be honest the host you are with "and I’m not disclosing any names" is crap in my opinion. They oversell the servers and at points in time there can be upwards of 90 users on one server which is far too much load for the server to handle especially if 50% of those accounts are actively using bandwidth.

The only thing i can suggest is you make a post in the hosting forum and get others opinions about which host you should go with.

Web Hosting - SitePoint Forums

Hi,

I have moved my website to a virtual server but still same issue with speed.

I am not sure that what is wrong.

Kindly tell your suggestions so i can debug this problem.

Sprinkle timer markers into the code, and see where things bog down?

I receive a Connection Refused error when trying to access anything inside your /images directory - you may have permissions problems.

Dependancy View report for your site:


http://www.websitetest.9010seo.com/ (64)	391.31 KB
 www.websitetest.9010seo.com (59)	371.82 KB
  html (1)	52.14 KB
   http://www.websitetest.9010seo.com/	52.14 KB
  Stylesheet (2)	42.92 KB
   http://www.websitetest.9010seo.com/styles/styles.css	42.9 KB
   http://www.websitetest.9010seo.com/styles/tabs.css	25 Bytes
  Script (15)	276.75 KB
   http://www.websitetest.9010seo.com/js/helper.js	1.56 KB
   http://www.websitetest.9010seo.com/js/prototype.js	93.79 KB
   http://www.websitetest.9010seo.com/js/scriptaculous.js?effects	2.6 KB
   http://www.websitetest.9010seo.com/js/builder.js	4.66 KB
   http://www.websitetest.9010seo.com/js/effects.js	37.33 KB
   http://www.websitetest.9010seo.com/js/dragdrop.js	30.67 KB
   http://www.websitetest.9010seo.com/js/controls.js	29.79 KB
   http://www.websitetest.9010seo.com/js/slider.js	10.11 KB
   http://www.websitetest.9010seo.com/js/sound.js	2.07 KB
   http://www.websitetest.9010seo.com/js/validators.js	14.26 KB
   http://www.websitetest.9010seo.com/js/common.js	9.23 KB
   http://www.websitetest.9010seo.com/scripts/tabs.js	32.99 KB
   http://www.websitetest.9010seo.com/js/he.js	397 Bytes
   http://www.websitetest.9010seo.com/js/estimated_shipping_and_billing.js	5.37 KB
   http://www.websitetest.9010seo.com/js/an.js	1.93 KB
  Background (12)	Unknown
   http://www.websitetest.9010seo.com/images/layout/bg_body.gif	Unknown
   http://www.websitetest.9010seo.com/images/semi_trans.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/masthead_background_new.png	Unknown
   http://www.websitetest.9010seo.com/images/layout/bg_topnav.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/product_thumb_bottom.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/product_thumb_side.gif	Unknown
   http://www.websitetest.9010seo.com/images/gradient_2.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/snews-box-head.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/latest-blog-ico.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/latest-video-ico.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/latest-recipes-ico.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/check_zip_bg.gif	Unknown
  Input Image (4)	Unknown
   http://www.websitetest.9010seo.com/images/layout/btn_grey_submit.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/search_button_new.gif	Unknown
   http://www.websitetest.9010seo.com/images/buttons/add_to_cart.gif	Unknown
   http://www.websitetest.9010seo.com/images/layout/check_zip_arrow.gif	Unknown
  Image (25)	Unknown
   http://www.websitetest.9010seo.com/images/var/cartoon_thumb_2.gif	Unknown
   http://www.websitetest.9010seo.com/images/var/banner-community_f.gif	Unknown
   http://www.websitetest.9010seo.com/images/var/banner-community_t.gif	Unknown
   http://www.websitetest.9010seo.com/images/var/banner-community_b.gif	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_bakery.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_meat.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_fish_seafood.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_deli.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_dairy.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/wwwkoshercom_KosherGiftBasketsGiftTraysGiftCollections_small_image1_40758.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_grocery.jpg	Unknown
   http://www.websitetest.9010seo.com/images/var/home/kosher_frozen.jpg	Unknown
   http://www.websitetest.9010seo.com/images/products/thumb_no_image.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/txt_blog.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/generic_medium_image1_62267.jpg	Unknown
   http://www.websitetest.9010seo.com/images/goahead/ico-youtube.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/txt_quick_kosher.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/txt_recipes.gif	Unknown
   http://www.websitetest.9010seo.com/images/goahead/generic_medium_image1_62268.jpg	Unknown
   http://www.websitetest.9010seo.com/images/layout/estimated_zip.gif	Unknown
   http://www.websitetest.9010seo.com/images/var/vaad.gif	Unknown
   http://www.websitetest.9010seo.com/images/design/meat-weight-approx.png	Unknown
   http://www.websitetest.9010seo.com/images/design/casejerkynal.jpg	Unknown
   http://www.websitetest.9010seo.com/images/design/kcom-testimonial1.jpg	Unknown
   http://www.websitetest.9010seo.com/images/design/blog-marketing-graphic-jok.jpg	Unknown
 www.youtube.com (1)	1.02 KB
  Embed (1)	1.02 KB
   http://www.youtube.com/v/Rw2CpREU5eE?fs=1	1.02 KB
 verify.authorize.net (2)	6.36 KB
  Script (1)	3.53 KB
   http://verify.authorize.net/anetseal/seal.js	3.53 KB
  Image (1)	2.83 KB
   http://verify.authorize.net/anetseal/images/secure90x72.gif	2.83 KB
 www.jangomail.com (1)	43 Bytes
  Image (1)	43 Bytes
   https://www.jangomail.com/et/a.z?UID=150602	43 Bytes
 www.google-analytics.com (1)	12.07 KB
  Script (1)	12.07 KB
   http://www.google-analytics.com/ga.js	12.07 KB

As far as i can tell the domain you put in your second post still links to the same server.

I gave up after 3min although I am in the UK it should not take that long. On IE the images did not load within that time but a video link did.
On Firefox I had nothing but links and some text.

According to Yslow you have “12 external Javascript scripts.” This one can not be found: http://www.websitetest.9010seo.com/scripts/tabs.js (status: 404)

I have just installed a shopping cart and when I moved it from my localhost to the server I had to install the shopping cart on the server using the install program to setup the config file then download the config file. Upload the shopping cart from my localhost and then upload the config file again.

P.S. Some other problems:
The following requests are returning 404/410 responses. Either fix the broken links or remove the references to the non-existent resources.

* websitetest.9010seo.com/images/layout/bg_body.gif
* websitetest.9010seo.com/images/layout/bg_topnav.gif
* websitetest.9010seo.com/images/layout/masthead_background_new.png
* websitetest.9010seo.com/images/semi_trans.gif
* websitetest.9010seo.com/images/var/banner-community_b.gif
* websitetest.9010seo.com/images/var/banner-community_f.gif
* websitetest.9010seo.com/images/var/home/kosher_fish_seafood.jpg
* websitetest.9010seo.com/scripts/tabs.js
* websitetest.9010seo.com/styles/tabs.css

If I had to guess, your website is using PHP and is trying to contact another server, somewhere in the PHP code, and that connection is timing out.

Perhaps your host does not allow outbound connections to that server, to that port, or some other reason.

That is just my guess, I don’t have any concrete evidence to back this up.

Hi,

Yes You guys point right stuff, the problem was the missing images as it take time to scan images and there are some coding issues and code were hard linked and contact to other site.

But now its better. and work is still in progress.

One more thing i want to complete is that since i have a shopping cart on the website so it uses https

now i have moved it on other server so what do i need to setup the ssl to make the shopping cart secure. and what files are need from the old server to complete this.