Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues ⇒ the following error occured: No database selected


the following error occured: No database selected
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

View previous topic :: View next topic  
Author Message
HookerOne
Newbie
Newbie

Offline Offline
Joined: Nov 02, 2008
Posts: 40

PostPosted: Mon Jan 04, 2010 8:07 pm
Post subject: the following error occured: No database selected

After many problems with hackers and security problems I was advised to completeley wipe my site clean and then do a complete reinstall. I have done this and when I am attempting to do the install I get the following message

On /cpgn/install.php
While executing query "SHOW TABLES"

the following error occured: No database selected

In: /hsphere/local/home/filbert0/rafmovs.com/cpgn/install/step3.php on line: 117

I am installing version 9.2.1

Any help would be very much appreciated.


HookerOne's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.4/4.1.20/5.1/9.2.1
Back to top
View user's profile Visit poster's website
greenday2k
Forum Admin
Forum Admin

Offline Offline
Joined: Aug 11, 2005
Posts: 489
Location: CO
PostPosted: Mon Jan 04, 2010 11:03 pm
Post subject: Re: Installation problem

Follow this guide, step by step.
dragonflycms.org/Wiki/id=47.html

_________________
www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Tue Jan 05, 2010 2:49 am
Post subject: Re: Installation problem

Not only have you had to wipe your site clean but you will also need to get it removed from all the hacker sites lists.

My browser stops your site from loading at all.

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
HookerOne
Newbie
Newbie

Offline Offline
Joined: Nov 02, 2008
Posts: 40

PostPosted: Tue Jan 05, 2010 10:18 pm
Post subject: Re: Installation problem

I am trying to do the installation with a database that I have been using prior to the hacking. I have done a search of this site and cant seem to find an answer.


HookerOne's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.4/4.1.20/5.1/9.2.1
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Tue Jan 05, 2010 10:49 pm
Post subject: Re: Installation problem

ok lets start from the beginning.
1. did you use DF before the hacking?
2. if Yes what version?
3. If Yes has the hole in your server security been fixed?
4. Are you sure the db you want to use is clean?

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
HookerOne
Newbie
Newbie

Offline Offline
Joined: Nov 02, 2008
Posts: 40

PostPosted: Sun Jan 10, 2010 8:11 am
Post subject: Re: Installation problem

1. I was using 9.2.1, the same version I am attempting to reinstall.
2. I did use DF before the hacking. 9.2.1
3. I have been assured that the server is now secure.
4. I am attempting to use a db that I backed up prior to cleaning out all my files from the server.


HookerOne's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.4/4.1.20/5.1/9.2.1
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Sun Jan 10, 2010 4:17 pm
Post subject: Re: Installation problem

ok here is the trick there is no more config.php file in the distribution for 9.2.1. It is created by the installer now.

So install DF just like you are making a new site. complete the install all the way through. this gets a config.php - /includes/config.php

Now you can do one of 2 things.
1. If you already have the database backup imported into a db you can just change the config.php db settings to connect to that db.
2. you can drop all the tables in the db you created for the new db and import your db backup.
Now for 2 you may have to make some changes. Unless you used the exact same table prefixes when you created the new db as the db backup uses or you will get errors. You can edit which table prefixes to use in the config.php as well if needed.

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
HookerOne
Newbie
Newbie

Offline Offline
Joined: Nov 02, 2008
Posts: 40

PostPosted: Sat Jan 16, 2010 8:09 am
Post subject: Re: Installation problem

The blank db that I create, does it have to have the same name and login details as the one I have backed up


HookerOne's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.4/4.1.20/5.1/9.2.1
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Sat Jan 16, 2010 1:39 pm
Post subject: Re: Installation problem

no when you install df the config.php it will create will have the db name and login just change the table prefixes in the config.php to match those the db backup puts in the table.

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
HookerOne
Newbie
Newbie

Offline Offline
Joined: Nov 02, 2008
Posts: 40

PostPosted: Sun Jan 24, 2010 8:45 am
Post subject: Re: Installation problem

Site up and running again, have removed all those files that I wasnt using and was clutering the place up. Hopefully that will help stop anyone attempting to hack the site.


HookerOne's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.4/4.1.20/5.1/9.2.1
Back to top
View user's profile Visit poster's website
InspectorClueNo
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 26, 2008
Posts: 211

PostPosted: Tue Jan 26, 2010 10:23 pm
Post subject: Re: the following error occured: No database selected

@HookerOne

read dragonflycms.org/Forum...c/t=24083/ and see if you can help, I believe even a list of file names would still be enough.


InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
none available
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.
· Removed index.php depency.
· v9 fixed menu hoverings on touch screens.
· Fixed menu hoverings on touch screens.
· Fixed empty $Module object

devamı...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy