I have Drupal 4.7 set up for testing in /mysite.com/drupal. However I was getting many error messages (headers sent, error in settings.php ini_set('url_rewriter.tags', '');, and so on.)
I commented out the ini_set('url_rewriter.tags', ''); in setting.php and no longer get these errors.
My questions are:
1. What is ini_set('url_rewriter.tags',''); for.
2. Will it affect my site if I don't enable this setting.
3. Does it have any effect on using clean URL's

Comments

olderguy’s picture

Anyone? If I leave out url_rewriter.tags will it affect my site negatively in any way? or produce problems for the core modules?

Lars Jansen’s picture

Hiya olderguy,

I got a prob with my site after moving servers. I get an error

Warning: ini_set(): Unable to access in /var/www/vhosts/modpc.co.nz/httpdocs/sites/default/settings.php on line 15

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/=======.co.nz/httpdocs/sites/default/settings.php:15) in /var/www/vhosts/=======.co.nz/httpdocs/includes/bootstrap.inc on line 749

but I fixed it by commenting out

ini_set('url_rewriter.tags',        '');

in my settings file. The "headers already sent" error is created by the first error I believe.

I'd also like an answer to your questions 1 and 3. As for #2, try going to your account page and saving an edit. Hashing out the above code gives me an error on that page when I try to save. Other than that I cant see any effects, negative or positve:).I'm just wondering why have you commented out that line? Same reason as me?

Obviously in my case the above fix is a temporary one until I can sort out the bigger problem.

If I find anything I'll post back here.

Update: This is related, http://drupal.org/node/64682