Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Displaying PHP errors without modifying php.ini

By default, PHP doesn't show errors on your website. That's safer, because an error message sometimes contains information that isn't meant for visitors. If you're tracking down an error, you can temporarily turn error messages on.

Viewing the error log

Often the error is already in the error log. You'll find it in DirectAdmin under System Info & Files, Site Summary / Statistics / Logs.

Temporarily showing errors

Put these lines at the top of the script (or in index.php):

ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', __DIR__ . '/error_log.txt');
error_reporting(E_ALL);

An error in the same file that contains these lines is sometimes not shown. In that case, create a new script with these lines and load the old script into it with include.

You can also turn on display_errors in DirectAdmin under PHP Settings, or in Select PHP version under Options.

Turn off error display again when you're done, and delete the file error_log.txt. If it's in a folder of your website, anyone who knows the name can read it.

See also in the DirectAdmin manual: Site summary and logs: the error log and the access log.

Detailed explanation with screenshots: Errors after a PHP upgrade and finding the error log in the DirectAdmin manual.

Was this article helpful?

← Back to General hosting

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…