Question
Null Pointers are another name for undefined values
Hi all,
I am using MX 7 and PostGRESql locally on the same dev machine.
When i connect to the database with in the website for the very first time, i get the following error msg.....
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
The error occurred in C:\Inetpub\wwwroot\mysite\queries\qry_menu_contained_HTabs.cfm: line 1
1 : <cfquery name="HTabsd" datasource="#application.datasource#" dbname="#application.dbname#" username="#application.dbusername#" password="#application.dbpassword#">
2 : SELECT EXTRACT(DOW FROM TIMESTAMP 'now()') as day0fWeek
3 : </cfquery>
It does not matter which page i hit first (above is just one example), just the very first call to the database always fails. After that when i refresh the same page all is fine. Its like whole site is back alive. But very first call of any new session always fails.
Any help will be much appriciated.
Thanx
Ejaz
I am using MX 7 and PostGRESql locally on the same dev machine.
When i connect to the database with in the website for the very first time, i get the following error msg.....
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
The error occurred in C:\Inetpub\wwwroot\mysite\queries\qry_menu_contained_HTabs.cfm: line 1
1 : <cfquery name="HTabsd" datasource="#application.datasource#" dbname="#application.dbname#" username="#application.dbusername#" password="#application.dbpassword#">
2 : SELECT EXTRACT(DOW FROM TIMESTAMP 'now()') as day0fWeek
3 : </cfquery>
It does not matter which page i hit first (above is just one example), just the very first call to the database always fails. After that when i refresh the same page all is fine. Its like whole site is back alive. But very first call of any new session always fails.
Any help will be much appriciated.
Thanx
Ejaz
