Re-Creating Deleted Tables

My Drupal site has been up and running for about 4 years now on D6. I've regularly been updating the modules every month or so. Recently, I found that I could not log into the site. It gave the following error:

Warning: Table 'database.permission' doesn't exist query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN (1) in .../includes/database.mysqli.inc on line 169

I logged into the mySQL DB via phpmyAdmin to find that the entire permission table have been deleted completely. Not sure how it happened. Don't think my DB has been hacked as the password is quite long and difficult to brute force hack.

I foolishly tried upgrading the site to 6.28, hoping that that might somehow fix the broken tables. Unfortunately, now I have the same error as above, with the addition of another one stating that the sessions tables are also missing. phpMyAdmin confirms this.

What I've tried so far:

1. I first made a backup of my site and DB in its current state. Unfortunately, I never installed 'Backup and Migrate' so I don't have any DB backups form before.

2. I tried exporting the access and sessions tables from another D6 site and importing them in, hoping that would fix it. Now the site works ok for visitors, but the moment anyone tries to log in, I get the following error:

SEO for Drupal - Complete Guide

I just finished writing a Guide on SEO for Drupal and thought to share with the community http://www.inboundio.com/blog/complete-guide-on-seo-for-drupal/

I am still working on it and writing more content to extend the post. If you have any suggestions/remarks, please do tell me and I will add that too

Thanks

D6: Filtering out View return by value in a cck field

I have four Views, each of which display a range of different sized products.

I am trying to filter out my view so that I can show an exact product.

Example:
ViewA-G returns products a,b,c,d,e,f and g.

I want to be able to use that established view but only return, say "d".

I will make new Pages with a View as the content and want to pass the argument in the Pane "Arguments" field.

Panel/Page variant not showing after transfer to local

I dumped the db from a dev site, moved over all files, theme, etc. and changed the settings.php file on my local machine. Most files work fine but the page content-type pages are not coming up. The templates aren't even being called. When I use Themer devel, nothing shows up red so that seems weird.

Also, when I view the pages, click on the "content" I can see the content and edit it, but when I click on "Preview" to get a preview of what the variant will look like, nothing shows.

Visiting the page doesn't show either.

after upgrade of CKeditor, Create Content--> 'Page' missing

We are on Drupal core 6.2 (yes I know need to upgrade) and upgraded CKEditor to 6.x-1.14 (with the 4.1 base). Now the ability to create a new "Page" has disappeared and all of the old Pages are showing the "Type" as blank when viewing the list of published/unpublished items. Some screen shots here to help visualize:
http://www.caenyc.org/images/no-page.png
http://www.caenyc.org/images/blank-type.png

Views - Fields | Menu Settings, menu module exposure | hook_views_data

"Menu Settings" are not available for exposure in views - fields.

Am I correct in thinking that I need to apply hook_views_data to the menu module (I assume this is the correct methodology?)

In order to accomplish this I need to follow the instructions for adding hook_views_data to the menu module?

menu_links is the table in mysql containing the data I need to expose.

I am trying to migrate a public library D6 installation to D7.
I am migrating the content of the site using views data export and XML.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x