Support Forum

Does site need to be live for the Simple Press buttons to work

MB Mark Browning
Mark Browning
Member

My new site is still not live. When I click on the Add Topic button, nothing happens, not even a page refresh. Does the site need to be live for me to begin adding topics? Or is there another issue?

80 Answers

New Answer

BR Brandon
Brandon
Member

I don’t know what you mean by live but we test SP on local servers and various test environments. As long as they are setup correctly you should not have any problems.

I would look for conflicts in js and any WP plugins or themes. You can deactivate them and see if afterwards if it work.

MB Mark Browning
Mark Browning
Member

Thanks Brandon. After deactivating each plug-in, I discovered it was WooCommerce plug-in that was causing the conflict with the Add Comment button in Simple Press. WooCommerce and Simple Press are essential to my site. What can I do to resolve this conflict?

By “live”, I mean the site is not yet published to the web. It is in a maintenance mode until the site is running smoothly.

Any help with the above will be much appreciated.– Mark

 

MP Mr Papa
Mr Papa
Member

No, a live site is not required for it to be functional…

odd, we have a fair number of people using woo commerce and simple press together…

start with them both on and with the browser console open, see what if any errors or problems are reported when you click on the add topic button…

check woo commerce options for js loading…

MB Mark Browning
Mark Browning
Member

Okay, I went ahead and clicked on the add topic button while console was open. As far as I could see, nothing happened. Here is the text from the console:

SCRIPT5007: Object expected

 

fade.js, line 1 character 1

SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.

barn-owls-their-biology-habits-and-their-use-in-natural-rodent-control-programs

HTML1514: Extra “<body>” tag found. Only one “<body>” tag should exist per document.

barn-owls-their-biology-habits-and-their-use-in-natural-rodent-control-programs, line 535 character 3

HTML1506: Unexpected token.

barn-owls-their-biology-habits-and-their-use-in-natural-rodent-control-programs, line 632 character 2

[cycle] terminating; zero elements found by selector

SCRIPT5007: Unable to get property ‘msie’ of undefined or null reference

 

I also looked in woocommerce settings, general, and found only an unchecked box for enabling Woocommerce CSS but no references to JS.

As soon as I deactivate WC, my add a topic buttons work fine.

Mark

 

 

 

jquery.prettyPhoto.js, line 47 character 1166

MP Mr Papa
Mr Papa
Member

odd messages..  you do really need to figure why two body tags – that could be big deal though not sure related to this..

where is the woocommerce js loaded?  and simple press?  try moving ours to header or footer (opposite of what it is now)…

MB Mark Browning
Mark Browning
Member

You are way beyond me here. I am no developer, not versed in CSS, and basically look at a site as is, not behind it, but am on a steep learning curve to get this site live. I have no idea how to begin to determine where the WC JS is loaded. Nor how to reverse it. Nor do I understand the jargon regarding two body tags (other than in a murder mystery). Hopefully you can walk me through how to determine the answers to your questions.

BR Brandon
Brandon
Member

In the Forum Admin – Integration – Page and Permalink you will see an option to load js in the footer. Try setting it to the opposite that you have it now.

I would also try a default WP theme with both the plugins activated and see if that makes a difference. It also appears you are using IE9 (Just a guess) if so try Firefox or Chrome to see if it makes a difference.

MB Mark Browning
Mark Browning
Member

Thanks. I did change the JS by checking that it go in the footer. Did not make a difference.

I am having log in issues which I have figured out in IE but have not been able to get Firefox to load the site. I will keep trying.

The current theme has been tweaked a great deal–and of course it is crucial in terms of my branding, so using a default would not work–unless what you mean is for diagnostic purposes. Not knowing what I am doing makes me fear that I would lose all the changes to the current theme. Minibuzz is the current theme.

However, there are some other indications that all is not right with Simple Press–I have attached a screen shot of the issue. For instance, when you choose a forum, the title of that forum appears in large gray letters and does not adhere to the layout. Also, notice the word “test” in the header. Not sure what is causing these issues, but perhaps it is related to the Add a Topic button not working.

MP Mr Papa
Mr Papa
Member

yes, Brandon meant for diagnostic purposes.. trying to isolate what might be going on in your local situation..

MB Mark Browning
Mark Browning
Member

Hmm. Okay. So there is a way for me to simply switch between default theme and our current design without losing any design elements?

MP Mr Papa
Mr Papa
Member

for 99% of the themes, you can do that… but a poorly coded theme might have a problem…  but frankly, I do it all the time and so do other users troubleshooting problems…  certainly theme options and configurations are safe , but how wdigets are coded would be the only concern…  you could also take a db backup if worried about it before the switch – then you can certainly get back… but again, 99% safe… ;)

MB Mark Browning
Mark Browning
Member

Okay, I was able to open up the site in Firefox–the Add a Comment button still does not work so it is not a browser issue. I spoke to my WordPress developers and they were somewhat reluctant to try going back to a default theme as a diagnostic move. Is there any other way to diagnose the issue? thanks again.

MP Mr Papa
Mr Papa
Member

well, need to narrow down the conflict…

you could try disabling all your other plugins too… and see if any impact…

also, I dont see a link to your site in thread?  can you give us one to look for obvious conflicts along lines of:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

MB Mark Browning
Mark Browning
Member

Are you talking about doing what the following instructions indicate? If so do you want me to copy and paste into a reply?

“How can I tell where my jQuery libraries are being sourced from?

Open up your website and load a page. A Simple:Press page is a good test. Somewhere in your browser menus will be a command to ‘View Source’. Load the source code. This is the HTML and script that is generated on your server and is the code behind the page you have just loaded.

Using the search function – which may be different all in all browsers – search for ‘jquery’ or just for ‘.js’. Then examine each entry.

If it is being loaded from WordPress the main library will have the file name of ‘jquery.js?ver=X.X.X‘ where the X’s refer to the version. For example – WordPress version 3.3.1 loads up ‘jquery.js?ver=1.7.1‘ for the main library and ‘jquery.ui.core.min.js?ver=1.8.16‘ for the UI library. “

If not, let me know what you need me to do. Happy to supply you with whatever you need.