Undefined offset: 0 in eval()

Hi

I putting some code into Drupal in a block as php

when I run the code in Drupal I get the following error (about 160 errors of a similar wording but the offset value alternates between 10 and 54)

Notice: Undefined offset: 0 in eval() (line 84 of /Library/WebServer/Documents/Mysite/modules/php/php.module(75) : eval()'d code).

If I run the code out side of drupal I dont get any errors.

I've tracked it down to a for statement
$j is set elswhere
and the $rules[] contain numbers

Having issues in reading parameters from query string

$request = $_GET['url'];
echo $request;

Text Format : PHP Code.

when i save the page itself, i am getting following error. Please help.

error
Notice: Undefined index: url in eval() (line 2 of C:\Documents and Settings\subramanian\Sites\acquia-drupal\modules\php\php.module(74) : eval()'d code).
Notice: Undefined index: url in eval() (line 2 of C:\Documents and Settings\subramanian\Sites\acquia-drupal\modules\php\php.module(74) : eval()'d code).

Unable to delete previously uploaded images

I am unable to delete any image that has already been uploaded. If I use the "Remove" button, the image seems to be deleted and "node has been updated" message appears. But after the reload my picture is back like it has never been removed. It's impossible to save page after picture removal, I get the "content on this page has either been modified by another user, or you have already submitted modifications using this form" error.

'method' => 'replace' can not work in ajax form

this is my code,at the first time it can work,then resubmit the data can't refresh,the same as before.but if change the method to append,it work fine. so how to fix that in replace method?

thank you very much!

drupal 7 + sqlite

Hello

I try to install drupal 7 and sqlite. I got the following error:

Fatal error: Maximum execution time of 240 seconds exceeded in /usr/local/htdocs/drupal/includes/database/database.inc on line 796

Fatal error: Maximum execution time of 240 seconds exceeded in /usr/local/htdocs/drupal/includes/database/prefetch.inc on line 168

Fatal error: Maximum execution time of 240 seconds exceeded in Unknown on line 0

Categories and Types of Post list

I am looking at various types of CMS' and am wondering if Drupal can do the following:

Have 4 main categories and within those 4 categories there are different Types of Post.

For example, categories could be Fruit, Vegetable and Meat and within those categories the Types of Post could be Soup, Baked, Grilled. Types of Post can fall under more than 1 category. So if I posted chicken and mushroom soup in the Soup post type, it will fall under the Meat and Vegetable category.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x