By tsservo on
I searched the forums for this but I can't seem to find a solution.
I have a brand new install of 4.6.2 and any time that I update something in the administration section, "The configuration options have been saved" repeats itself and sticks on every page I go to afterwards. If I update something else I will now have it repeated twice. And a third. And so on until I logout and log back in. Quite annoying.
I've uninstalled all my modules, turned cacheing on and off, but can not seem to fix this...
Comments
drupal_get_messages()
It sounds like drupal_set_message() in bootstrap.inc works, but drupal_get_messages() isn't clearing the $_SESSION['messages'] variable. I'm guess that this is related to your PHP.ini settings, but I'm sorry I can't be more specific. I haven't seen this problem before.
"The configuration options have been saved" repeating
The same occurs in my installation. I'm running Drupal 4.6.2 on windows XP + apache 2.0.54 and PHP 5.0.4.
The only way to remove the annoying messages repetition is to put
register_globals 1in .htaccess file. See also http://drupal.org/node/24807.It's not clear to me wether Drupal should be running with register_globals On or Off: the documentation say it should be Off, as is the .htaccess file shipped with Drupal.
To remove the messages, i will temporarily skip to register_globals = Off.
no luck
Max, I also have this issue with a fresh 4.6.2 installation. Changing "php_value register_globals" to "1" didn't fix the problem.
Please help.
-- NO, don't read this signature!
turning on register_globals *does* work
lest anyone be mislead. turning register globals on will prevent this bug from appearing.
you need to set:
in your /etc/php.ini file and then restart apache.
the repeated messages will go away.
whether or not you want to run with register_globals on is another matter. it's generally not a good idea to use register_globals.
the correct solution is for the author of the bootstrap module to fix the bug.
in a perfect world, developers would use default php and apache settings.
if a module requires modification of these settings it would be documented along with the module (and the module wouldn't ship with the core package).
but, surprise, it's an imperfect world.
--
Devbee - http://devbee.net/
i see this issue in 4.5.3 -
i see this issue in 4.5.3 - register_globals On is set for me.
Perhaps we've overlooked something... I'll keep looking.
Any news on this? Very
Any news on this? Very annoying....
currently fixed in CVS
it should be fixed in the upcoming 4.7 if someone doesn't re-break it.
meanwhile, i'd comment that section out of whatever template your site uses so that it's always hidden.
--
Living in fear of patch hell?
Want a stable development environment?
Support Dev Releases: http://drupal.org/node/30903
Support Code cleanup too: http://drupal.org/node/28540
--
Devbee - http://devbee.net/
my register_globals has been
my register_globals has been turned on for years, and it still don't
make your solution work. this is a snippet of my php.ini:
mind you - everyone isn't running the latest php or apache.
my specs are:
PHP Version 4.1.2
Apache/1.3.26
but drupal 4.6.3 works flawlessly with my setup, all except
the repeated admin comments...
so yeah i tried this modification out and NOW it works, well
it doesnt display ANY comments... but i dont care, it's less
annoying then seeing 100s of comments....:
Lines 632-638 from ../includes/bootstrap.inc:
i added the $_SESSION['messages'] = ""; line...
hopefully this doesnt break the comment or content system...
thank you
fixed - the right way!ok i
fixed - the right way!
ok i know i'm replying on my own post, but i need to rectify
something here.... whilest the solution i provided above works,
it's not the right way to go about this...
instead, edit your .htaccess file and change:
php_value register_globals from 0 to 1
and dont forget to restart yer apache, the way i do it is:
sudo apachectl graceful
...using debian linux. thats it! and it works!
Errata
Sorry, I made a mistake in my post: I really meant "I will temporarily skip to register_globals = On" in my last sentence :-(
fix
http://drupal.org/node/33880
Qube.
This is such an old post to
This is such an old post to be brining up, but Im having the exact same problem with drupal 6.13. It just started happeneing and turning register globals on I dont think is an option anymore.
If anyone has any idea bout this very annoying problem, please help!!
- Riki
well I tracked it down to the
well I tracked it down to the administration menu module, grrrr.
Absolute genius mate
After 2 days of fighting with this bug the administration menu indeed was the one causing the problem. Thanks Riki.
That was really really helpful
why it also affected user with no admin menu permission
Thanks for your findings. I would appreciate it if you can tell me how to resolve it.
btw, why it also affected user with no admin menu permission ?
many thx riki
issue => drupal_set_message / drupal_get_message interference
refer #711076: drupal_set_message / drupal_get_message interference
The configuration options have been saved repeating
I see the above issue has been closed. I am having this issue and have found that turning off the admin menu does seem to fix my problem. too bad, it was/is a time saver. Since the issue with admin menu is closed, where do I go from here?
I have drupal 6.22 and admin menu 6.x.1.8
thanks.
same as using 6.15
I got this problem as well with Drupal 6.15 and in xampp in Windows.
subscribe
subscribe
subscribe
subscribe