Thread: Problem....

Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    257
    Plugin Contributions
    0

    Default Problem....

    ok... so my hosting company had a major problem with their database... they fixed it.. reloaded my last autosave data file... which is more recent than my save... and there were no installs or upgrades since this save... anyway... since then.. when i try to access my admin i get this

    Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list in /home/poison67/public_html/yourlingerieparty/admin/includes/extra_configures/time_offset.php on line 8

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/poison67/public_html/yourlingerieparty/admin/includes/extra_configures/time_offset.php:8) in /home/poison67/public_html/yourlingerieparty/includes/functions/sessions.php on line 102

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/poison67/public_html/yourlingerieparty/admin/includes/extra_configures/time_offset.php:8) in /home/poison67/public_html/yourlingerieparty/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/poison67/public_html/yourlingerieparty/admin/includes/extra_configures/time_offset.php:8) in /home/poison67/public_html/yourlingerieparty/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/poison67/public_html/yourlingerieparty/admin/includes/extra_configures/time_offset.php:8) in /home/poison67/public_html/yourlingerieparty/admin/includes/functions/general.php on line 34

    they say is is a code issue... but I never had this problem before this....


    ANY IDEAS???

  2. #2
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Problem....

    Quote Originally Posted by g0d4lm1ty View Post
    ok... so my hosting company had a major problem with their database... they fixed it..

    ... since then.. when i try to access my admin i get this

    putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list

    they say is is a code issue... but I never had this problem before this....
    I suspect it's your time-zone mod that's exposing this issue.

    And, ya - it's a code issue ... but only insomuch as "code" is exposing a server configuration issue. Don't let them pin it on you.

    Sounds like they had more than just a "database" problem. Perhaps they even changed their PHP configuration or even upgraded/re-installed it while fixing other problems ... and forgot about their safe-mode configuration limitations.

    This is the issue you should be telling them they need to resolve:
    Quote Originally Posted by g0d4lm1ty View Post
    putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list
    Suggested approaches:
    - get them to turn safe mode OFF -- most hosts do *NOT* need to run PHP in safe mode unless they've got a weak security setup
    - get them to fix their "allowed list" of environment variables you're allowed to set
    - or maybe get them to go back to their earlier configuration ... if they can remember what it was.
    - or you can remove the time-zone-offset mod from your site.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. bizarre problem.....
    By crispyburgers in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 8 Jun 2007, 03:58 PM
  2. Is this a localhost problem?
    By Canned_Heat in forum General Questions
    Replies: 1
    Last Post: 19 May 2007, 02:45 PM
  3. Cart fails to capture submissions... (hosting problem)
    By The Annoyed Man in forum General Questions
    Replies: 8
    Last Post: 10 May 2007, 12:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •