Author Topic: Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it'  (Read 4122 times)

havy27

  • Beginner
  • *
  • Posts: 1
i have problem witch
Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list in /var/www/02/28/78/aquatika.no/www/administrator/components/com_virtuemart/classes/ps_main.php on line 33
just after installed virtumart
can some one help me?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26924
  • Always on vacation
    • Jenkin Hill Internet
It is a server problem. Turn safe mode off on the server php.ini
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

zippyboarder

  • Beginner
  • *
  • Posts: 3
I have the same problem. I turned off safe mode in php.ini but the problem continues.

Any ideas

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10277
  • VirtueMart Version: 3+
I have the same problem. I turned off safe mode in php.ini but the problem continues.

Any ideas

call your host and tell them to turn it off
I do NOT do development work for hire.