By sarcasticboy on
Hi all -
my site went down sometime in the last 24 hours.. the problem seems related to clean URLs; i.e. I can navigate via ?q= syntax just fine.. currently login is broken so I cannot even get in to look at stuff..
question - how do I turn off clean urls manually? I set clean_url_ok="i:0;" in the variable table using a DB tool, but that does not seem to have any effect - any other ideas?
thanks!
Comments
This happened to me about a
This happened to me about a year ago. i wish I could remember why!
I'll keep racking my brains and see what I can come up with. In the meantime, it might be worth continuing to look thru the forums, as I remember that a few other people had clearly come across this.
php.ini
This could be related with php.ini settings and particulary with the max amount of memory allowed. If u got 8 or 16M as max value try to use a bigger value or try to disable some module.
site fixed and running
Thought I would post how this turned out..
a quick scan of the system.module and common.inc files strongly suggested that manually clearing (or deleting) the clean_url_ok variable in the variable table SHOULD have turned off clean-urls.. I tried replacing the .htaccess file and truncating the session and cache tables as well, but this never ended up working.. the temporary solution was to hack common.inc to remove the check for clean_url_ok and just always build the long url - this worked fine.
The ultimate solution turned out to be just upgrading the site to the 4.6.10 release (I should have pointed out the version in my original post, I suppose).. not sure at this point why the failure - my development site ran fine the whole time, so modRewrite must not have been the culprit.. who knows?
anyways, thanks for the suggestions and, happily, things are back in order.
...
Often the site cache can hold out dated info that can mess up your site so that may have been it and updating the code base probably clear the cache.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide