Results 1 to 2 of 2

Thread: Database access error after database upload

  1. #1

    Join Date
    Jun 2007
    Posts
    30

    Default Database access error after database upload

    Hi all,

    i have just upload my database. the upload runs without problems.

    In the admin-area i can see the member on the admin panel, but when i try to click on the activ, unconfirmed, approval or suspended link or if i try to open the main page i got a database access error.

    I my error-email i got this mail:

    Error in /index.php: Unknown column 'Profiles.ProfileType' in 'field list'Query: 'SELECT Profiles.ID, Profiles.Headline, Profiles.Country, Profiles.Occupation, Profiles.City, Profiles.Sex, Profiles.NickName, Profiles.Children, Profiles.MerchantPrice, LEFT( Profiles.DescriptionMe, 180 ) AS DescriptionMe, LEFT( Profiles.DescriptionYou, 100 ) AS DescriptionYou, Profiles.DateOfBirth, Profiles.Pic_0_addon, Profiles.Sound, Profiles.ProfileType, Profiles.Sex2, Profiles.DateOfBirth2 FROM `Profiles` WHERE `Status` = 'Active' ORDER BY RAND() LIMIT 4'

    Can someone help me with this problem?


    best regards Sanne

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Are you running on a Windows or Linux server now?

    You imported data? Did it some from a Linux or Windows server?

    Did you check the tables and field names using something like phpMyAdmin?

    In the Profiles table (is it "Profiles" or "profiles" in your database), is their a field ProfileType? (and is it "ProfileType" or "profiletype")

    Smoge

    Quote Originally Posted by sanne View Post
    Error in /index.php: Unknown column 'Profiles.ProfileType' in 'field list'Query: 'SELECT Profiles.ID, Profiles.Headline, Profiles.Country, Profiles.Occupation, Profiles.City, Profiles.Sex, Profiles.NickName, Profiles.Children, Profiles.MerchantPrice, LEFT( Profiles.DescriptionMe, 180 ) AS DescriptionMe, LEFT( Profiles.DescriptionYou, 100 ) AS DescriptionYou, Profiles.DateOfBirth, Profiles.Pic_0_addon, Profiles.Sound, Profiles.ProfileType, Profiles.Sex2, Profiles.DateOfBirth2 FROM `Profiles` WHERE `Status` = 'Active' ORDER BY RAND() LIMIT 4'
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Database Access Error
    By lo2y in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 7
    Last Post: 04-08-2009, 11:36 PM
  2. Database Access Error
    By biggles in forum General Troubleshooting
    Replies: 7
    Last Post: 04-07-2009, 09:13 PM
  3. Database access error
    By x151x in forum General Troubleshooting
    Replies: 3
    Last Post: 06-14-2007, 03:55 AM
  4. Database access error
    By BeastMaster in forum Bugs Dolphin v.5.3.0
    Replies: 4
    Last Post: 04-10-2007, 03:36 PM
  5. Database access error
    By TheOutdoors in forum General Troubleshooting
    Replies: 2
    Last Post: 10-01-2006, 02:14 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
  •