Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Reboot - error since day 1 in the log
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 26, 2015 - 6:56 am

This is the get routine at line 25 of reboot.php from that site.

# load the selected color overlay stylesheet $overlay = dirname(__FILE__).'/../../'.$_GET['theme'].'/styles/overlays/'.$_GET['overlay'].'.php'; include($overlay);

I must add I can't replicate the error on my dev server.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 26, 2015 - 7:31 am

Which is as it should be.

Are you able to implement my proposals?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 26, 2015 - 7:58 am

css caching is off, all error logs cleared within the gui and in the folders on the server.

I can't turn off the themes & languages just yet, they'll have a fit, I'll spring that one on them overnight.

Stats are showing some old browsers being used, I'll have to keep an eye on it.

Could do with a flush sessions button.idea

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 26, 2015 - 10:23 am

Ann said
Could do with a flush sessions button.idea

Would you like to expand on that?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 26, 2015 - 10:36 am

flush all user sessions to force log out

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 26, 2015 - 11:04 am

i am not totally sure you could do that with WordPress although I guess there might be a plugin out there that could do it. A users cookie will still be on their local PC though...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 26, 2015 - 4:23 pm

There is a routine to flush the sessions table and a script to remove site cookies, I'll see if I can make a widget/ plugin

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 26, 2015 - 8:43 pm

let us know... btw, wp doesnt really do sessions in the traditional sense...  what you probably want to do is call

<span style="color: #000000;"><span style="color: #0000bb;">wp_clear_auth_cookie</span><span style="color: #007700;">();</span></span>

which essentially will force a user to log in...

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 27, 2015 - 9:20 pm

Back to the ongoing error. Tests done following your requests with plug-ins disabled.

The error has manifested in 2 ways now, one is for the light-blue overlay, while the other is basically the url coding in line 25 of reboot.php. I've checked the site stats and several users are using outdated browsers. One guy in particular has been moaning about the fact he doesn't like the new layout but I have a feeling this is the person that is the root of the error. I haven't managed to catch him online today but I will endeavour to have a chat with him and send him some screen shots of what the layout actually looks like. I don't think this error is down to your coding at all, I see this as a localised issue that I need to resolve myself.

 

URL error - without a specific file name

[27-May-2015 20:03:15 UTC] PHP Warning:  include(): Failed opening '/problem-with-post-edit-buttonome/mysite/public_html/wp-content/sp-resources/forum-themes/reboot/styles/../..//styles/overlays/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /problem-with-post-edit-buttonome/mysite/public_html/wp-content/sp-resources/forum-themes/reboot/styles/reboot.php on line 25

 

Below is the previous error, calling light-blue overlay and not locating it. 

[27-May-2015 21:25:16 UTC] PHP Warning:  include(/problem-with-post-edit-buttonome/mysite/public_html/wp-content/sp-resources/forum-themes/reboot/styles/../..//styles/overlays/light-blue.php): failed to open stream: No such file or directory in /problem-with-post-edit-buttonome/mysite/public_html/wp-content/sp-resources/forum-themes/reboot/styles/reboot.php on line 25

Even the syntax highlighter is throwing a wobbly at the error coding lol

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 28, 2015 - 1:00 am

dont understand the syntax highlighter comment...

but both are the same thing...  the theme name is missing from the url... I am struggling with how its missing as we cannot duplicate that...

Andy was postulating it might be a blocked cookie issue on specific users...

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626