HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Painfully slooooowww website

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#55566 (In Topic #12085)
Avatar

Community saint

I am using 4.2.1 and when I first installed and upgraded my site ran nice and fast but now it has slowed down. When I try to change the site option to use Gzipped output (or any other option) it does not work. It says it was successful but when you go and look it has not been changed?
Back to the top
 
Posted
Rating:
#55569
Avatar

This has happened before with someone and the cause was the PHP Suhosin extension, cutting off the fields submitted in long forms. Probably the cache fields ended up getting cut off and thus considered as unticked, and then other changes made appear not to save also.

You need this in your .htaccess:

Code

php_value suhosin.post.max_vars "2000"
php_value suhosin.request.max_vars "2000"


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#55596
Avatar

Community saint

Thanks for the reply Chris.

I messed up to start with. Went into cPanel file manager and didn't see my htaccess (forgot to check show hidden files). Renamed plain.htaccess to .htaccess and tried to add it. Got a server error and then realized what I had done. Copied the .htacces from my other site and edited the site name in it. Anywhere I try to add the code you gave me I get a server error.

Here is what my .htaccess looks like right now

Code

RewriteEngine on

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 202.131.30.149
deny from 124.
deny from 61.
deny from 202.
deny from 91.214.45.89
RewriteCond %{HTTP_HOST} ^www.hireowneroperators.com$
RewriteRule ^/?$ "http\:\/\/hireowneroperators\.com" [R=301,L]
Back to the top
 
Posted
Rating:
#55597
Avatar

Community saint

I should add that round about the same time it slowed down is after I imported my simple machines forum. I don't know if that has anything to do with it or not….
Back to the top
 
Posted
Rating:
#55598
Avatar

Community saint

I dunno why lol but my site is running fast again and I didn't fix it. It still does not work (or appears not to) when I change site configuration options.
Back to the top
 
Posted
Rating:
#55599
Avatar

Community saint

I wonder if recommended.htaccess would have been better to change. That has a lot of the stuff I needed. That might have the above code in it too. Cannot remember off hand.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#55611
Avatar

Community saint

....I dunno. Do I just rename recommend.htacces to .htacces to use it or?
Back to the top
 
Posted
Rating:
#55612
Avatar

Community saint

That is what I did. I deleted the original one and renamed the recommended one.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#55616
Avatar

If the code I gave ended up giving an error you will need to look into making php.ini files as described in the FAQ.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#55648
Avatar

Community saint

All fixed up! Site is running fast, using short url's and no errors. Thanks guys!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: