Support Forum

Can't add new topic and many errors

32 Answers

New Answer

JE Justin Erickson
Justin Erickson
Member

That’s what I thought. This is what godaddy told me to do. I actually talked to them more than once about this already.  I’m on hold with them right now. 

YS Yellow Swordfish
Yellow Swordfish
Member

Good starting poibnt: https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/

JE Justin Erickson
Justin Erickson
Member

Ok, the WordPress urls are now https. I cleared all cache and transients, rebuilt CSS and JS cache files and I still have the same problem.

Their running tests to see if they can find the problem. But they already did that yesterday. 

I’m lost on what to do.

YS Yellow Swordfish
Yellow Swordfish
Member

Just took a look at your site and the formatting is gone. AND I am still seeing nothing but http URLs

However – I have noticed something I did not see before. You are running a cache plugin of some sort and not one I have experience with. But you can not cache a forum as the data is too dynamic. Caches are excellent for static data like blog posts but useless for things like forums where the data can change from one page load to the next.

The cache is also inhibiting SP javascript to load and possibly some theme elements as well. Most cache plugins we have seen allow exceptions to be made and you need to do this for SP.

JE Justin Erickson
Justin Erickson
Member

Yes I have excluded the forums for the premium WP Fastest Cache plugin. I actually disabled the whole plugin for it to see if that was the problem.

But I think I got it now. Stupid mistake, I didn’t update the permalink after the WordPress URL change. I had to argue with my hosting for them to change the URL in WordPress. I don’t know why it was such a big deal.

Everything seems to be working. All pages are showing secured and editor functions are working.

Now with some other issues.

Same topic and posts.

https://milwaukee-auto-market.com/forums/we-do-it-all-shops/test/

When I hit the PM in the second post to Brandi84 I get this notice. It shows on top of the forum breadcrumb tabs.

Notice: Undefined variable: url in /home/mkeautomarket2/public_html/wp-content/sp-resources/forum-plugins/private-messaging/library/sp-pm-components.php on line 296

This is the log for the forums.

file: eautomarket2/public_html/wp-content/sp-resources/forum-plugins/private-messaging/library/sp-pm-components.php
line: 296
function: sp_pm_do_breadcrumb
Notice | Undefined variable: url

Its only when I try to PM through the post I see this. I PMed this account all other ways and have no notice. Even with PMing through the post and seeing the notice, it still works. 

And the user plugin dashboard is still messed up. That’s not a big deal, just makes you think other things are not accurate. 

Thank you again for the help. I know I been a pain in the butt. I have a scheduled release in a week. So I have a lot of work on my hands. 

MP Mr Papa
Mr Papa
Member

well, for a production site, you really shouldnt be displaying php error messages (this includes warnings and notices)..  from a site management perspective, its heavily discouraged…  you should really hide them…

those are just harmless notices and have no effect on operation…

interesting as we have not seen these before, but will make a ticket for them to get fixed up in the next release…

JE Justin Erickson
Justin Erickson
Member

How would you go about on hiding them? I want them hidden. This isn’t the first time I have seen these notices/warnings. Not just for the forums, just in general. 

To me it looks unprofessional.

YS Yellow Swordfish
Yellow Swordfish
Member

Of course is is unprofessional – of your hosting company and, to be frank, of you as the website owner.

I wrote at length about this in post #7 of this thread but will repeat that here

if you are seeing these displayed on the website itself then you need to shout loudly at your hosting support as NO such messages should ever be displayed like this. They should always be channeled to a log file. No host should set up a web server with these showing up. They are also a security risk as they disclose the path of your server.

MP Mr Papa
Mr Papa
Member

and here are several ways you can disable:  http://stackoverflow.com/questions/10711517/turning-error-reporting-off-php

JE Justin Erickson
Justin Erickson
Member

Thanks for the help. I do want to point out that the new PM update I got today fixed the problem. 

After adding more groups and topics the admin dashboard for the forums was also fixed. I don’t know how. It was fixed before the PM update too. 

Everything is working great except for one small issue. The select forum drop down tab, when clicked the drop down is displayed to the right and is cut off by the body. I think a simple css making it display to the left would fix this. 

I would also like you guys to provide the css so I know it’s correct and true. Unless you think there a better way to fix this.

You can see the issue on this page. 

https://milwaukee-auto-market.com/forums

Thanks.

MP Mr Papa
Mr Papa
Member

wow… some long forum names… 😉

you will likely run into several issues…

first, by default, we limit forum names displayed to 40 chars.. if you want more than that, you will need to change the template function call in your sp theme…  change

                sp_QuickLinksForum('tagClass=spControl spRight', __sp('Select Forum'));

to something like

                sp_QuickLinksForum('tagClass=spControl spRight&length=50', __sp('Select Forum'));

of course, changing 50 to what you want…

also some css will affect it…

#spMainContainer #spQuickLinksTopic, #spMainContainer #spQuickLinksForum {
width: 230px;
}

again, change 230 to what you want – maybe 400…

and finally, you may also need to change (depending on the widths):

#spMainContainer #spQuickLinksTopic .dd .ddChild, #spMainContainer #spQuickLinksForum .dd .ddChild {
width: 300px;
}

there ya go…

JE Justin Erickson
Justin Erickson
Member

Thanks.

Its wasnt in the template functions but in the header. My template functions are barely a page long. 

For some reason the group title is shorten but the forum title is not. The forum title is longer.

Not a big deal. It looks 10x better. I’m not worried about it. 

Again thanks for all the help guys. It is appreciated. 

JE Justin Erickson
Justin Erickson
Member

Hey guys,

I ran into the bootstrap javascript errors again with another plugin. I need both and been trying to find away to have both work.

I did contact the developer for the other plugin but response is slow. 

In not sure how to fix this problem. The bootstrap javascript libraries is interfering with my forums plugin. 
 
I tried to have the scripts be individual ( load separate ) and that caused more problems.
 
I excluded both plugins from beng cached with cookies, css, and js, did not fix the problem. 
 
I tried a few plugins to fix the problem and none of them worked. The only why I can resolve this issue is by disabling the bootstrap javascript libraries. 
 
bootstrap.min.js?ver=3.3.5:6 Uncaught Error: `selector` option must be specified when initializing tooltip on the window.document object!
 at c.init (bootstrap.min.js?ver=3.3.5:6)
 at new c (bootstrap.min.js?ver=3.3.5:6)
 at HTMLDocument. (bootstrap.min.js?ver=3.3.5:6)
 at Function.each (jquery.js?ver=1.12.4:2)
 at a.fn.init.each (jquery.js?ver=1.12.4:2)
 at a.fn.init.b [as tooltip] (bootstrap.min.js?ver=3.3.5:6)
 at HTMLDocument.eval (eval at  (sp-forum-footer.js?ver=4.7.3:1), :1:124)
 at i (jquery.js?ver=1.12.4:2)
 at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
 at Function.ready (jquery.js?ver=1.12.4:2)

I just wanted to see if you guys had some ideas on a fix for this. 

You can see these errors yourself in the web console on the forums page.
https://milwaukee-auto-market.com/forums

Thanks
​
​
 
 
 
 
 
 
 
 
​
JE Justin Erickson
Justin Erickson
Member

Update,

I figured it out. Instead of using the plugins bootstrap I uploaded a better version and disabled the plugins.

I used Twitter Bootstrap CSS v3.3.7

I replaced JQuery library with JQuery from CDNJS

Used Minified CSS/JS libraries

And used Twitter Bootstrap Shortcodes

It worked perfect. Just incase someone else runs into this problem.