Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Errors since update
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 6:41 am

noticed the forum was acting a little strange since I updated so I checked the sp error log and my server error log

31 Jan ’16 6:37 am | spaErrWarning | 5350 | php


file: /simple-press/sp-api/sp-api-plugins.php
line: 826
function: filemtime
Warning | filemtime(): stat failed for wp-content/plugins/simple-press/forum/content/resources/jscript/sp-group-view.js

I'm seeing pages and pages of this in my server log

PHP Warning - filemtime(): stat failed for wp-content/plugins/simple-press/forum/content/resources/jscript/sp-group-view.js - file: /simple-press/sp-api/sp-api-plugins.php - line: 826 - function: filemtime
, referer: http://thehomesteadingboards.com/forums/

any suggestions?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 7:01 am

also noticed something funky is going on with search, if you click the text area to enter a search term it pops a warning no search text entered almost like it is activating the search button, am noticing it here as well as my own site.

search.jpgImage Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 10:13 am

I will have to leave this to Steve or Andy, but in the meantime I agree I'm seeing the same warning text when clicking in the search box, very odd..

Thanks for letting us know!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:31 pm

afraid I dont have much of an idea on the filemtime one...  its a standard php function and throwing error trying to look at date of your file... does the file exist on your server?  think you would have bigger issues if it didnt...  its when its trying to see if it needs to create the js cache...

as to search, mighty odd...  saw that a week or so ago, but it had cleared up... some how its back... 🙁

search does work fine, you just get that extra notice...  will have to see if I can figure out what is causing it...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:37 pm

yes the file is there

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:47 pm

the search box issue is a class naming conflict...  unfortunately, the same class name is used in two spots... and a js event handler was added to the class to catch the clicking on one of them... but its gonna catch both...

super simple fix... except its in js...  so not really sure how to get you a patch to remove the error...  might be able to attach a zip file here with the three files... or consider some other options...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:47 pm

we are still researching the other one, but not seeing similar error...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:54 pm

can you try something for me?  on the line you have errors for filemtime, can you make small code change?

so change

                @$js_m_time = filemtime($js_relative_url); # getting the mofified time of the js file. extracting the file's dir

to

                $js_m_time = @filemtime($js_relative_url); # getting the mofified time of the js file. extracting the file's dir

it just moves the '@' around... 

then on forum - toolbox - error log, clear the error log...  then on forum - toolbox - housekeeping, clear the combined js cache...   go visit the site...  go back and check the error long...  still there?

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 4:58 pm

Will give it a shot later this evening or in the am

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2016 - 5:07 pm

okay, just let us know...  The @ is supposed to suppress errors... but it really should be on the function, not the variable...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625