AustinMatherne Posted July 17, 2008 Share Posted July 17, 2008 Hi, I don't know all that much about PHP, my knowledge is mostly limited to HTML/CSS. I'm using phpBB (3.0.2), and I am unable to edit more then six forums at a time, when selecting Groups or Users forum permissions. If I select more then six forums and then select "mark all", when I click the "Apply permissions" or "Apply all permissions" button I get an error saying "The submitted form was invalid. Try submitting again.". First, I want to say I've already tried to get help from phpBB, and from my hosting provider. You can view the topic I started in the phpBB forums here. I was told by a member of the Development Team for phpBB that Your server is configured to only use a limited number of POST parameters. That's either a PHP (Suhosin) or httpd setting. So I contacted my hosting provider and they told me Dear Customer, If you need to modify any php settings in local php.ini file. To use it you should just create a php.ini file under a folder with your PHP scripts with the necessary PHP settings. For example, if you need to change the upload_max_filesize or register_globals for one of your scripts under your public_html, you should create a php.ini file under the folder with the following content: upload_max_filesize = 8M register_globals = On What nobody seems to be able to tell me is what I need to put in the php.ini file to fix this. I figured, I would get more help at a dedicated PHP forum, so here I am. Any help is appreciated, ~ Austin Link to comment https://forums.phpfreaks.com/topic/115299-newbie-needs-help-with-phpini/ Share on other sites More sharing options...
dubc07 Posted July 17, 2008 Share Posted July 17, 2008 Try to uninstall and reinstall the aplication. make sure proper file are set to chmod 777 or 666. Link to comment https://forums.phpfreaks.com/topic/115299-newbie-needs-help-with-phpini/#findComment-592765 Share on other sites More sharing options...
AustinMatherne Posted July 17, 2008 Author Share Posted July 17, 2008 Already done both multiple times. Thanks. ~ Ausitn Link to comment https://forums.phpfreaks.com/topic/115299-newbie-needs-help-with-phpini/#findComment-592804 Share on other sites More sharing options...
compguru910 Posted July 17, 2008 Share Posted July 17, 2008 I dont know what the exact line in the php.ini file is that restricts that as I have never had that problem, but you want to add to the header of the page that your trying to do that on (this means before and HTML is printed) set_ini(0,0); Replace the 0's with whatever settings need to be changed. And remember, the set_ini has to be called before any other code except for PHP. Always do at the top of your page. I believe the code that you would want to change is post_max_size so the code would be set_ini('post_max_size','24M'); That should fix your problem Link to comment https://forums.phpfreaks.com/topic/115299-newbie-needs-help-with-phpini/#findComment-592816 Share on other sites More sharing options...
AustinMatherne Posted July 17, 2008 Author Share Posted July 17, 2008 Thank you!!! I placed a php.ini file in /phpBB/adm/ with [code=php:0] post_max_size = 24M Works perfectly now! Thanks for everything, ~ Austin Link to comment https://forums.phpfreaks.com/topic/115299-newbie-needs-help-with-phpini/#findComment-592833 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.