2

I have Drupal 7 with Devel installed running over PHP internal server and MySQL. All user operations work correctly except Admin>People>Cancel Account operation.

This leads to the overlay Add User and a Cancel Accounts button. If I select the option: Delete the account and its content and press Cancel Accounts.

This leaves the overlay(displays the home page of the user)

All I want at this point is to be in the backend Overlay and show the message Changes saved or something similar. When I return to Admin People overlay, the user is still there.

Has anyone experienced a similar problem - and do you have a solution?

Thank You. -Robert.

  • This is not the standard behaviour. What you expect is what usually happens. What's in your logs? And what happens if you try with overlay module disabled? – Mołot Nov 13 '14 at 19:51
  • 1
    Overlay off. JS Update Off. Same result. In fact the redirect is to localhost:8080/drupal/batch?op=start&id=35 so it looks as though the batch process is not operating – Robert Onslow Nov 14 '14 at 13:53
  • 1
    Yes, batch not running. Probably a problem with no progress bar on the browser. Running the batch with drush works. – Robert Onslow Nov 14 '14 at 15:15
  • 3
    Robert, did you have checked the status report and if pecl-progressbar or something similar is installed on your system? If you use process caching or anything like apc it can cause such issues too. Did you have checked thru' my list in the other post ? – diqidoq Nov 14 '14 at 15:18
  • Yes Diqi. Checked through your really helpful list. Think it may be progress bar related. How do I disable/subsitute this? – Robert Onslow Nov 14 '14 at 15:52
0

I can confirm your suggestion what it actually should be like and that actually exactly that should happen what you expect. After canceling an account you will be provided with further steps about the users written content etc. and finally you will become a progress bar showing the deletion or re-assigning of the written content of this user and the final confirmation about the success of it all.

The misbehaviour what you describe can be caused by several issues I only can list here for your research:

  • there is a mod_rewrite issue sometimes if the server is not set up correctly but this would actually also come up by many other tasks

  • is your admin account clean and has never been modified? The user 0 is something special in Drupal world and can sometimes be corrupted by some changes on it

  • you mentioned a local installation. Does has your DB user which is connected to the DB management of your Drupal installation, the right to DELETE in the mysql database?

  • and as mentioned by Molot also the redirecting via overlay or any other modal frameworks and jquery can be the issue, often fixed by using jquery_update module and playing around with jquery versions in the settings of the module.

  • Also, any PHP cache or similar can cause freezing batch processes or overwrite the use of pecl progressbar (default in Drupal)

  • Did you tried different users or only one? Or is this user you try to delete a spam account? They also can cause issues since they are not really registered but somehow signed up. This would be another story ...

Sorry, just some ideas...

  • 3
    Well, to answer my own last question: in your case spam accounts won't be the problem since your installation is local ... – diqidoq Nov 14 '14 at 15:15
  • It may be a problem with PECL UploadProgressBar, if that is default, because I see that this module only works with Apache: drupal.org/node/793264 – Robert Onslow Nov 14 '14 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.