Category Archives: Technical Issues

What is meant by ‘Connectivity issue with my host server’

Connectivity issue is a very common definition and may encompass many problems.

However, in our case the most common definition is: unexpected network failure at one of our upstream network providers that affects the connectivity to your host server.

We use multiple Tier 1 telecom providers; thus bypassing transit networks which shortens the network path between your website and your visitors.

However, this also means that when your ISP or its upstream providers experience connectivity problems, you or some of your visitors who pass through the problem providers would not be able to access your website.

All other visitors will be able to visit your website without any problems.

How to enable error reporting in a PHP script?

There are two ways to enable error reporting in your PHP scripts.

1. You can add the following function in the .php file for which you would like the error reporting enabled:

error_reporting(E_ALL);

2. You can add the following option in the php.ini file for your web site:

error_reporting = E_ALL

Those will enable reporting for all PHP errors. The detailed error_report documentation and various options you can set can be found in the official PHP documentation at:

http://php.net/error-reporting

How to clear the cache in Firefox, Internet Explorer, Safari and Opera

Here are instructions on how to clear your cache in the following browsers:

  • Firefox:

Open Firefox and go to ToolsClear Private Data. Choose which items you wish to clear and click Clear Private Data Now.

  • Internet Explorer 6:

Open Internet Explorer 6 and go to Tools > Internet Options > General.
Click Delete Files. Check the box next to Delete all offline content In the window that opens and click OK.

  • Internet Explorer 7:

Open Internet Explorer 7 and go to Tools > Internet Options > General.  Under Browsing history clickDelete. Choose which items you wish to delete and click the Delete button next to each item to delete it.

  • Safari:

Open Safari and go to Safari > Empty Cache. Click Empty in the window that opens to clear the cache.

  • Opera:

Open Opera and go to Tools > Delete private data. Choose which items you wish to delete and click Delete.

Additionally, in order to speed-up the process, you can try clearing your local DNS cache.

If you are having cache problems with your website, ask your host for assistance. SiteGround has long experience in resolving such issues and our support team will be ready to assist you

How to change the date.timezone value in PHP?

If your PHP scripts do not show the correct time, the reason is that most probably your hosting server is in a different timezone. This can be easily resolved by changing a setting in PHP called date.timezone.

Depending on your location you can set a specific date.timezone value in PHP using the following option which should be added to your local php.ini file:

date.timezone = “US/Central”

The above example assumes you’d like to set the timezone for your PHP scripts to US/Central. The full list of supported time zones is available here and you should simply replace “US/Central” with the desired timezone.

In this article you can find additional information on how to change PHP values using the php.ini file.

Problems like this and much harder ones are easily solved by Siteground Technical Support. If you are not already our client, take a look at our web hosting features.