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

Home » RADICORE » RADICORE Installation Issues » logon error
logon error [message #2664] Wed, 02 February 2011 07:48 Go to next message
dsstanescu is currently offline  dsstanescu
Messages: 12
Registered: August 2010
Junior Member
Hi,

I was using Radicore in Windows XP and everything was ok.
Thus, I decided to install it on an Ubuntu server:
ubuntu: 10.04
mysql: 5.1.41-3ubuntu12.6 (Ubuntu)
PHP Version 5.3.2-1ubuntu4.7
apache2

I have 2 problems:

1. although I changed .htaccess as described in the installation, the PHP would not include the Radicore path. Thus, I had to extend the include path in php.ini and seems to work. I attach the .htaccess file, maybe I do something wrong...

2. after "solving" step 1, I still get an error from the framework (Fatal Error: mysqli_connect(): Cannot connect to database '%1$s'..). Is in the second part of the attached file.

Thanks!
Dan Stanescu
Re: logon error [message #2665 is a reply to message #2664] Wed, 02 February 2011 08:21 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
The file you have provided is called (dot)htaccess(dot)txt, which is invalid. On *nix systems it is called (dot)htaccess, but as this name is not valid on Windows I have documented the procedure necessary to use htaccess(dot)txt instead. It could be that this problem with the htaccess file has caused the wrong config.inc file to be loaded, and this has supplied the wrong value to the mysqli_connect() function.

Re: logon error [message #2666 is a reply to message #2665] Wed, 02 February 2011 08:33 Go to previous messageGo to next message
dsstanescu is currently offline  dsstanescu
Messages: 12
Registered: August 2010
Junior Member
Hi,

Is not deployed on Windows, but on Ubuntu (Debian Linux). Thus, I assume it has to be (dot)htaccess.

Now, is working, I did a change in the config.inc (dbprefix to be null):

ORIGINAL
_______________________________________
} else {
// this is for my shared web host
$GLOBALS['dbusername'] = 'dan';
$GLOBALS['dbuserpass'] = 'password';
$GLOBALS['dbprefix'] = '****';
___________________________________________
ORIGINAL
_______________________________________
} else {
// this is for my shared web host
$GLOBALS['dbusername'] = 'dan';
$GLOBALS['dbuserpass'] = 'password';
$GLOBALS['dbprefix'] = null;
___________________________________________
Re: logon error [message #2667 is a reply to message #2665] Wed, 02 February 2011 08:40 Go to previous message
dsstanescu is currently offline  dsstanescu
Messages: 12
Registered: August 2010
Junior Member
... sorry is true: I provided .htaccess.txt (just saved it in Notepad on my Windows laptop), but on Ubuntu is .htaccess as in your instructions...
Previous Topic: Installation issue
Next Topic: Apache error
Goto Forum:
  


Current Time: Sat Nov 23 20:39:04 EST 2024

Total time taken to generate the page: 0.01077 seconds