The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetSimple 3.1 time() warning in debug mode persists
#1
Hello, I have installed a fresh copy of GS 3.1 on february 26.
Server: CentOS Linux 5.7, PHP 5.3+,
all required modules ok

Everything works smoothly, but when I enable "Debug mode ON" in gs config, I get this warning about time()

The warnings in admin backend disappeared when I selected the default timezone in
Admin -> Settings -> Local Timezone

(perhaps a tip to users to set they time zone in admin after install , to avoid this warning ? the warning is echoed before headers, and causes admin to not work properly in debug mode)

However I still get this warning in front page, and login page ( with debug mode enabled )

Screenshot in admin login:
https://picasaweb.google.com/lh/photo/RW...directlink

Screenshot in main site:
https://picasaweb.google.com/lh/photo/qC...directlink

I have searched the web for this problem and I found an thread in google answer here:

http://answers.google.com/answers/thread...39376.html

It is stated that this warning only appears when PHP STRICT reporting is enabled, and the warning may be caused by several reasons like:

"Part of this has to do with addressing client/server issues, which may
occur when (for example) the server is in Pacific Time and the client
is in Eastern Time."

It is stated that E_STRICT setting causes PHP to report errors based on what the PHP
people decided good coding practice to be, so I was wondering if DEBUG mode should set to STRICT ?.

The error disappears when disabling DEBUG mode, but this is not a solution.
Reply




Users browsing this thread: 1 Guest(s)