Results 1 to 5 of 5

Thread: Database error?

  1. #1
    Join Date
    Apr 2008
    Posts
    18

    Default Database error?

    I just installed Vshare on my new server. No errors on install.
    After install I click the links for Login and Admin. Both Blank.. So I just went to home page. (or in other words: index.php)

    I got this error
    Code:
    ERROR: Unable to execute query
    
    SELECT * FROM poll_question WHERE start_date<='2008-11-03' AND end_date>='2008-11-03' ORDER BY rand() limit 1
    
    No database selected
    I checked the database. Everything is there. And the Checked the config file. Its set correct. And like I said when I installed it, it said successfull Database connection.
    Any ideas?

    Thankx

  2. #2
    Join Date
    Jan 2008
    Posts
    147

    Default Re: Database error?

    I think the error is due to wrong path in include/config.php

  3. #3
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Database error?

    Sweet! worked thnx

    I have a diferent problem now =/
    My htaccess file is not working. When I try to access parts of the site like /Username/
    Any ideas?
    Thanks

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Database error?

    You'll need to make sure that you allow .htaccess in your Apache httpd.conf file. You'll need to change the following for your site:

    Change from AllowOverride None

    to

    AllowOverride All
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Database error?

    It worked!
    Super thnx

Similar Threads

  1. database error---any ideas?
    By grynmoors in forum Installation Support
    Replies: 8
    Last Post: 03-24-2008, 10:51 PM
  2. Replies: 0
    Last Post: 02-21-2008, 03:56 PM
  3. User not able to view site after database error
    By grynmoors in forum General Discussions
    Replies: 7
    Last Post: 11-26-2007, 07:48 PM
  4. max users on database error
    By grynmoors in forum Installation Support
    Replies: 0
    Last Post: 11-08-2007, 11:47 PM
  5. Error page displaying Database User name
    By grynmoors in forum Installation Support
    Replies: 0
    Last Post: 11-04-2007, 08:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •