+ Reply to Thread (include dating software, release, and patch number!)
Results 1 to 3 of 3

Thread: Picture Will NOT post as Primary

  1. #1
    justmedanny
    Guest

    Default Picture Will NOT post as Primary

    Hi, I'm trying to see if anyone has the same problem as I do, and hopefully a possible solution.

    I installed 5.6 and the installation went smoothly. People uploaded their photos and so did I. THere were thumbnails coming through and then some members complained that they could not set their primary photos. I did realize that the photos first have to be approved before they are displayed. I approved all photos and went to the database to manually check to make sure they were set. They were. But those members whos pictures I approved could not set any picture as the primary or thumbnail. I was able to set a picture to my primary and it displayed but when I deleted that picture and reuploaded another picture and try to set that new picture as primary it would not take.

    No I looked in the data base at the "media" and "profiles" tables. The "media" table would set the correct med_id number but what I noticed is that in the field "PrimPhoto" within the "Profiles" table, it would not get the updated med_id number that coincides with the "Media" table. I know that this is the problem because if I manually change the "PrimPhoto" number within the "Profiles" table to the same as the number in "med_id" field in the "media" table then the tumbnail shows up.

    What I don't know is what php file or form is not updating the "Profiles" table in my database.

  2. #2

    Join Date
    Sep 2006
    Posts
    429

    Default

    Interesting.

    I did a fresh install and it seemed to work ok, but I did not thuroughly test.

    Then I did a test upgrade from 5.5 to 5.6, and BANG - I have the same problem but only with pre-existing photos. New photos upload ok, but all photos that existed prior to the upload . . . only show as thumbs but not primary.
    Anyone who has a banana can eat it!

    From 0 to 6.0 in 3.5

  3. #3
    worshiploud
    Guest

    Default

    Looks like PrimPhoto stands for "Prime Photo" or The photo to represent the profile and the main photo for that profile.

    The media table has files listed by med_id which is media ID. The media ID is the unique number given to each file uploaded. This Media ID is placed in the PrimPhoto field when that media file is selected to be the main photo for that profile.

+ Reply to Thread (include dating software, release, and patch number!)

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Primary Photo goes bye-bye
    By bigal0228 in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 10-14-2009, 06:28 AM
  2. Primary Photo not showing?
    By quantumkangaroo in forum General Troubleshooting
    Replies: 7
    Last Post: 07-05-2007, 10:28 AM
  3. "Failed to make thumb out of primary!"
    By Justa in forum General Troubleshooting
    Replies: 0
    Last Post: 02-12-2007, 11:29 AM
  4. Failed to make thumb out of primary!
    By lansin in forum General Troubleshooting
    Replies: 1
    Last Post: 01-04-2007, 09:00 PM
  5. Primary Keys
    By Greggers in forum General Issues, Comments, Questions
    Replies: 1
    Last Post: 01-19-2006, 06:34 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