Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

7.02.07 - no time settings available in admin

Asked Modified Viewed 2,663 times
H
HorB7
H
HorB7 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi. Our site (blakes7online.com) has been running on 7.02.07 since January 2014 and on versions of Fusion 6 prior to that. This version (7xx) was a clean install, new database etc. We have a fairly active forum and recently users have been reporting timestamp errors on posts (specifically, in many cases, posts being dated 36 minutes into the future). I think this is a server issue, but I wanted to look at the time settings in admin just to check nothing was awry there.

I am the main (super) administrator and have had no problems accessing/changing anything else in the admin panel. Btw, not a coder, but a fairly literate PC user. Anyway, Admin Panel/Settings/Time and Date returns a completely blank page. Nothing at all - though it is coloured in the theme for our site. There is just no data there - no menus, no text, nothing. Can anyone shed any light on this for us, please? Thanks. smile
0 replies

8 posts

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

This requires a more in depth checking on your end, but I can point to you where:
1. Check DB_SETTINGS for whether settings_name is : serveroffset and timeoffset - both values is 0.00?
2. Maincore has set - date_default_timezone_set($settings['default_timezone']);
3. Turn on Error reports - paste in your errors here and wrap in a [code] bbtags so we can know in more detail what the real issues are.

Thank you.
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

I Think your version of PHP is to low, below 5.2.0.

In adminstration/settings_time.php go to line 106:

and comment it out:

$timezones = timezone_abbreviations_list();
0 replies
H
HorB7
H
HorB7 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thank you so much, douwe_yntema - did that and now have access to the time and date panel! Just going to check it now.
0 replies
H
HorB7
H
HorB7 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

hein,

1. Okay, I know this sounds stupid, but where/how the hell to find DB_SETTINGS? I tried looking through FTP and PHP MyAdmin. No luck. Sorry to fall at this first basic hurdle.

2. Yes, maincore has that line.

3. I am seeing multiple errors reported since following the step advised by douwe_yntema, above, but this predates that (13th Sept). Any use?

- Thanks again for help and patience. :)

36   if (isset($_POST['savesettings'])) {
37       $error = 0;
38       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['shortdate'])."' WHERE settings_name='shortdate'");
39       if (!$result) { $error = 1; }
40       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['longdate'])."' WHERE settings_name='longdate'");
41       if (!$result) { $error = 1; }
42       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['forumdate'])."' WHERE settings_name='forumdate'");
43       if (!$result) { $error = 1; }
44       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['newsdate'])."' WHERE settings_name='newsdate'");
45       if (!$result) { $error = 1; }
46       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['subheaderdate'])."' WHERE settings_name='subheaderdate'");
47       if (!$result) { $error = 1; }
48       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['timeoffset'])."' WHERE settings_name='timeoffset'");
49       if (!$result) { $error = 1; }
50       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['serveroffset'])."' WHERE settings_name='serveroffset'");
51       if (!$result) { $error = 1; }
52       $result = dbquery("UPDATE ".DB_SETTINGS." SET settings_value='".stripinput($_POST['default_timezone'])."' WHERE
        settings_name='default_timezone'");
53       if (!$result) { $error = 1; }
0 replies
C
coremedia
C
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

The settings Hien referred to should now be editable via the Admin Settings > Time/Date page if you can now access it.
0 replies
H
HorB7
H
HorB7 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Hi, this is what I'm now seeing in Admin Settings. We are based in the UK, as is our host server. There is nothing in the final dropdown menu, Default Timezone; I mean, if I click it to a select an option there are no options, nothing happens. Thanks for all help. smile

EDIT @ 21.13: Okay, so when the times in the forum are appearing wrong, the time given in Time/Date for Server/You/Guests is also wrong. But this is not consistent. At around 8pm GMT today time was correct in forum and in Time/Date, but by about 8.10pm both were 36-37 minutes incorrect (ahead of real time). By around 8.40pm, all correct again. 2nd jpeg illustrates. Windows time is correct and the actual (GMT) time at time of screen grab.

www.blakes7online.com/timedate.JPG


www.blakes7online.com/timerep2.jpg
Edited by HorB7 on 16-09-2014 21:18,
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

It seems to me that it is a server time issue, maybe on the mysql server. Time and dates are stored based on server settings and read from store time.
Worth to mention is that some clock scripts in themes read your local time and not server times.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Check php.ini and look for:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
; date.timezone = "UTC"
date.timezone = "Europe/Amsterdam"

Probalbly dat.timezone has an ; before it.
Your timezone is most probable
date.timezone = "Europe/London"
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

F
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
C
C
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
H
H
HorB7 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet