By codewatson on
Running drupal 5.1, xxamp 2.3, mysql 5, apache 2.2.3.0 php 4.4.4.4
Here's my problem. I have no errors what so ever with anything else, but as soon as i click on the edit link to edit a menu item, apache crashes and the page wont load. I have no idea why this is happening, i'm running the webserver on a computer in my network as a "betasite". This is nothing major but it is confusing as to why this is happening to only the edit function on the menu items.
Any suggestions?
Comments
My situation is identical:
My situation is identical: Apache Crashes with Menu-editing/creating (cant' reproduce it, seeem a random "effect")
Drupal: 5.1
Apache: 1.3.33
PHP: 4.4.4
DB: MySQL 4.1.21-community-nt
Server: Windows2000
-thePanz-
-thePanz-
Mine does it every time you
Mine does it every time you click edit, without fail :(
Can you describe your
Can you describe your system?
-thePanz-
-thePanz-
I have this situation to
I tried different versions of Apache (1.3, 2.0, 2.2) but the problem remains.
PHP 4.4.7
MySQL 4.1
Drupal 5.2
Windows XP SP2
I am not use Activemenu module.
I thought it was the "Node
I thought it was the "Node Words" module, and when I disabled it it worked for awhile (i thought) but I am still having this same issue.
(http://drupal.org/node/117329)
Sorry for the double post.
Ok, so I tried disabling all of my installed modules, and CleanURL's. Same issue.
Server API: CGI
Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Drupal 5.1 installed.
I'm going to check and see if I have access to my Apache error logs but I use a shared host. I'll post whatever I find. (kind of panicking, My menu is way messed up at the moment, heh.)
EDIT:
(also tried removing .htaccess after turning CleanURL's off. no success.)
Temporary Workaround
Oh my, 3 posts in a row, I'm sorry guys.
Ok, I have ruled out as much as possible. I have tried disabling all my mods, undoing all my customizations (back to the original Drupal 5.1 release) tried with and without CleanURL's enabled, with and without .htaccess used, checked all my logs (I can't seem to see any references to the 500 errors, but I think that may be because I'm on one of those shared hosts that don't give you access to all the logs.)
Here is the (hopefully temporary) workaround I am using at the moment. (Just posting for the rest of you that need a quick fix... the menus on my live site were really messed up for way too long.)
Problem:
When trying to Edit a menu item you get an internal 500 server error. Sometimes when attempting to commit a change, sometimes when simply hitting "edit."
Workaround:
Create New Menu Items and delete old ones instead of editing existing ones. The edit button is unusable (500 error) for me at the moment but I have no issues creating New menu items and Deleting old ones.
Side note while I'm thinking about it. I didn't seem to have any problems editing SUB-menus. Only the top level menus seem to have issues. May be luck of the draw though.
Hi, I got the problem
Hi, I got the problem without URL_Aliases nor Node(key)words!
My wordaround consist in do a Browser "Back" while in "Server 500 Error"-Page .. caming back I get my menu added/removed...
I Updated my apache to 1.3.37 and I don't already chech it.. I'll let you know...
-thePanz-
-thePanz-
Same Problem
I have a smiler problem with my site. It comes back with a CGI Error when I try to submit the Edit. Its running a Win Server with PHP4 and It never did this before. I checked with the Host and they say they haven't changed anything.
Anyone got any ideas?
my /admin/build/menu page
my /admin/build/menu page has disappeared. Haven't found a way to trick it back yet.
Activemenu Module was the
Activemenu Module was the source of this problem in my case. Disabling it removed the problem.
Drupal development and themeing, Galway, Ireland
error log
I'm getting a line like this every time it tries to save the menu item. It's happening on multiple sites. I cannot find the combination to get past it.
[Sun Jul 8 12:12:35 2007] [notice] child pid 12431 exit signal Bus error (10)-Douglas
Similar problem
I had a similar problem! When I tried to add a new menu item I got a 500 error. I could edit and save already existing menu items. I deleted the whole menu and created a new menu with the same name and now everything works.
Running drupal 5.1, mysql 5 on a shared host.
At me apache crush not only
At me apache crush not only at editing but also at creation of new menus.
Source of problem located. Probably cause conjectured.
I too was experiencing the same problem both on my (Drupal 5.x) development system (WinXP, Apache 2, PHP 4.4.3) and on my production live server (Linux, Apache 1.3, PHP 4.4.4) so I suspected all along it was a data corruption problem of some sort (as I periodically copy back DB from live to development for on going work).
When it happened again to me today, and after reading these comments, I decided to binary search the source till I found the offending line of code. I already suspected it to be a stack overflow as that seems to be about the only thing that can kill Apache.
Eventually I found that the problem arose when the code called function menu_parent_options in the menu.module. This is a recursive routine so it fitted the symptoms nicely and whenever I called it with the recursion commented out the problem did not arise.
In an attempt to try to find out why it was not coming out of the recursion process, I added a "get out of jail" line of code at the top of the function:
However, as you can see from the comment, after I added this line and was able to get a successful list of possible parent menu items returned to my "add menu item" form, the problem went away. In fact, I could then remove the "get out of jail" line and it still worked.
This leads me to suspect that the problem arises when, for whatever reason, the menu cache is out of whack or something? Perhaps someone who knows more about how Drupal's core menu system works can shed more light on this.
If I discover a reproducible way to get my site into this initial state I will repost here.
I had hoped this would solve
I had hoped this would solve the problem and eventualy it seemed to help indeed. But the problem reoccurred after only one successfull attempt. I've emptied all cache tables but that didn't help either. I'll try to update php, apache and drupal and report here what happened.
i have the same problem
After months of no problems with my site...adding or editing menu suddenly throws me the following error.
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
A "hiccup?"
Same problem
I have just encountered this problem using:
drupal 5.7
xampp 1.6.4
apache 2.2.6
php 4.4.7
mysql 5.0.51
I switched to php 5.2.5 and the problem went away.
Switching between php 4 and php 5 I can reproduce the behaviour consistently so it would appear to be a problem related to php 4.
(I'll be sticking with php 5 so won't be investigating further unless anyone wants more information.)
500 Internal Server Error - Edit Menu
Happend on my web too. Perhaps effect from installing CCK? I have already disable the module but the menu still cannot be edited because the list of my menu BLANKS! or EMPTY! Why? But no page is missing at the moment.
Here are some Status of my web.
Drupal 6.9
Access to update.php Protected
Configuration file Protected
Cron maintenance tasks Last run 14 min 40 sec ago
You can run cron manually.
Database updates Up to date
Drupal core update status Up to date
File system Writable (public download method)
Module and theme update status Up to date
MySQL database 5.0.67
PHP 5.2.8
PHP memory limit 32M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Web server Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
Thank you.
Help needed!