After bid getting a blank page!

A place to discuss and receive support for the Web Auction application.

Postby Galatasaray » Sun Sep 16, 2007 7:45 am

Hi,

After bid on a product, i get a blank page. I add the codes above to index.php for the errors;

error_reporting(E_ALL);
ini_set('displaly_errors','on');

And now i getting these many errors,

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 961

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/ActionTool.php on line 47

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1566

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1566

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2128

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

-------------------------------------------------------------

and the site is viewing below of these errors.

After bid on a product there is no site but these errors;


Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 961

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/ActionTool.php on line 47

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1566

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1566

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2128

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 2014

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 961

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Table.php on line 1058

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/IO.php on line 1334

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/IO.php on line 653

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 1406

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Notice: Only variables should be assigned by reference in /home/teknoce/public_html/dataface/Dataface/Record.php on line 904

Warning: Cannot modify header information - headers already sent by (output started at /home/teknoce/public_html/dataface/Dataface/Table.php:1058) in /home/teknoce/public_html/actions/bid.php on line 26

Please help, very special thanks...
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Mon Sep 17, 2007 4:38 am

Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Mon Sep 17, 2007 4:41 am

I have cleared off the "Notice: Only variables should be assigned by reference in ... on line 100" errors with this method;

at 100. line;

$x =& $y;

replaced with;

$yy =& $y;
$x = $yy;

is this right??

---------------

And the other problem is going on. When i try to bid on a product, getting blank page.
The address bar is "http://www.mysite.com/index.php" and the blank page's html codes are for IE;

doctype html head an body tags.

but for Firefox; there is no code.

??!!

Please help, special thanks.
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Sep 17, 2007 10:34 am

Hi,

I'm not sure exactly where you were making these fixes. In general the approach you used is not recommended as it will result in variables being copied by value - which is not what we often want.

In fact I wouldn't worry about these errors. Certain versions of PHP complained about passing function results by reference, but didn't give an alternative to achieve the same results. These are only notices (not errors) so it should be fine... and they are not the cause of the blank white screen.

The best strategy, is to set the error reporting back to E_ALL^E_NOTICE (so that it doesn't show notices), then check the error log when you get a blank white screen. The most likely problem is some whitespace at the end of some file that is preventing headers from being sent.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Tue Sep 18, 2007 12:28 am

There is no error log for the blank page. Only blank page! after a bid.
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Sep 18, 2007 9:12 am

That is very strange if there is no error logged for the blank page. No error generally means no error - but there must be an error because the page is not coming out as it should. It is possible that an error is ocurring and being suppressed. Can you give me the link to the site so I can play with it a bit?

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Wed Sep 19, 2007 1:54 am

I've sent a pm including the link. Thanks...
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Thu Sep 20, 2007 3:59 am

Dear Steve, did you get the link?
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 20, 2007 9:27 am

I did receive your message, and I replied to it. Unfortunately the link just allowed me to verify the blank page. In order to find the problem I will need temporary access to the source code so that I can do some debugging.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Sat Sep 22, 2007 2:52 am

Hi Steve, i posted the ftp login to you. Didi you recieve? And did you look at? Thanks..
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Sep 24, 2007 5:22 pm

I responded to your email finally.

To future users following this post, the problem was simply that the header(...) command in the actions/bid.php file had been commented out by someone...

Best
Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Galatasaray » Tue Sep 25, 2007 1:07 am

Thank you very very much for your helps Steve..
Galatasaray
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby jitu » Tue Sep 25, 2007 3:46 am

Dear sir.
I tried to install dataface-0.7.1.And I have got following error "Error loading config file. No tables specified." i am sending the following file so plz help me

config.inc.php
##################################
* Dataface Web Application Framework
* Copyright (C) 2005-2006 Steve Hannah (shannah@sfu.ca)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*-------------------------------------------------------------------------------
*/
/**
* File: config.inc.php
* Author: Steve Hannah
* Created: September 2005
* Description:
* -------------
*
* Initializes configuration information for Dataface.
*/

//Prevent Magic Quotes from affecting scripts, regardless of server settings

//Make sure when reading file data,
//PHP doesn't "magically" mangle backslashes!
set_magic_quotes_runtime(FALSE);

if ( !function_exists('microtime_float') ){
function microtime_float()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
}

function stripslashes_array($data) {
if (is_array($data)){
foreach ($data as $key => $value){
$data[$key] = stripslashes_array($value);
}
return $data;
}else{
return stripslashes($data);
}
}

if (get_magic_quotes_gpc()) {
/*
All these global variables are slash-encoded by default,
because magic_quotes_gpc is set by default!
(And magic_quotes_gpc affects more than just $_GET, $_POST, and $_COOKIE)
*/
$_SERVER = stripslashes_array(@$_SERVER);
$_GET = stripslashes_array(@$_GET);
//$_POST = stripslashes_array(@$_POST);
$_COOKIE = stripslashes_array(@$_COOKIE);
//$_FILES = stripslashes_array(@$_FILES);
$_ENV = stripslashes_array(@$_ENV);
$_REQUEST = stripslashes_array(@$_REQUEST);
$HTTP_SERVER_VARS = stripslashes_array(@$HTTP_SERVER_VARS);
$HTTP_GET_VARS = stripslashes_array(@$HTTP_GET_VARS);
//$HTTP_POST_VARS = stripslashes_array(@$HTTP_POST_VARS);
$HTTP_COOKIE_VARS = stripslashes_array(@$HTTP_COOKIE_VARS);
//$HTTP_POST_FILES = stripslashes_array(@$HTTP_POST_FILES);
$HTTP_ENV_VARS = stripslashes_array(@$HTTP_ENV_VARS);
if (isset($_SESSION)) { #These are unconfirmed (?)
$_SESSION = stripslashes_array($_SESSION, '');
$HTTP_SESSION_VARS = stripslashes_array($HTTP_SESSION_VARS, '');
}
/*
The $GLOBALS array is also slash-encoded, but when all the above are
changed, $GLOBALS is updated to reflect those changes. (Therefore
$GLOBALS should never be modified directly). $GLOBALS also contains
infinite recursion, so it's dangerous...
*/
}






// first we resolve some differences between CGI and Module php
if ( !isset( $_SERVER['QUERY_STRING'] ) ){
$_SERVER['QUERY_STRING'] = @$_ENV['QUERY_STRING'];
}

// define a HOST_URI variable to contain the host portion of all urls
$host = $_SERVER['HTTP_HOST'];
$port = $_SERVER['SERVER_PORT'];
$protocol = substr( $_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], '/'));
$protocol = ((@$_SERVER['HTTPS'] == 'on' || $port == 443) ? $protocol.'s' : $protocol );
$protocol = strtolower($protocol);
$_SERVER['HOST_URI'] = $protocol.'://'.$host;//.($port != 80 ? ':'.$port : '');
if ( !($protocol == 'https' and $port == 443 ) and !($protocol == 'http' and $port == 80) ){
$_SERVER['HOST_URI'] .= ':'.$port;
}

if ( defined('DATAFACE_DEBUG') and DATAFACE_DEBUG){
/*
* Debug with APD.
*/
apd_set_pprof_trace();
}

if ( !defined('DATAFACE_PATH') ){
// Path to the Dataface installation
define('DATAFACE_PATH', dirname(__FILE__));
}
if ( !defined('DATAFACE_URL') ){
// Webserver path to the Dataface installation
define('DATAFACE_URL', dirname($_SERVER['PHP_SELF']));
}
if ( !defined('DATAFACE_FCKEDITOR_BASEPATH') ){
// Webserver path to the FCKEditor installation for use with Dataface
define('DATAFACE_FCKEDITOR_BASEPATH', DATAFACE_URL.'/lib/FCKeditor/');
$GLOBALS['HTML_QuickForm_htmlarea']['FCKeditor_BasePath'] = DATAFACE_FCKEDITOR_BASEPATH;


}
$GLOBALS['HTML_QuickForm_htmlarea']['FCKeditor_BasePath'] = DATAFACE_FCKEDITOR_BASEPATH;

if ( !defined('DATAFACE_TINYMCE_BASEPATH') ){
define('DATAFACE_TINYMCE_BASEPATH', DATAFACE_URL.'/lib/tiny_mce');

}
$GLOBALS['HTML_QuickForm_htmlarea']['TinyMCE_BasePath'] = DATAFACE_TINYMCE_BASEPATH;

if ( !defined('DATAFACE_JSCALENDAR_BASEPATH') ){
define('DATAFACE_JSCALENDAR_BASEPATH', DATAFACE_URL.'/lib/jscalendar/');
}
$GLOBALS['HTML_QuickForm_calendar']['jscalendar_BasePath'] = DATAFACE_JSCALENDAR_BASEPATH;

if ( !defined('DATAFACE_SITE_PATH') ){
// Path to the Site that is using Dataface. This may be different if than DATAFACE_PATH
// if there are multiple sites being run on a single Dataface installation.
define('DATAFACE_SITE_PATH', DATAFACE_PATH);
}



if ( !defined('DATAFACE_SITE_URL') ){
// Webserver path to the current site.
// This may be different than DATAFACE_URL if there are multiple sites being run on a single
// dataface installation.
define('DATAFACE_SITE_URL', DATAFACE_URL);
define('DATAFACE_SITE_HREF', (DATAFACE_URL != '/' ? DATAFACE_URL.'/':'/').basename($_SERVER['PHP_SELF']) );
}

if ( !defined('DATAFACE_DEFAULT_CONFIG_STORAGE') ){
// The type of storage to use for application configuration by default.
// Options include: ini or db.
define('DATAFACE_DEFAULT_CONFIG_STORAGE', 'ini');
}

if ( !defined('DATAFACE_CACHE_PATH') ) {
// Find teh cache directory to cache important stuff.
if ( file_exists( DATAFACE_SITE_PATH.'/templates_c') ){
define('DATAFACE_CACHE_PATH', DATAFACE_SITE_PATH.'/templates_c/__cache');
} else {
define('DATAFACE_CACHE_PATH', DATAFACE_PATH.'/Dataface/templates_c/__cache');
}
}

if ( !defined('TRANSLATION_PAGE_TABLE') ){
// The name of the table that should be used to store temporary content that
// is being translated by a machine translator in whole web page mode.
define('TRANSLATION_PAGE_TABLE', '__pages_to_be_translated');
}


//------------------------------------------------------------------------------------------
// Now we set the include path to include the necessary libraries in the lib directory.

$include_path = ini_get('include_path');


// If the current dir is currently first in the list, then it should remain that way
if ( preg_match('/^\.'.PATH_SEPARATOR.'/', $include_path) ){
$include_path = preg_replace('/^\.'.PATH_SEPARATOR.'/','', $include_path);
$curr_dir_first = true;
} else {
$curr_dir_first = false;
}

$includePathArr = explode(PATH_SEPARATOR, $include_path);

if ( DATAFACE_SITE_PATH != DATAFACE_PATH and !in_array(DATAFACE_PATH,$includePathArr)){
$include_path = DATAFACE_PATH.PATH_SEPARATOR.DATAFACE_PATH.'/lib'.PATH_SEPARATOR.$include_path;
} else if ( !in_array(DATAFACE_PATH.'/lib', $includePathArr)) {
$include_path = DATAFACE_PATH.'/lib'.PATH_SEPARATOR.$include_path;
}

if ( $curr_dir_first ){
$include_path = ".".PATH_SEPARATOR.$include_path;
}


ini_set('include_path', $include_path );

ini_set('display_errors', 'on');


function import($file){
static $imports = 0;
if ( !$imports ){
$imports = array();
}

//$class = str_replace('/','_', $file);
//$class = substr($class, 0, strpos($class,'.'));
if ( !isset($imports[$file]) ){
$imports[$file] = true;
require_once $file;
}
}
require_once dirname(__FILE__).'/Dataface/Globals.php';


?>



##################################


conf.ini
#######################################

[_database]
host = "172.16.200.7"
user = "root"
password = ""
name = "FacultyOfWidgetry"


[_tables]
Course = "Course"
Program = "Program"
####################################
display();
?>
#############################################33


so plz kindly help me
JITENDRA DINANATH THAKUR
INDIA
jitendra_forum2006@yahoo.co.in
jitu
 
Posts: 6
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Sep 25, 2007 7:48 am

When do you get this error message? One note is that Dataface is not an application so much as it is a library. You don't actually point your web browser to dataface, other than just to the dataface_info.php file to confirm that it has been installed.

See the getting started tutorial for information on installation and on setting up your first app.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 22 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved