Results 1 to 6 of 6

Thread: Version 4 Errors

  1. #1

    Join Date
    May 2005
    Posts
    27

    Default Version 4 Errors

    Hi Smoge & Friends,

    I keep getting this error when new members sign up. Any reason for this ?

    -----

    Error in /lovebite/join_form.php: Duplicate entry '' for key 2
    Query: 'INSERT INTO Profiles SET `ProfileType` = 'single', `NickName` = '', `RealName` = '', `Sex` = 'female', `Country` = 0, `City` = '', `zip` = '', `Children` = '0', `WhereChildren` = 'living with me', `WantChildren` = 'No', `DateOfBirth` = '1930-01-1--', `Height` = 0, `BodyType` = 0, `Ethnicity` = 0, `Religion` = 0, `MaritalStatus` = 0, `Occupation` = '', `Language1` = 0, `Language2` = 0, `Language3` = 0, `Education` = 0, `Income` = 0, `Smoker` = 0, `Drinker` = 0, `Headline` = '', `DescriptionMe` = '', `Email` = '', `EmailFlag` = 'HTML', `EmailNotify` = 'NotifyMe', `guestbook` = 'Enable', `HomePage` = '', `Phone` = '', `HomeAddress` = '', `IM` = 'none', `IcqUIN` = '', `Password` = '', `LookingFor` = 'female', `LookingAge` = '18-18-', `LookingHeight` = 0, `LookingBodyType` = 0, `Relationship` = 0, `DescriptionYou` = '', `LastReg` = NOW(), `seed` = 1097467104'

    ----

    Also when a new cupid match was found the email received by the member looks like this...

    ----

    <html><head></head><body style="font: 12px Verdana; color:#000000"> <p>Hello <YourRealName>,</p>

    <p>We are glad to inform you that profile was added or modified at LoveBite that match to you.</p>

    <p>Match profile:<span style="color:#FF6633"><a>http://www.lovebite.org/lovebite/profile.php?ID=339</a></span></p>

    <p>Your Member ID:<span style="color:#FF6633">1</span></p>

    <p>--</p>
    <p style="font: bold 10px Verdana; color:red">http://www.lovebite.org/lovebite/ (LoveBite)</p></body></html>

    ----

    The next error since the upgrade is;

    php: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

    ----

    What am i missing here ??

    Rusty

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

    Default

    Duplicate entry '' for key 2
    Query: 'INSERT INTO Profiles SET `ProfileType` = 'single', `NickName` = '',
    I'll try to help some.... Key 1 is the user ID. Key 2 is the NickName.

    If you look at your SQL statement, as reported in the error, your NickName is blank.

    Is NickName a required field on your system? If not, it should be.

    Smoge
    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.

  3. #3

    Join Date
    May 2005
    Posts
    27

    Default

    Quote Originally Posted by Smoge
    Duplicate entry '' for key 2
    Query: 'INSERT INTO Profiles SET `ProfileType` = 'single', `NickName` = '',
    I'll try to help some.... Key 1 is the user ID. Key 2 is the NickName.

    If you look at your SQL statement, as reported in the error, your NickName is blank.

    Is NickName a required field on your system? If not, it should be.

    Smoge
    Smoge Buddy,

    Something is wrong on the new Version 4... Log in on my site as a new member, go straight to the end of the form without entering any data and press continue... See what happen...

    Rusty

  4. #4
    vivimos
    Guest

    Default

    Rusty,

    Don't know what is happening on your site. There are a lot of bugs in 4.001 but I didn't find the problem you are experiencing.
    One place I would look is to search for the language key relating to the "Ideal match description". Yours appears to be corrupted and is shown as:
    Ideal match `desc`ription.

    Perhaps you did this for a reason, but there isn't a matching key in the language file so I suspect not. Plus it isn't such a hot idea. The point is that it appears you picked up a couple of single quotation marks in that particular place and misplaced quotes can cause real havoc.

    Depending on the number of modifications you have done. You might want to start with the original files for those that you find a misplaced single quote.

    Just a suggestion.

  5. #5

    Join Date
    May 2005
    Posts
    27

    Default Version 4 Errors

    Hi Rob,

    That is just my point. I have replaced the language file as i have received it from aeWeb... No mods done... Still the same..

    Will try to find the problem... btw i like your join php... for sale?

    Keep well

    Rusty

  6. #6
    vivimos
    Guest

    Default

    Hi Rusty,

    I didn't mean to indicate that the language file was the problem, but rather the program that called the language problem.

    I looked a little further and found that the language key "_Ideal match description" is in the ProfilesDesc table in the database. It is in the 'namedisp' column of the 'DescriptionYou' row. So, check your ProfilesDesc table closely as it is not in agreement with the 4.001 download.

    By the way the name is Carl. New to this forum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. installed 6.1.4 instead of clean version can revert to clean version now?
    By birkenstam in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 07-22-2009, 11:40 PM
  2. Getting errors
    By silverado350 in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 08-28-2008, 03:03 AM
  3. New Version of Dolphin out now 6b3 version
    By ArnMan in forum Dolphin General Discussion v6.00 and above
    Replies: 6
    Last Post: 08-29-2007, 02:59 PM
  4. Done, but with errors
    By skyhawk85u in forum General Issues, Comments, Questions
    Replies: 12
    Last Post: 05-29-2007, 08:12 PM
  5. errors in log
    By lordhagar in forum General Troubleshooting
    Replies: 2
    Last Post: 05-04-2006, 02:39 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
  •