Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpg 1.4.x upgrade to 1.5.x picture view=0  (Read 7890 times)

0 Members and 1 Guest are viewing this topic.

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
cpg 1.4.x upgrade to 1.5.x picture view=0
« on: September 21, 2011, 07:57:41 am »

Hello

My web cpg 1.4.x upgrade to  1.5.x an error occurred.

The posted picture watch the number of zero

See  http://www.sega.com.tw/photo   (Chinese Big5)

What can you teach me how to fix this error?

Thank you.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #1 on: September 21, 2011, 09:04:03 am »

Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #2 on: September 21, 2011, 11:08:19 am »

Seems to work as expected to me: http://www.sega.com.tw/photo/thumbnails.php?album=topn

Hello 

I think you misunderstood what I mean.
see http://www.sega.com.tw/photo/thumbnails.php?album=328   
views = 0

Thank you for help.
Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #3 on: September 22, 2011, 02:02:47 am »

Hello 

I think you misunderstood what I mean.
see http://www.sega.com.tw/photo/thumbnails.php?album=328   
views = 0

Thank you for help.

I remember in the CPG 1.4.x count is normal, after the upgrade to counter the failure CPG 1.5.x
Thank you for your help.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #4 on: September 22, 2011, 07:28:34 am »

Try the following. Restore your cpg1.4.x database and run update.php again.

Additionally, your gallery currently doesn't count my view. So you could also try to replace all cpg1.5.x core files (like you did during the upgrade).
Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #5 on: September 22, 2011, 10:55:48 am »

Try the following. Restore your cpg1.4.x database and run update.php again.

Additionally, your gallery currently doesn't count my view. So you could also try to replace all cpg1.5.x core files (like you did during the upgrade).

Thank you for your answer.
I tried the database back to 1.4 count is normal, but once the upgrade 1.5.x can not count.
Is there any way I can fix counting.
Thanks again for your answer.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #6 on: September 22, 2011, 10:58:50 am »

Please attach a dump of your cpg1.4.x database to your next reply.
Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #7 on: September 23, 2011, 06:00:11 am »

Please attach a dump of your cpg1.4.x database to your next reply.

Hello,

I checked my backup, CPG1.4.x the MySQL database have been removed so I can not restore the previous version of cpg 1.4.x database.

You see before the picture counts are cpg 1.4.x left behind in the count of function after upgrade cpg1.5.x no action.

Do not know that there is no way to repair the counting function.

Thank you for your answer.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #8 on: September 23, 2011, 09:10:12 am »

I thought your picture counts were reset to 0, but from what I read now all pictures with 0 views has been uploaded after the upgrade to cpg1.5.x?

Please check the following configuration section: http://documentation.coppermine-gallery.net/en/configuration.htm#admin_count_file_hits
Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #9 on: September 23, 2011, 09:35:53 am »

I thought your picture counts were reset to 0, but from what I read now all pictures with 0 views has been uploaded after the upgrade to cpg1.5.x?

Please check the following configuration section: http://documentation.coppermine-gallery.net/en/configuration.htm#admin_count_file_hits

Hi

I have followed your suggestion to complete the set.

In addition, I re-run update.php to complete the message as attachments.

Thank you for your answer.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #10 on: September 23, 2011, 10:39:56 am »

Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #11 on: September 23, 2011, 11:11:45 am »

Means: enable that option to count views.

Thank you
I finally understand what you mean
Has been set, the original is not broken, but after the upgrade the default is not checked, is now set up.

Thank you.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #12 on: September 23, 2011, 11:19:09 am »

I just viewed some pictures in your gallery and the counter works as expected now.


you can tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged

leopc001

  • Coppermine newbie
  • Country: tw
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Sega photo Storage Gallery
Re: Re: cpg 1.4.x upgrade to 1.5.x picture view=0
« Reply #13 on: September 23, 2011, 02:00:02 pm »

I just viewed some pictures in your gallery and the counter works as expected now.

Thank your help very much.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.