Jump to content
xisto Community
MusicOnly

Cms-dragonfly Newbie please help

Recommended Posts

hi! i downloaded dragonfly cms(9.0.6.1) and i am having a problem with instaling it.i have xampp.what have i done:1.downloaded2.extracted it on d:3.i configured config.php$dbhost = 'localhost'$dbname = 'myname'$dbuname = 'myname'$dbpass = 'my password'$prefix = 'cms'$user_prefix = 'cms'$adminindex = 'admin.php'$mainindex = 'index.php'what next?please have in mind that you ll need to guide me step by step.can someone help me?

Share this post


Link to post
Share on other sites

You may have to create the Database before you attempt to connect to it. Many of the CMS packages have this same situation where the DB and a user must exist prior to their being installed. Use PHPADMIN to create a Database and a User for that Database and then these should be the database and User which you enter into the Install script.I don't have first hand knowledge of this particular CMS, but several other softwares have similar requirements.

Share this post


Link to post
Share on other sites

please have in mind that you ll need to guide me step by step.


:)

i have php admin but i dont know how to create database. :)
when i open phpmyadmin directory it shows me a lot of php scripts, image files.

Share this post


Link to post
Share on other sites

going with what jlhaslip said and your problems with creating a new database this is how to do it:

 

I use xampp too and phpmyadmin so this should be as sinpoly as following what i say exactly. We'll soon see though! First of all accewss phpmyadmin, this is just a user friendly tool for editing SQL databases. To get there type http://forums.xisto.com/no_longer_exists/ into your browser with xampp "apache" and "my-sql" running. once youve done that near the bottom of the page in the list of links is one that says "databases" click that. This will give you a arather small list of databases.

 

$dbhost = 'localhost'

$dbname = 'myname'

$dbuname = 'myname'

$dbpass = 'my password'

$prefix = 'cms'

$user_prefix = 'cms'

$adminindex = 'admin.php'

$mainindex = 'index.php'


Here i can see that the database ( in bold) needs to be set, at the moment it is looking for a database called "myname" which it cant find as its not yet there. You could make a database of this name but it seems like a better idea to call it "CMS" or "dragonfly" or something related. ONce you have changed that then go back to phpmyadmin and on the page we just got to above you will see a text box about half way down under the list of databases. now whatever name you put into the php file after "$dbname =" is the name you will put into this text box. Then click create. that will make a database for you. I will also suggest that you change "dbuname" and "dbpass" to real user accounts. For now it might be easier to use the user "root" and it is likely you will not yet have a password on this account. This is ok-ish if you connect to the net through a router/switch but if you connect directly i would suggest putting a password on it for security (if you want more info then ask and ill post it) so set $dbuname = "root" and $dbpass = "" now you should have unlimited access to all databases from this php script. and that should be all.

 

When running the install for the CMS you will probably need to remember the database name. After that the CMS should do everything for you.

 

also for the CMS to be avaliable through a web browser it will have to go into the htdocs directory (DRIVE_LETTER:\xampp\htdocs) then it will be accesibly like a normal webpage through http://forums.xisto.com/no_longer_exists/

Share this post


Link to post
Share on other sites

dont work!cant access, it says that my user name and password are incorect.i even set pareametars to root and no password but still doesnt work. i reinstalled xampp and again same sh*t.

Share this post


Link to post
Share on other sites

doesnt it have an auto installer?...have you tried by executing the installer script? it should run as normal, unless the version of your mysql xampp is 5.xx dragonfly will not run...it says it just run till the previous version of the 5 mysql version, if you just downloaded your xampp copy is almost sure it has the latest mysql version thus look for another xampp version with a previous mysql

Share this post


Link to post
Share on other sites

ok lets try making a new user for the sql databases.go back to the phpmyadmin page as i said before but this time click on "privileges" now about half way down there should be a link sayin "create new user" click that and type in a username something like "CMS_DRAGONFLY" or anything like that so you remember it, then type in a password, anything will do. Now you will see a long list of check boxes. This relate to what that user can do to the database. I normally select them all so i can use it as an admin account. i would say select them all so you know that any problems arent to do with user permissions. leave the bottom text boxes as they are. then click the "go" button and you should have yourself a new user that should be able to create databases etc... so give it a go then try the CMS installation again remember the username and password as you wil probably need it later.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.