Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: INVISIBLE COMMENTS  (Read 2116 times)

0 Members and 1 Guest are viewing this topic.

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
INVISIBLE COMMENTS
« on: May 09, 2008, 11:06:31 am »

Hello guys!! Sorry but I have a little problem with a site, well I moved the site to a new host some months ago, but the problem is that I saved part of the .sql file, so the comments on the pictures are saved, but I had to upload all the pics again so the names of the pics are not the same! Now I have like 10 comments invisible because I can see them in the in the .sql file but not in the site, I think because the pic of that comment is not named as it was before moving the gallery! I wanted to know if there is a way to know the name of that picture, the name it had, so I can have that comment matched to that picture!

Quite complicated and perhaps I wasn't very clear...I know... but probably you can help me...!

Thanks!!
Logged

Nibbler

  • Guest
Re: INVISIBLE COMMENTS
« Reply #1 on: May 09, 2008, 11:26:21 am »

It's not about names but the order you uploaded them. Edit the comments table in phpmyadmin and make sure the pid on the comments table lines up with the pid in the pictures table.
Logged

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: INVISIBLE COMMENTS
« Reply #2 on: May 12, 2008, 11:12:45 am »

Uhm sorry but I dind't understand very well...what do you mean with pid?? sorry for my ignorance :P
Logged

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: INVISIBLE COMMENTS
« Reply #3 on: May 12, 2008, 11:15:26 am »

:o Ok! I found the pid, but I saw that in pictures there is:

     pid     int(11)               No         auto_increment

While in comments:

     pid     mediumint(10)               No     0     

What do I have to do?!
Logged

Nibbler

  • Guest
Re: INVISIBLE COMMENTS
« Reply #4 on: May 12, 2008, 12:12:39 pm »

Browse through the comments table and make sure the pid in the comments table is pointing to the correct picture. If it is wrong then change it.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.