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
My Forum is completely screwed
Avatar
QASIM ALHAMMAD
Kuwait
Member
Free Members
sp_UserOfflineSmall Offline
Dec 17, 2012 - 4:58 pm

Hi All,

First I would like to say that I have a complicated long term issue on my forum pages as it became completely screwed.

I was using the Forum on old release 4.5 with the default theme and it was perfect, until I have added some WordPress plugins and activate them to see different issues with the forum display with the first being seeing any Forum page display twice on the same page. I was still able to use the Forum regally but each Forum display will show twice. I tried to deactivate my plugins and reactive them but with no luck.

Recently my website was consuming a lot of CPU process and I received an email from my web host asking me to reduce CPU process or they will have to take down my website and they advice to deactivate all my plugins and reactivate them one by one; which I did and as soon as I active the Simple Press Plugin the Forum display is completely screwed as you can see here MSocialH Forum. I am not much technically professional and I don't understand coding at all.

In order to solve my issue I have tried multiple things starting by Upgrading to the latest version, using different Simple Press themes, trying different settings in integration options and theme display options, also tried options-Global settings with no luck at all.

Then I checked my error log and found this error from all long when I installed the plugin even when it was partially working 

file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: closedir
Warning | closedir() expects parameter 1 to be resource, null given

So I am not sure what could be the problem and would really appreciate any help?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 17, 2012 - 5:07 pm

If this is version 5.2 then start by going to the forum admin > Options > Global Settings and turn off the options to cache/compress CSS and Javascripts (see the right hand side of the panel).
When that is done, come back so we can take another look at it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
QASIM ALHAMMAD
Kuwait
Member
Free Members
sp_UserOfflineSmall Offline
Dec 17, 2012 - 5:25 pm

Hi Yellow,

Thank you so much for your quick reply, I have already turned these off and checked but the same issue is still there.

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Dec 17, 2012 - 6:59 pm

It appears you have some kind of plugin that is mimifying CSS along with a cache program and are using the Google API Jquery. I am not seeing the forum CSS being loaded at all.

The combination could create quite a few problems. If you could turn off any minimizing CSS or JS plugins and make sure the forum page is not cached that would be where I would start to eliminate issues.

Then take a look at this article on What is this jQuery Conflict?  in regards to the Google APIS stuff. 

Avatar
QASIM ALHAMMAD
Kuwait
Member
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2012 - 3:11 am

Hi Brandon,

Thanks for your response, I have read that article before but as I said I am not into coding so I didn't understand it quie well, however I went to my forum pages and checked it and this is what I can see.

From the scrip below what it the plugins or application that could cause the issue, is it Contact form 7 of Jetpack plugin and the Gensis theme which are causing the probelm!

<script type='text/javascript'

src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>

<script type='text/javascript'

>try{jQuery.noConflict();}catch(e){};</script>

<script type='text/javascript'

src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js'></script>

</script>

<script type='text/javascript'

src='http://www.msocialh.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.3.2'></script>

<script type='text/javascript'

src='http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201251'></script>

<script type='text/javascript'

src='http://www.msocialh.com/wp-content/themes/genesis/lib/js/menu/superfish.js?ver=1.4.8'></script>

<script type='text/javascript'

src='http://www.msocialh.com/wp-content/themes/genesis/lib/js/menu/superfish.args.js?ver=1.8.2'></script>

<scriptsrc="http://stats.wordpress.com/e-201251.js"type="text/javascript"></script>

<scripttype="text/javascript">

st_go({v:

'ext',j:'1:2.0.4',blog:'40117065',post:'9',tz:'3'});

var load_cmc = function(){linktracker_init(40117065,9,2);};

if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);

else load_cmc();

</script>

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2012 - 8:21 am

the problem wont be genesis...  I use that on multiple sites and they are excellent at following wp api and standards...  jetpack while a bit heavy in what it does load, does follow the wp api...  guess a child theme could screw that up, but doubtful...

but something on your site is not...  look at the loading of jquery and jquery ui min from what you posted... both being loaded googleapis... quite bad...  wp provides its own version of both of those...  and they really should be used since that is all other wp plugins can test with...  you may be getting two version loaded now too...

so the key will be to find who is loading those - plugin or theme...  search your plugins for those script loadings and we can help correct them...

Avatar
QASIM ALHAMMAD
Kuwait
Member
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2012 - 9:55 am

Hi Papa, 

Thanks for your comment, I have deactivated 5 plugins which I think that could run these scripts and indeed after disabling them I can see in the Forum source that only scripts as mentioned in the document is there but nothing has changed about the Forum and it still display the same way.

<

script

type

=

'text/javascript'

src

=

'http://your-domain/wp-includes/js/jquery/jquery.js?ver='

></

script

>
 
I have even tried activating different themes and I have tried different Forum options and nothing seems to take effect on the Simple Press Forum display.
 
Is there any way to download all the Forum date and settings and then delete the simple press plugin, perform a clean installation and then restore the data of the forum?
 
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 18, 2012 - 1:26 pm

Can we go back to my post 2 above please. It is still trying to load the compress/cached CSS and in your case it is finding an empty file. Can you check those options please because it is acting as if they are both turned on.

andy-signature.png
YELLOW
SWORDFISH
Avatar
QASIM ALHAMMAD
Kuwait
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2012 - 1:03 pm

Hi Yellow,

Just to confirm, you are referring to Options - Global Settings - CSS/JS Combined Caching - 

Enable combining and caching of forum CSS files / Enable combining and caching of forum script (JS) files

Well again both are turned off.

Again I have disabled the plugins that could use JQuery, tried different themes and tried different integration options but nothing seems to take effect. The error for PHP on Line 82 in /simple-press/sp-api/sp-api-plugins.php is still there. 

Is there anything that I should edit on this file or make sure it's on the right settings!! is there anything else I should try!! is there any way to download forum data, wipe off the old simple press installation, re-install fresh simple press installation and restore your data just like you do with Wordpress!!

Please let me know this is very frustrating and I was looking for solution for a long time, I have tried to market my forum very hard to attract few people whom know is starting to loose interest in the Forum or establish a forum with a similar idea!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2012 - 1:35 pm

line 82 is not an error, but a warning... but will look into further - not what your issue here is...

the issue seems to be file permissions on your server...  the theme its trying to load is

http://www.msocialh.com/wp-con.....lor=silver

but on your site, that generates a 404 error...  I assume that is the correct location? you can check on forum - integration - storage locations...

I suspect either the permissions or the uid/gid is wrong on the sp-resources directory...  this could also cause the issue in line 82...  can you verify both for sp-resource??   they should match the ones on wp-content

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