Connection login issue [message #1018] |
Wed, 01 August 2007 07:37 |
adamsp
Messages: 32 Registered: July 2007
|
Member |
|
|
Perhaps I do not understand how Radicore login/security works...
On my development machine (localhost) I can connect and develop no problem.
In \includes\dml.mysqli.class.inc in
function connect ($dbname=null)
I have changed line 152 (shown below) to include the mySQL username and password
$dbconn = mysqli_connect($dbhost, username, password);
Is this the correct way to use Radicore?
Problem: when I go to another machine and access Radicore from the browser with
http://xxx.xxx.xx.xxx/radicore/index.html
I get the logon screen but when I click Logon I get "application has encountered an unrecoverable error"Fatal Error: eregi() [function.eregi]: REG_BADRPT (#1049).
Error in line 49 of file 'C:\xampp\htdocs\radicore\includes\dml.mysqli.class.inc'.
I am not sure how to fix this.
Can you advise, please?
|
|
|
|
|
Re: Connection login issue [message #1021 is a reply to message #1020] |
Wed, 01 August 2007 10:07 |
AJM
Messages: 2363 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
If you read the installation instructions it says hat if you deploy Radicore on a publicly-accessible web server it would be a good idea to move the 'includes' directory from below the web root so that its contents (especially your CONFIG.INC file) cannot be accessed through the browser.
Do not forget to update the include_path directive in your htaccess file accordingly.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|