Hello,
I can no longer access my site. Here's exactly what happened. I was adding some modules. However (user error) I accidentally added the "Drupal 6.19" folder to the modules folder as well. That's when it blew up.
Here's some more errors:
Fatal error: Call to undefined function user_access() in xxxx/drup/sites/all/modules/ckeditor/ckeditor.module on line 111
I now get a gammut of errors and cannot access my site, let alone even find out what version of Drupal I was running originally. The Changelog.txt file does not tell me what version I was running only about updates to the version.
I might need to turn off all my modules? I cannot find the user module in the "systems" portion of my database.
What can I do!?
Comments
More information...
Ok, on further examination all the core modules are no longer listed in the "system" of my database. How do I put them back? So I cant even turn the user module back on cause its no longer even there.
remove Drupal 6.19
Would removing the Drupal 6.19 folder from the modules folder not help you?
You could then put the contents of that folder into your root folder and run the update script.
Don't take my advice as gospel, but that's what I would have done.
============
Drupal Core Maintainer for "Out of the Box" Initiative.
I wish it was that easy
I wish it was that easy. Thanks for responding. Any and all help is much appreciated, i want to cry.
If you accidentally dump the drupal 6.19 folder into your modules folder the system table in the database updates to the new locations. There is a fix for that here: See here http://drupal.org/node/332619
Unfortunately, I found the fix after I had done the following:
1. Went phpmyadmin to my database > system > deleted the core module entries that referenced the bad path for the core modules (i.e the Drupal 6.1 upgrade folder plunked into my modules folder).
2. Still getting the error. Decided well, i was about to upgrade anyway. So I backed up all my important custom stuff. Deleted all the old drupal files, and FTP'd up the new Drupal 6.19 folder contents.
3. Bad news, same error still appearing. Nothing had changed at all. Still getting the error:
Fatal error: Call to undefined function user_access() in public_html/mysite/includes/menu.inc on line 449
4. Now im stuck and can't solve the problem. update.php is not working. Ive done all the permissions changing, false to true and back again, its very frustrating. I need a way to un-hose my system table. I want to do a reinstall, but I can't do that either!
Nasty. It sounds like you
Nasty.
It sounds like you didn't do a backup of the site. Ouch. Definitely worth doing every time you do anything of any substance to your installation. Doesn't help much right now though.
Is it a dev site that isn't too big? If so then I'd just do a fresh install and redo all the drupal modules/settings etc. then rip out the node data etc.
Best of luck.
That's exactly the only way
That's exactly the only way we found (I had some serious Drupal muscle helping me) to resolve the issue. Something having to do with (as much as I could follow) and install of Drupal 6.19 into another area on my server, pulling out the tables I needed and something to do with bootstrapping. All in all Drupal is indeed very durable and total downtime was 12hrs, not bad since most of that time was just me trying to resolve the issue. It took my Drupal muscle helping me about 2hours to figure out how to fix the issue and 2hrs to fix it.
I've still got some hiccups i.e my posting here: http://drupal.org/node/968024. Otherwise my site is back and all the content is there and thats a good thing.
Glad
Glad it's working again. (Glad you didn't follow my advice either!)
============
Drupal Core Maintainer for "Out of the Box" Initiative.