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
Forums not showing correctly, limit exceeded
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 7, 2014 - 1:02 pm

Some of my forums are not showing correctly, so I checked the error log and found this:

March 7, 20145:45 pm | spaErrWarning | 20 | php

file: /simple-press/admin/panel-forums/support/spa-forums-save.php
line: 919
function: parse_str
Warning | parse_str(): Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

Guess this is the problem..Can you give me the proper code to increase the number of forums?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 7, 2014 - 3:42 pm

Gosh you must have a lot of forums. Do beware that things may start to slow down a bit if there are a really big number.

The value you need to change is - as the message states - in your php.ini file. This will be on your server and to increase it you may need to refer the question to your host and ask them to do it for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2014 - 5:29 pm

Yea I do have a lot of forums, about 1100 ;)

My host increased the value of forums to 2000 and the forums that did not show before, they now shows. But!

For some reason, all the Sub-Forums (15) from the top forum has been ripped out and spread all over the forum randomly. When I now click on the "Order Groups And Forums" button, the square just keeps on loading, not getting anywhere. However, if I then click on "Manage Groups And Forums" (which loads perfectly) and wait 1min., then suddenly "Order Groups And Forums" shows, in a messed up order and with missing forums.

I do not have any other errors in my error log. Could the problem be related to the one in this thread perhaps? https://simple-press.com/suppo.....ng/page-2/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2014 - 9:15 pm

it could be...  the old forum ordering logic had some issues and messed up some configurations and was a general pain to use...  in our last version, we updated the forum ordering to a drag and drop type interface... we tried to handle some messed up orderings, but unfortunately, since the release have come across some more that are not handled properly...  we have beefed up the error handling in the ordering in the next release... unfortunately, its not due until around april 12 when wp 3.9 releases since they have made numerous changes that have locked us into that release...

until that release, you can correct the ordering in your db with phpmyadmin... if you are not comfortable with that tool, going to speak for Andy here since he has done this for one or two other users, but if you can export you sfforums table and attach to a pm to yellow swordfish with a list of the desired forum order, he can fix it up for you...  I dont know Andy's schedule, so this may take him a couple days..

Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2014 - 6:49 pm

The new release made me able to access "Order Groups And Forums" once again and I can almost move all the forums as I please.

As described in #3, all the Sub-Forums (15) from my top forum had been spread randomly in a different group and this is sadly still the case. I am unable to move these and there are no errors in the error log.

I will send an email to Andy with the sfforums and the desired forum order. But I really hope you can figure out what is causing this, as I will be using this tool quite a lot.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 18, 2014 - 5:23 am

Basically your problem is 1100 forums! Let's be honest - with the average forum that we see probably consisting of something between 8 and 18 an implementation trying to handle 1100 is not good news. Just making it possible for your web server to handle all of those post variables is a problem in itself. And this has nothing to do with WordPress or Simple:Press - this is just standard limitations on server resources.

Other reports we are getting from the odd user who also had a problem with the previous ordering are telling us that all the problems are now resolved. At least so far. This is the first to suggest there are remaining issues but I really do think the issue here is that in reality things are just probably stopping processing die to the sheer bulk.

I can take a look at repairing those particular forum pointers although not sure when as yet. However - I have no ideas what is in the MS Word document you sent to me. I do not use Word and do not seem to have anything installed here that can open it. The SQL dump is good bit for that number of forums I am going to need the sfgroup table as well as it would take me far too long to sit here recreating all the groups one at a time.

andy-signature.png
YELLOW
SWORDFISH
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2014 - 8:40 am

I get what you are saying, it is indeed a lot of forums. But I am not looking for just an "average forum" and as far as I know, Mr. Papa has pointed out several times in other threads that the number of forums shouldn't matter...If upgrading the web server or whatever would solve this problem, I would do it straight away.

Really love Simple:Press, but this is sadly a killer and it's such a shame! I will send you the sfgroup table, but setting up the forum in the desired order for me just ain't gonna do it in the end, as I might be adding more and for sure will have to move someconfused

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 18, 2014 - 9:29 am

But you still seem to remain under the notion that this is a Simple:Press restriction or problem. It isn't. It is a resource problem. You quite possibly need more php RAM allocated. You have already had to up the post vars allowed once and will probably need to do so again. You may also need to allow for a larger time-out value than is commonly set. To name just three issues associated with a vast updating of data.

By the way - did you notice that on the 'Manage Groups and Forums' panel you can also order the forums within a specific Group?

andy-signature.png
YELLOW
SWORDFISH
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2014 - 12:31 pm

I see...Umm yea, the Order Groups and Forums function is pretty easy to usesmile

Well, I have been experimenting a bit. Tried to delete the affected forum and the sub-forums, and then created them again. That solved the problem, I can now move all forums as I please and new forums will not automatically end up in another group.

But I'm facing another problem. When creating a new forum, all sub-forums will be messed up in "Order Groups and Forums". Would you still suggest to increase the php RAM and change the time-out value with this info, or do you have other suggestions?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 18, 2014 - 12:35 pm

Can you explain what you mean by: 'When creating a new forum, all sub-forums will be messed up...'

How are they 'messed up'?

andy-signature.png
YELLOW
SWORDFISH
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