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
PHP from themes
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2014 - 12:03 pm

Not sure is this ties in with the other two threads I made, but I noticed php errors in the header on my staging server using a kindle fire last night, I thought it was due to my custom theme, if I did not have tablet theme enabled, it seemed like it was trying to pull the theme templates from the unified theme, while showing the custom theme, so I deleted the custom theme and enabled the default theme and the errors disappeared from the header, but I noticed similar php errors in my live site error log, this is one of my users who was on my site just a few minutes ago, I think it's theme related because it is referring to the overlays. This is the updated default theme with the only mods being adsense code in the header and footer and changed the breadcrumbs to horizontal, any ideas?

[Wed Oct 29 15:23:22 2014] [error] PHP Warning:  fopen(/nas/wp/www/cluster-2294/kvr28/wp-content/sp-resources/forum-themes/default/styles/overlays/ovdefault.php) [function.fopen]: failed to open stream: No such file or directory in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4004
[Wed Oct 29 15:23:22 2014] [error] PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4007
[Wed Oct 29 15:23:22 2014] [error] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4010
[Wed Oct 29 15:23:34 2014] [error] PHP Warning:  fopen(/nas/wp/www/cluster-2294/kvr28/wp-content/sp-resources/forum-themes/default/styles/overlays/ovdefault.php) [function.fopen]: failed to open stream: No such file or directory in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4004, referer: http://thehomesteadingboards.com/forums/
[Wed Oct 29 15:23:34 2014] [error] PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4007, referer: http://thehomesteadingboards.com/forums/
[Wed Oct 29 15:23:34 2014] [error] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4010, referer: http://thehomesteadingboards.com/forums/
[Wed Oct 29 15:23:46 2014] [error] PHP Warning:  fopen(/nas/wp/www/cluster-2294/kvr28/wp-content/sp-resources/forum-themes/default/styles/overlays/ovdefault.php) [function.fopen]: failed to open stream: No such file or directory in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4004, referer: http://thehomesteadingboards.com/forums/
[Wed Oct 29 15:23:46 2014] [error] PHP Warning:  fread() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4007, referer: http://thehomesteadingboards.com/forums/
[Wed Oct 29 15:23:46 2014] [error] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /nas/wp/www/cluster-2294/kvr28/wp-includes/functions.php on line 4010, referer: http://thehomesteadingboards.com/forums/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 29, 2014 - 3:08 pm

Oh gosh! I had these just yesterday too!

The problem is caused by the Language and Theme User Selection plugin. I assume you have or are using it. Could you try deleting the cookie it saves on your machine called 'overlay'? That should help.

I am currently looking into a fix to clean this up.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2014 - 5:24 pm

I was using the language and theme plug in, but I deleted it last night thinking that was the problem, but it still showed up this morning, when you say machine do you mean my pc or server?

and for the record, I believe this just started since the last sp update and the theme updates

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2014 - 6:45 pm

The cookie on your local machine I believe, and yes - we just came across it too!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2014 - 9:37 pm

Andy ran into it before the last release but we couldnt identify where it came from...  and research ongoing to get it fixed up...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2014 - 12:38 pm

been doing some testing, it seems to only happen when the theme site default is chosen for a theme, if a different theme is chosen, it doesn't happen, not sure if that helps

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2014 - 2:29 pm

I wouldn't mind someone clarifying this, but having a look through tickets I believe this has been fixed up for the next version.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 12, 2014 - 3:07 pm

That's the intention... and the hope! smile

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2014 - 3:40 pm

sweet, thanks! I'll keep an eye out for it

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2014 - 9:32 pm

you are welcome... should be in conjunction with wp 4.1...

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600