Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Database/Table Import Error (BUG Report)
Re: Database/Table Import Error [message #2341 is a reply to message #2339] Fri, 06 November 2009 09:12 Go to previous messageGo to previous message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
The password doesn't matter as the system is a development box.

if (eregi('^(127.0.0.1|localhost|desktop|laptop)$', $_SERVER['SERVER_NAME'])) { // this is for my PC
$GLOBALS['dbusername'] = '****';
$GLOBALS['dbuserpass'] = '****';
$GLOBALS['dbprefix'] = null;
// set these only if secure HTTPS protocol is available on your server
$GLOBALS['http_server'] = '';
$GLOBALS['https_server'] = '';
$GLOBALS['https_server_suffix'] = '';
} else {
// this is for my shared web host
$GLOBALS['dbusername'] = 'radicore';
$GLOBALS['dbuserpass'] = 'radi.core.2009';
$GLOBALS['dbprefix'] = 'dev1_';
// set these only if secure HTTPS protocol is available on your server
$GLOBALS['http_server'] = '';
$GLOBALS['https_server'] = '';
$GLOBALS['https_server_suffix'] = '';
} // if

The naming of the databases:

dev1_audit
dev1_customer
dev1_dict
dev1_menu
dev1_workflow

I am running PHP 5.3.

Cheers,


Kyle Brost
----
www.softelephant.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error messages not being returned to previous screen
Next Topic: std.update3.inc confusion
Goto Forum:
  


Current Time: Wed Apr 24 02:31:52 EDT 2024

Total time taken to generate the page: 0.01111 seconds