Elxis CMS Forum

Support => Installation => Topic started by: nkod on December 04, 2007, 15:34:11

Title: Username and passwords wrong again and again
Post by: nkod on December 04, 2007, 15:34:11
Well I do all the things Im supposed to do to install the Elxis...I upload  the file, unzip, create sql user and password klp klp... Ι've checked that the server is fulfilling every need for elxis...but still when i start the installation and im in the part where im supposed to put the db informations then i get ALWAYS the same problem (username and password is not correct).. I have searched throught the forum of Elxis and used all the methods that where there but still no result....can somebody please have a look at my site and help me out???  Or tell me what i do wrong?
thanks in advance...
Title: Re: Username and passwords wrong again and again
Post by: babis1 on December 04, 2007, 15:44:49
LOOK IF SERVER HAVE THIS BEFORE THE USER AND DBNAME.....
something_username
something_dbname
and after you must write the same thing in the elxis installation
Title: Re: Username and passwords wrong again and again
Post by: nkod on December 04, 2007, 15:46:49
After i create the db and user and i add user in db...
I check in cpanel and i see them there... then i add them in elxis installation...hould i add it WITH the SOMETHING_db? or like db???
Title: Re: Username and passwords wrong again and again
Post by: babis1 on December 04, 2007, 15:49:06
add it WITH the SOMETHING_db(becarefull only dbname dont change anything else)
but the pass only password
Title: Re: Username and passwords wrong again and again
Post by: Ivan Trebješanin on December 04, 2007, 15:49:37
Are you sure your server is NOT running in Safe Mode?
Title: Re: Username and passwords wrong again and again
Post by: nkod on December 04, 2007, 15:50:19
it worked..thank you so much!!!
Title: Re: Username and passwords wrong again and again
Post by: babis1 on December 04, 2007, 15:51:32
ok you are welcome
Title: Re: Username and passwords wrong again and again
Post by: netshine on December 24, 2007, 21:47:46
I am also having this problem, but the username and password I am using are both correct. If I create the database manually before trying the installation, I get a PHP error: Fatal error: Call to a member function on a non-object in /path_to_elxis/installation/install2.php on line 94. If I don't create the database before installing, it tells me the username and password are wrong. But they are not. I've tried it on MySQL 4.0.12 and 4.1.22-standard, on both Windows/Apache and Linux/Apache.
Title: Re: Username and passwords wrong again and again
Post by: datahell on December 24, 2007, 22:08:56
You have old version of MySQL.
Title: Re: Username and passwords wrong again and again
Post by: Ivan Trebješanin on December 24, 2007, 22:57:54
Could be your server setting. You can try this:

Create DB before installation, go to your phpMyAdmin and see how is your DB called (Probably: username_dbname)
Enter exact DB name into your elxis installation.

Tell me what happened.
Title: Re: Username and passwords wrong again and again
Post by: netshine on December 25, 2007, 10:33:39
Thanks - I know the db settings are correct (I have installed literally hundreds of copies of mambo and joomla over the last few years), so I guess Elxis demands a newer version of mySQL. I use old versions for development so that I know my users can run my code even with old versions. Still 4.1.22 is not that old! Can you tell me what the minimum requirement is for the mySQL version?
Title: Re: Username and passwords wrong again and again
Post by: datahell on December 25, 2007, 11:14:13
MySQL should be 4.1 or greater (not the client but the database itself!).

Read this:
https://forum.elxis.org/index.php?topic=54.msg251

Notice that even if you manage to install elxis your server environment is not ideal for Elxis CMS.
Title: Re: Username and passwords wrong again and again
Post by: netshine on December 26, 2007, 10:34:37
MySQL should be 4.1 or greater (not the client but the database itself!).

Read this:
https://forum.elxis.org/index.php?topic=54.msg251

Notice that even if you manage to install elxis your server environment is not ideal for Elxis CMS.

I said I tried it on MySQL 4.1.22 - which is greater than 4.1. I read that topic you link to, but I don't see your point - I haven't told you what my server environment is, only that I tried on both Windows and Linux with Apache. I don't have safe mode on if that's what you were thinking of.
Title: Re: Username and passwords wrong again and again
Post by: datahell on December 26, 2007, 14:09:52
Read what I wrote about commenting certain lines of code. I am sure that you have an old version of MySQL (MySQL is consisted by the server and the client, each one may have different version).
Even if you comment the lines I write you will stuck exactly afterwards because of the old version. You can comment again the next lines and finally install elxis but your server environment  won't be good for Elxis.
Title: Re: Username and passwords wrong again and again
Post by: CREATIVE Options on December 26, 2007, 15:58:37
Please post the full name of your database.
I have see problems that was caused from the DB name.

Also do the following as Datahell say:
https://forum.elxis.org/index.php?topic=54.msg248#msg248
Title: Re: Username and passwords wrong again and again
Post by: netshine on December 27, 2007, 14:39:04
Read what I wrote about commenting certain lines of code. I am sure that you have an old version of MySQL (MySQL is consisted by the server and the client, each one may have different version).
Even if you comment the lines I write you will stuck exactly afterwards because of the old version. You can comment again the next lines and finally install elxis but your server environment  won't be good for Elxis.
I don't understand why you don't believe me! I am an experienced PHP developer - I have worked on Mambo/Joomla sites for a number of years, and have developed a very sophisticated billing component. I run 2 dedicated servers with MySQL 4.1.22. I am not a newbie - I know the difference between a client and a server. Never mind, I'll step through the code myself and fix it.  >:(
Title: Re: Username and passwords wrong again and again
Post by: datahell on December 27, 2007, 17:47:55
I did nt said that I don't believe you. The problem that you have, was, especially last year, a very common problem because many servers had mysql 4.0 and the symptoms were exactly the same (line 92/94). If it is not a mysql version issue it might have something to do with database permisions, host or even, as sirigos said, with the database name, user or passowrd (i.e. strange characters). I can not be sure if I don't see it.

If you wish give me ftp access to your site to install Elxis 2006.4 for you by myself. I understand that you are an experienced user but what seems a huge problem for you might be 2-3 minutes work for me as I know Elxis very good and that does not mean that I am smarter or better developer than anyone else. I just now where to focus my attention and how to solve these kind of issues. Send me a personal message with your site URL, access to your ftp (in order to be able to debug the installer) and database login info to install Elxis for you.