logon error [message #2664] |
Wed, 02 February 2011 07:48 |
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 |
AJM
Messages: 2371 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.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: logon error [message #2667 is a reply to message #2665] |
Wed, 02 February 2011 08:40 |
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...
|
|
|