Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a Drupal 7.0 site using SQlite for the database. After I upgraded to 7.4, I received this error:
PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database: DELETE FROM {flood} WHERE (event = :db_condition_placeholder_0) AND (identifier = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => failed_login_attempt_user [:db_condition_placeholder_1] => 1-74.128.149.251 ) in flood_clear_event() (line 1167 of /var/www/html/includes/common.inc).
I am trying to upgrade our community website from 6 to 7 but I am stomped at this error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'venuspri_alsanaty7.blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => 204.15.64.69 ) in drupal_is_denied() (line 1657 of /home1/venuspri/public_html/alsanaty7/includes/bootstrap.inc
I was wondering if I could get some advice. My company needs to make an e-commerce website, with a unique, custom front-end design. Additionally, among other things, there will be a blog, discussing new products. From the blog, the user needs to have the ability to add products to the webcart, without navigating to the webstore (popup div container).
Our website likes to reward users with new permissions for their posts.
After users have submitted 5 posts, the next time they view their posts they are given new role. This role will be called "Super Special Person" and the user will get extra site privileges
You will need 5 Articles all created by the same user to test your new rule. (These can be any type of content you choose articles is simply used for an example)
Create a new role called "Super Special Person"
got to people/permissions/roles > Super Special Person > add role
Create the "My posts" page that will display all the user posts
Create a basic page
Title: My Posts Body: * Empty *
In the URL path settings we will set the path to "my-posts" > save
I want to add some css properties in order to style the tabs (ul.tabs). But unfortunately drupals system.menu.css overrides everything... Is is possible to get rid of all these system files? In my theme, there is just print $head;.
Furthermore, I was wondering if I could rid the HTML tags, drupal adds to a block. Just for instance, in my theme, there is just the following code:
Is there a way to restrict a node reference. For instance I have Jobs and a node reference to Employee. Now what I want to do is keep users from selecting employees with termination dates. I have been really looking but Reference Views is not D7 yet.