Elxis CMS Forum
Support => Installation => Topic started by: dkaip on February 03, 2011, 23:56:36
-
I just install xampp(c:/xampp) in win7 and make a new database and user with all privileges, then elxis in c:/xampp/elxis and installation. In step 5 i have the message ...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'abc'@'localhost' (using password: YES) in C:\xampp\htdocs\elxis\includes\adodb\drivers\adodb-mysql.inc.php on line 364
As gurus says must open configuration.php file and put in mostConfig-password=''; the user password. But configuration.php file in elxis dir have size 0. Any ideas?
-
DO not double post !!
-
1. Set username & password for MySql
2. Search the forum.
-
As gurus says must open configuration.php file and put in mostConfig-password=''; the user password. But configuration.php file in elxis dir have size 0. Any ideas?
I think that you have read nothing before installing elxis... not even the warnings that the installer printed during installation.
so..
As we state here:
http://wiki.elxis.org/wiki/Elxis_Installation_Guide
PHP version must be >= 5.0.0 for any elxis version later from 2008.1. If you see an Elxis warning regarding Timezone you should edit php.ini and set the proper timezone.
Zlib compression support is not mandatory unless you want to make use of it, zlib compression is not enabled by default, you can enabled it thought Global config after installation if your system supports it.
XML must be available at your system, elxis widely uses XML.
Configuration.php probably is unwritable by this moment, you can use your favorite ftp client to make it writable(777) in order elxis be able to update configuration.php contents for you and save time by not copying content and manually modify-upload configuration.php file at your elxis directory.
An here:
http://wiki.elxis.org/wiki/Elxis_Installation_Guide#FTP_access__.28step_3.29
The contents of this file will be copied to Elxis global configuration file (configuration.php) after installation is complete. This file must be writeable in order for the installer to be able to write in it. You can alternatively enable FTP access. Elxis installer will be able to write in it even if it is not writeable. In the top of the Step 3 page you see the full path to this file and if it is writeable or not.
if configuration.php is zero length file...
and even you can manually upload it now i will highly suggest you to
reinstall all from the beginning...
read and see
http://wiki.elxis.org/wiki/Elxis_Installation_Guide
http://wiki.elxis.org/wiki/Elxis_2009_installation_screencast
********
i wonder how a zero-length configuration.php can pass in your sql-server information like pass and username ? ? ? ? ? ? ? ? ? ?
**************
PS.
i will remove your other post
do not double-post ...
AND MOVE THIS UNDER FORUM's-CATEGORY-> "INSTALLATION"!
in this forum people answer always -> no need to yell around!
-
Hello, thank's i try to delete the subject but i could.
Also i put it to installation. :)
The elxis installatin on server is ok, but for better install xampp on win7, all are ok until step 5.
-
PHP version >= 5.0.0 Yes ( 5.3.5 )
zlib compression support Available
xml support Available
configuration.php Writable
Session save path C:/ xampp/ tmp (Writable)
----------------------------------------
Safe Mode: Off Off
Display Errors: Off On
File Uploads: On On
Magic Quotes GPC: Off Off
Magic Quotes Runtime: Off Off
Register Globals: Off Off
Output Buffering: Off Off
Session auto start: Off Off
Allow URL fopen: Off On
Short Open tag: Off On
----------------------------------------
in c:\xampp\php\php.ini i put
display_errors = Off
short_open_tag = Off
allow_url_fopen = Off
restat apatche ... all are ok ...
----------------------------
cache/ Writable
tmpr/ Writable
administrator/backups/ Writable
administrator/components/ Writable
administrator/modules/ Writable
administrator/templates/admin/ Writable
administrator/templates/login/ Writable
administrator/language/ Writable
components/ Writable
images/ Writable
images/banners/ Writable
images/stories/ Writable
language/ Writable
mambots/ Writable
mambots/content/ Writable
mambots/search/ Writable
media/ Writable
modules/ Writable
templates/ Writable
---------------------------------
C:/xampp/htdocs/elxis/installation/tmpconfig.php Writable
FTP Access No
------------------------------------
Step 4 Database
Host Name: localhost
Database Name myelxis
Database Table Prefix: elx_
Database UserName abc
Database Password my password
----------------------------------
Step 5 Site settings
At least one fatal error occured. You can not continue. The Elxis installer error messages follows:
• Could not connect to the database.
Any ideas?
Also in my phphmyadmin ...
abc % global ALL PRIVILEGES Grand Yes
database-specific ALL PRIVILEGES Grand Yes
-
this->
At least one fatal error occured. You can not continue. The Elxis installer error messages follows:
• Could not connect to the database.
and this>
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'abc'@'localhost' (using password: YES) in C:\xampp\htdocs\elxis\includes\adodb\drivers\adodb-mysql.inc.php on line 364
are not the same errors... 1st means that maybe sql is down or not accept connections.. 2nd error that pass-username are wrong..
what error code you get?
this->
Also in my phphmyadmin ...
abc % global ALL PRIVILEGES Grand Yes
database-specific ALL PRIVILEGES Grand Yes
means that sql accepts connections from anywhere (%)
in phpmyadmin(is easier) try to add the user abc to localhost
to see something like:
abc @localohost global ALL PRIVILEGES Grand Yes