Webmastersite.net
Register Log In

Error on homepage in usermode
Error on homepage when in user mode, but when login admin, error gone

Comments on Error on homepage in usermode

lordi
Beginner

Usergroup: Member
Joined: Mar 18, 2020

Total Topics: 3
Total Comments: 8
lordi
Error on homepage in usermode
Posted Apr 16, 2020 - 5:14 AM:

everytime access the wsnlinks homepage i got this multiple erros

Error #2: 'A non-numeric value encountered' in includes/commonfuncs.php on line 3390.Error occurred for usergroup #1 on 2020-04-16 11:54:13.
Step 1 of backtrace:
File: includes/commonfuncs.php
Line: 1865
Function: adjusttotimezone
Arguments: 1584517284


Step 2 of backtrace:
File: classes/generic.php
Line: 423
Function: showdate
Arguments: %b %d, %Y 1584517284


Step 3 of backtrace:
File: classes/generic.php
Line: 427
Function: showdate
Arguments: time
Class: generic


Step 4 of backtrace:
File: classes/generic.php
Line: 433
Function: date
Arguments:
Class: generic


Step 5 of backtrace:
File: includes/commonfuncs.php
Line: 6346
Function: lastupdate
Arguments:
Class: generic


Step 6 of backtrace:
File: classes/generic.php
Line: 696
Function: objectreplacements
Arguments: <!-- BEGIN TOPLIST 2 -->

<td class="link" >
<table>
<tr>
<IF 1&... object


Step 7 of backtrace:
File: includes/commonfuncs.php
Line: 7451
Function: replacements
Arguments: <!-- BEGIN TOPLIST 2 -->

<td class="link" >
<table>
<tr>
<IF {L...
Class: generic


Step 8 of backtrace:
File: end.php
Line: 1358
Function: runtoplist
Arguments: <!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="http://gis4u.n...


Step 9 of backtrace:
File: index.php
Line: 230
Function: require
Arguments: end.php


Last toplist config line: links[,]time[,]5[,]descending[,][,][,]1[,]0[,]0[,]0[,][,]0[,]0[,][,]0[,][,][,]


The referring URL was undefined.



but strangely, when i login as admin, those error gone,
any hints on this error?
thank you

note: i use wsnlinks 10.4.70
lordi
Beginner

Usergroup: Member
Joined: Mar 18, 2020

Total Topics: 3
Total Comments: 8
lordi
Posted Apr 16, 2020 - 8:43 PM:

update :

i try to change the setting around and seems by set the correct timezone, all the error is gone

is true that above error related to timezone setting?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 17, 2020 - 2:04 PM:

This must've been caused by the same thing that caused the problem in your other thread -- in 10.4.70, submitting changes on pages was causing them to transmit the values with plus signs stripped out. If you'd edited the localization settings, the timezones include plus signs.

After upgrading to 10.4.71, at Admin -> Settings -> Localization, put this in the Default Time Zones box:
UTC-12, UTC-11, UTC-10, UTC-9, UTC-8, UTC-7, UTC-6, UTC-5, UTC-4, UTC-3:30, UTC-3, UTC-2, UTC-1, UTC, UTC+1, UTC+2, UTC+3, UTC+3:30, UTC+4, UTC+4:30, UTC+5, UTC+5:30, UTC+5.75, UTC+6, UTC+6:30, UTC+7, UTC+8, UTC+9, UTC+9:30, UTC+10, UTC+11, UTC+12, UTC+13, UTC+14
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.