After upgrading from 6.2 to 7 I ran update.php and got
DatabaseSchemaObjectExistsException: Table role_permission already exists. in DatabaseSchema->createTable() (line 630 of MySite/public_html/includes/database/schema.inc).
The website encountered an unexpected error. Please try again later.
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ssid' in 'where clause': SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => a69f0d6c547eeb42adad76c477888932 [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 204 of MySite/public_html/includes/session.inc).
Hm .. maybe the database hadn't been finished its update yet?
So I waited for about a quarter of an hour and ran update.php again and got
DatabaseSchemaObjectExistsException: Cannot add index system_list to table system: index already exists. in DatabaseSchema_mysql->addIndex() (line 433 of MySite/public_html/includes/database/mysql/schema.inc).
The website encountered an unexpected error. Please try again later.
I am developing a site that has custom templates for different types of content. What I would like to know is can I check to see which page file is loaded so that I can "drupal_add_css" all the appropriate css files for that template in template.php.
I've been searching through the Modules and, I have something specific in mind to keep my site friendly to an all-ages audience.
But, some of my content is not exactly age appropriate for some of my younger site visitors.
So, I would like to put in place a ratings system, similar to the one used for movies, which replaces "naughty" words with gibberish words or old cartoon-style censorship ($#@*!) but shows the original words if you're old enough.
Are there any modules (or combination of modules) that anyone could recommend?
hi, i've got a question, while developing a new page for my university.
I want to crate a new taxonomy term in an existing taxonomy vocabulary by saving a new entity of a content in D7 with the modules rules (still 7.x-2.0-alpha4) and Token (7.x-1.0-beta1). The Title of the term should be copied from the title of the new entity.
I tried different things:
I tried in rules "add a variable" --> Taxonomy term --> but then. What should be the "Data selector" of the article?
My menu onlye the drops down when I click on the menu item not when I have mouse over it.
It works this way on any themes I choose. (I have the menu placed in primary menu block)
(For the note I use the Blogbuzz theme, but this is the case for any themes)