Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
No database selected Error

 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
No database selected Error
Author Message
dijares



Joined: 11 Nov 2006
Posts: 40

Post No database selected Error Reply with quote
Okay, I've finally uploaded this stuff, started copying everything over that I want imported from cutenews, and it's taking me hours and hours to do. Then, all the sudden, cutenews.ru kicks me out. It says I have a wrong password. I entered in my MySQL stuff correctly, so I don't know what's going on. I was really hoping to finish this tonight, but I guess no such luck. It's coming back with the following error:



Code:
txtSQL Warning: No database selected in /chroot/home/mine/mysite.com/html/news/index.php on line 13



txtSQL Warning: No database selected in /chroot/home/mine/mysite.com/html/news/index.php on line 13




Yes, I checked that my config.php file is writable, and it is (777). I even chmod again to make sure. Still, no luck in getting into the program.



I did start importing my stuff from cutenews, and it makes me worry - as I had only so far been able to click the link to import users - that it lost me in the process.



If I have to reload everything, I'm going to be very upset. I have a 55mb comments.txt file that is taking me forever to load.


Last edited by dijares on Sun Nov 19, 2006 5:19 am; edited 1 time in total
Mon Nov 13, 2006 4:14 am View user's profile Send private message Visit poster's website
Guest








Please login to hide the ads.

dijares



Joined: 11 Nov 2006
Posts: 40

Post just reloaded everything Reply with quote
okay, i just went ahead and deleted everything except the convert file. i reloaded everything, redid everything, and made sure, after i brought everything in from cutenews (yes, it worked!), that I deleted my extra name. i also made sure that my password was right, which may have been the problem before, since it doesn't bring in passwords, and i was on there twice.



Finally figured out the php code:



Code:
<?PHP

             include 'news/head.php';

             $number = '10';

              $category = '5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73';

             $template = 'redupgrade';

             include $cutepath.'/show_news.php';

            

?>




(Yes, i have loads of categories), but then i realized it didn't import my template. Shocked



So, i made one based on the default, but when looking at your layout, welll, it's quite different from what i'm used to...i'm going to try to figure it out, but this is always where i get stuck.



Also, the smilie names have to go. i did change the names of the smilies before loading them up, but there's no way i can have those names on a harry potter site with kids.



I'm giong to work on the layout while i can (very difficult while working around 60-65 hours/wk), so hopefully i'll get it done soon.
Mon Nov 13, 2006 11:30 am View user's profile Send private message Visit poster's website
dijares



Joined: 11 Nov 2006
Posts: 40

Post ... Reply with quote
okay, so I can't edit, so i'll post again.



fixed the smilies problem in the options>system settings.
Mon Nov 13, 2006 11:55 am View user's profile Send private message Visit poster's website
Syrion



Joined: 02 Aug 2006
Posts: 173

Post Reply with quote
60-65h/week? Damn!



Anyway, is your problem fixed?

_________________
Mini-me
Mon Nov 13, 2006 12:44 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Bugs and errors All times are GMT + 1 Hour
Page 1 of 1

 
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



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.