Sqlite database error after 7.0 to 7.4 update

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).

Drupal 7 upgrade from 6 failed with PDO exception error

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

How can we fix this?

Rony P.

Drupal Capabilities - ecommerce with completely custom front-end

Hello,

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).

Tutorial: reward content contributors with permissions

Example use case

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

  1. Download and enable Rules & Rules Bonus Pack & Views on you Drupal 7 installation
  2. 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)
  3. Create a new role called "Super Special Person"
    1. got to people/permissions/roles > Super Special Person > add role
  4. Create the "My posts" page that will display all the user posts
    Create a basic page
    1. Title: My Posts Body: * Empty *
    2. In the URL path settings we will set the path to "my-posts" > save

Create the view

How to get rid of system css files and markup?

Hi,

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:

  <header>
    <div id="main-navigation">
      <nav>
        <?php print render($page['navigation']); ?>
      </nav>
     (...)

But eventually drupal renders the following:

D7 Node Reference Restriction

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.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x