Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Add New Topic not working on Topic page but works in Forum page
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2014 - 9:54 pm

Hi,

I have just updated to wp3.8 and the latest SimplePress with all plugin updates.

I have found that the Add New Topic button isn't working when you are in a topic (the one next to the Add Reply button)

However it does work on the forum page where it lists the topics inside. This page oviously doesn't have the add reply.

The button that isn't working takes the user to a page that doesn't load properly. I am using plugin organiser to deactivate all other plugins on this page to try and reduce the opportunity of conflicts. I have also turned most of them off to test before contacting you.

Website http://www.landlordreferencing.....ity-forum/

I'm guessing it's a javascript issue but any advice is appreciated as I'm not sure why it would work on one page but not the other.

Thanks for your help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2014 - 11:54 pm

when you try to open that topic, you server is responding with:

"NetworkError: 500 Internal Server Error - http://www.landlordreferencing.....?new=topic"

500 errors are the hardest to troubleshoot... any more info in the server error log?

are you running mod_security on your server?  or any other security type plugin that might be interferring with query arguments?

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 10:31 am

Thanks for the reply

The log is pretty full. Here's a snippet of the latest entries

Wed Jan 29 15:09:14 2014] [error] [client 90.213.184.137] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.landlordreferencing.co.uk/blog/2013/03/11/re-entry-of-evicted-tenant-to-collect-their-belongings/
[Wed Jan 29 15:09:19 2014] [warn] [client 58.22.70.34] mod_fcgid: stderr: PHP Notice:  Undefined index: forumname
[Wed Jan 29 15:09:32 2014] [warn] [client 172.246.132.188] mod_fcgid: stderr: PHP Warning:  htmlspecialchars(): Invalid multibyte sequence in argument

I am still looking for more will post again shortly if I find anything

 

 

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 10:51 am

Looks like there is quite a lot going on in the logs and I will start to work through them one at a time.

[Wed Jan 29 15:04:58 2014] [warn] [client 223.240.22.188] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-content/plugins/gravityforms/form_display.php on line 430, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/?new=topic

[Wed Jan 29 15:04:58 2014] [warn] [client 223.240.22.188] mod_fcgid: stderr: PHP Fatal error:  Class declarations may not be nested in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-content/plugins/wp-minify/min/lib/Minify/HTML.php on line 19, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/?new=topic

[Wed Jan 29 15:04:58 2014] [warn] [client 223.240.22.188] mod_fcgid: stderr: PHP Fatal error:  Call to a member function get() on a non-object in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-includes/cache.php on line 113, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/?new=topic

[Wed Jan 29 15:04:59 2014] [warn] [client 80.229.38.223] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-includes/class-phpmailer.php on line 2155, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/lrs-launches-landlord-community-watch/

[Wed Jan 29 15:04:59 2014] [warn] [client 80.229.38.223] mod_fcgid: stderr: PHP Fatal error:  Class declarations may not be nested in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-content/plugins/wp-minify/min/lib/Minify/HTML.php on line 19, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/lrs-launches-landlord-community-watch/

I don't understand why the forum page would be refering to the gravity forms plugin, I am looking at that now and I will turn the minify plugin off to rule that out

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 12:26 pm

Update.

After looking at all the plugins today I found that an https plugin was interfering with users posting replies.

It was either Imsanity ot Eww image optomizer - that was stopping the forum toolset

Still having issues with users posting topics when on a topic page but they can post from a forum page. Instead of a blank screen the header now loads and thats it.

I will update if I get any closer.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 29, 2014 - 12:38 pm

Progress is always good!

Yes - please come back and we are here for anything specific we need to address.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 1:59 pm

I'm still having a couple of issues and hoping you can help. These are the three errors I have left that I'm not sure how to resolve.

[Wed Jan 29 18:11:48 2014] [warn] [client 91.207.7.254] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 79 bytes) in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-includes/post.php on line 628, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/?new=topic

This is repeated a few times and happens whenever add new topic button is used within a topic (ie when it's next to the reply button)

[Wed Jan 29 18:13:46 2014] [warn] [client 192.34.108.50] mod_fcgid: stderr: PHP Warning:  htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-content/plugins/simple-press/sp-api/sp-api-filters.php on line 1761

[Wed Jan 29 18:13:47 2014] [warn] [client 192.34.108.50] mod_fcgid: stderr: PHP Warning:  htmlspecialchars(): Invalid multibyte sequence in argument

This one appears several times

[Wed Jan 29 18:14:05 2014] [warn] [client 82.32.136.155] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /var/www/vhosts/landlordreferencing.co.uk/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-plugins/mentions/library/sp-mentions-components.php on line 119, referer: http://www.landlordreferencing.co.uk/discuss/community-forum/tight-landlord/

and this one is also a memory error but refers to the sp-mentions-component.php ?

 

Hope you can help

Kenn

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 2:06 pm

Because I hadn't mentioned, Its a Multisite install php memory limit at 2G.

In wp_config 'WP_MEMORY_LIMIT', '256M'

Yet the memory error is occurring at 64M?

I haven't restarted apache after making these changes, do I need to?

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

You do indeed need to restart Apache as it is that that will restart the php processor. But - even after that you need to check that your php session is getting the extra memory and that will be down to whether your host is allowing it.

You can check this with a phpinfo page or - the forum admin > toolbox > environment tab might tell you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 4:09 pm

Thanks

It is a dedicated server and I have full access so I can work through any suggestions.

I'll restart this evening and check if it's working. Do the log files suggest anything else may need checking or could this just be a memory issue?

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