Results 1 to 6 of 6

Thread: v3.3: Profile Fields / Sex / Looking For

  1. #1
    Drakontas
    Guest

    Default v3.3: Profile Fields / Sex / Looking For

    I'm having trouble following the aeDating Manual where it instructs me how to modify existing profile fields.

    I've upgraded to ae3.3, but the manual is the PDF 3.2. The specific area is:
    4) Adding / editing fields in profile description
    located on page 40 in the manual I have downloaded.

    I am supposed to be able to edit various profile fields such as SEX and LOOKING FOR. My goal is to correctly add:
    Man
    Woman
    Gay Couple
    Bi Couple
    Transsexual
    Transvestite
    Transgender
    to both SEX and LOOKING FOR.

    According to the instructions, through the ADMIN PANEL I must select
    PROFILE FIELDS and then SEX (as an initial example).

    In the DROP-DOWN CHOICES I enter the selections I want:
    Man
    Woman
    Gay Couple
    Bi Couple
    Transsexual
    Transvestite
    Transgender
    and then press UPDATE at the bottom of the screen.

    I am then instructed to add the following to the LANGS/lang-English.php file:
    case '_Sex_caption': return 'Sex';
    case '_Man': return 'Man';
    case '_Woman': return 'Woman';
    case '_Gay Couple': return 'Gay Couple';
    case '_Bi Couple': return 'Bi Couple';
    case '_Transsexual': return 'Transsexual';
    case '_Transvestite': return 'Transvestite';
    case '_Transgender': return 'Transgender';

    I add it to the language file, upload it to the server and press CONTINUE.

    Now the new selections appear, but I get an error code beyond the main page. If I go to my main index page and press SEARCH (using the DEF template) I receive an error message:
    Warning: Invalid argument supplied for foreach() in /siteaddress.com/inc/profile_disp.inc.php on line 574

    So I need to correct something in profile_disp.inc.php on line 574 but I don't know what.

    Any help would be greatly appreciated.

    Thank you,
    Steven
    San Francisco, CA

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

    Default Re: v3.3: Profile Fields / Sex / Looking For

    Check your emails - when you get a database access error - aeDating will send you an email (if your header.inc.php is setup correctly) with the bad database command (query).

    Fix that first....

    And I am willing to bet your

    Warning: Invalid argument supplied for foreach() in /siteaddress.com/inc/profile_disp.inc.php on line 574

    Is related to a problem in your database..

    You database is not "corrupt" - just configured incorrectly.

    Any help would be greatly appreciated.
    That's why we are here.

    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
    Drakontas
    Guest

    Default

    I seem to have corrected the error.

    The problem occured when I updated to 3.3... I had forgotten to properly update the States into the respective files. Once the States were added the error message disappeared.

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

    Default

    Quote Originally Posted by Drakontas
    I seem to have corrected the error.

    The problem occured when I updated to 3.3... I had forgotten to properly update the States into the respective files. Once the States were added the error message disappeared.
    I assume you mean you did not have the states in proc.inc.php

    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.

  5. #5
    Drakontas
    Guest

    Default

    That's right. The database had remained configured with the necessary query text in the ProfilesDesc field, but the additional coding that belonged in:
    inc/prof.inc.php and
    langs/lang-English.php
    was not present.

    If anyone else has encountered a similar error, instructions to install the States can be found at:
    How to add the 'State' field to the database?

    The error code was negligence on my part. I have to figure out a way to write down and record the minor customizations I make to the script.

    Thanks,
    Steven
    Last edited by Smoge; 11-08-2005 at 10:47 AM.

  6. #6
    Angeldust's Avatar
    Join Date
    Jun 2005
    Posts
    36

    Default

    Warning: Invalid argument supplied for foreach() in /siteaddress.com/inc/profile_disp.inc.php on line 574

    i've had this problem to the only way to fix it that i know is reinstall

    that worked fine for me, i spend to much time trying to fix it

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Profile fields help
    By Indiana in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 12-13-2008, 06:21 AM
  2. Profile Fields
    By bebtt in forum Dolphin General Discussion v6.00 and above
    Replies: 29
    Last Post: 02-24-2008, 02:03 PM
  3. Add profile fields
    By kylerichards in forum General Troubleshooting
    Replies: 1
    Last Post: 01-22-2008, 08:53 AM
  4. Profile Fields System 4.1 IQ
    By banjovi in forum General Troubleshooting
    Replies: 6
    Last Post: 03-05-2006, 12:34 PM
  5. 4.0. bug in profile fields?
    By milannbg in forum Bugs and Fixes
    Replies: 7
    Last Post: 08-29-2005, 03:24 PM

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
  •