Hi

It seems to have worked, in that I got no errors, and a result like your help indicates is successful.

However, when I tried to access the site, I got the error in the title. Attachments show (1) result of run and (2) error.

I tried clearing the cache, rebooting the server, but no good.

I was moving my non-core modules from /modules to /sites/all/modules as I made the big mistake of putting them in the wrong place when I started developing the site a long time ago and never got around to moving them to sites/all/modules.

So was just a folder copy from /modules to /sites/all/modules.

Do I need to do some manual edit to the MySQL DB to let it know about this class or something?

Any thoughts? First time I've tried this! :S

Thanks

Comments

den33775’s picture

Now that's odd.

I thought I'd run the registry rebuilder a second time to check it said 807 files before and after (i.e. rebuilt first time, correctly, and so no changes).

It didn't. It said 807 start and 829 finish. So from pre-first run of 830 files, to post-second run of 829, we lost one file (not sure why). See results for run 2 attached.

And all works again now, after module moves to correct non-core /sites/all/modules. :)

Thanks for the excellent and amazingly time saving php file. Would have taken me ages and ages and ages manually with a couple of hundred iterations of:

UPDATE ddc_registry SET filename = REPLACE(filename, 'modules/', 'sites/all/modules/');
UPDATE ddc_registry_file SET filename = REPLACE(filename, 'modules/', 'sites/all/modules/');

:)

Not sure why took two runs, breaking after first and fixing after second, but seems all right for me now, so I'm happy!

omega8cc’s picture

Status: Active » Closed (works as designed)

Sometimes running it more than once helps, because then all caches have been cleared twice.