DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
Fix for Code
View
Fix
September 7, 2010 - 11:32am —
seanr
[ngpadmin@ewhserver393 html]$ php index.php
PHP Notice: Undefined index: REMOTE_ADDR in /var/www/html/drupal7.com/html/inc
ludes/bootstrap.inc on line 2535
Notice: Undefined index: REMOTE_ADDR in /var/www/html/drupal7.com/html/includes
/bootstrap.inc on line 2535
PHP Notice: Trying to get property of non-object in /var/www/html/drupal7.com/h
tml/modules/dblog/dblog.module on line 132
Notice: Trying to get property of non-object in /var/www/html/drupal7.com/html/m
odules/dblog/dblog.module on line 132
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column '
;uid' cannot be null: INSERT INTO {watchdog} (uid, type, message, variables
, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_pla
ceholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_place
holder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeho
lder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placehold
er_9); Array
(
[:db_insert_placeholder_0] =>
[:db_insert_placeholder_1] => php
[:db_insert_placeholder_2] => %type: %message in %function (line %line of %f
ile).
[:db_insert_placeholder_3] => a:6:{s:5:"%type";s:6:"Notice";s:8:"%message";s
:29:"Undefined index: REMOTE_ADDR";s:9:"%function";s:12:"ip_address()";s:5:"%fi
le";s:53:"/var/www/html/drupal7.com/html/includes/bootstrap.inc";s:5:"%line";i:2
535;s:14:"severity_level";i:5;}
[:db_insert_placeholder_4] => 5
[:db_insert_placeholder_5] =>
[:db_insert_placeholder_6] => http:///index.php?index.php
[:db_insert_placeholder_7] =>
[:db_insert_placeholder_8] =>
[:db_insert_placeholder_9] => 1283873335
)
in dblog_watchdog() (line 143 of /var/www/html/drupal7.com/html/modules/dblog/d
blog.module).
Submit Fix
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Show summary in full view
[ngpadmin@ewhserver393 html]$ php index.php PHP Notice: Undefined index: REMOTE_ADDR in /var/www/html/drupal7.com/html/inc ludes/bootstrap.inc on line 2535 Notice: Undefined index: REMOTE_ADDR in /var/www/html/drupal7.com/html/includes /bootstrap.inc on line 2535 PHP Notice: Trying to get property of non-object in /var/www/html/drupal7.com/h tml/modules/dblog/dblog.module on line 132 Notice: Trying to get property of non-object in /var/www/html/drupal7.com/html/m odules/dblog/dblog.module on line 132 PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ' ;uid' cannot be null: INSERT INTO {watchdog} (uid, type, message, variables , severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_pla ceholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_place holder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeho lder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placehold er_9); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: %message in %function (line %line of %f ile). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:6:"Notice";s:8:"%message";s :29:"Undefined index: REMOTE_ADDR";s:9:"%function";s:12:"ip_address()";s:5:"%fi le";s:53:"/var/www/html/drupal7.com/html/includes/bootstrap.inc";s:5:"%line";i:2 535;s:14:"severity_level";i:5;} [:db_insert_placeholder_4] => 5 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http:///index.php?index.php [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => 1283873335 ) in dblog_watchdog() (line 143 of /var/www/html/drupal7.com/html/modules/dblog/d blog.module).
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal 5
Drupal 6
HTML
INI
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.
See Also:
Order
Title:
URL:
-1
0
1
Title:
URL:
-1
0
1
Any links you'd like to have associated with the post (Drupal.org issue, Wikipedia article, etc).
File attachments
Changes made to the attachments are not permanent until you save this post. The first "listed" file will be included in RSS feeds.
Attach new file:
The maximum upload size is
1 MB
. Only files with the following extensions may be uploaded:
jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp phps
.