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: Critical errors for some visitors, unknown cause  (Read 7918 times)

0 Members and 1 Guest are viewing this topic.

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Critical errors for some visitors, unknown cause
« on: March 16, 2011, 03:21:15 pm »

Hello. I am receiving emails from my visitors that they cannot access my media coppermine. Some can still browse and only get the 'Critical Error' once they click on the file they want to open. Others get it immediately after they login and try to browse. I myself and many others aren't getting errors, so I cannot reproduce it but I noticed that it is increasing by the emails I am receiving this week. I have updated the coppermine version succesfully. I've put the gallery on debug mode so hopefully one of you pro's would have a look if you can please? http://Http://www.simplybrad.com/bpmedia is the url. It only contains zips. I also noticed that even tho I enabled all the options available, still a lot of bots are registrating. Perhaps that is also part of the error? Just fyi.

Also, I already asked the visitors to try accessing without firewall/virusprogram or from a different browser or pc, it all didn't fix it for them. I have another coppermine with just images and that one isn't giving problems.
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #1 on: March 16, 2011, 03:22:38 pm »

www.simplybrad.com/bpmedia would be the url.
Logged

Nibbler

  • Guest
Re: Critical errors for some visitors, unknown cause
« Reply #2 on: March 16, 2011, 03:27:50 pm »

Enable logs in config - that will record the errors as they happen.
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #3 on: March 16, 2011, 03:37:57 pm »

Ok, done.
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #4 on: March 16, 2011, 03:43:42 pm »

One of my visitors just emailed me the error, a database query I do not know if that is safe to post here. Let me know :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Critical errors for some visitors, unknown cause
« Reply #5 on: March 16, 2011, 04:55:42 pm »

Please post that error here. Have upgraded your gallery from cpg1.4.x (or earlier)?
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #6 on: March 16, 2011, 04:58:09 pm »

No I upgraded it from your last patch, I'm quite secure about that :) so that was 1.5.8 i think.

Code: [Select]
<span>While
 executing query 'INSERT INTO cpg_hit_stats SET pid = 938, search_phrase
 = '', Ip   = '117.199.59.138', sdate = '1300285780',
referer='<a target="_blank" href="http://www.bradpittmedia.com/">http://www.bradpittmedia.com/</a>', browser = 'Firefox', os =
'Windows Vista', uid ='8605'' in include/functions.inc.php on line 2765

mySQL error: Table './josan_copp1/cpg_hit_stats' is marked as crashed
and should be repaired
</span>
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Critical errors for some visitors, unknown cause
« Reply #7 on: March 16, 2011, 05:06:06 pm »

Quote
mySQL error: Table './josan_copp1/cpg_hit_stats' is marked as crashed and should be repaired
Please repair that table.
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #8 on: March 16, 2011, 05:07:41 pm »

No idea how to do that  ???
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #10 on: March 16, 2011, 05:56:54 pm »

Looks risky, I'll ask my host for support in this.

But, is this what is causing my before mentioned problems?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Critical errors for some visitors, unknown cause
« Reply #11 on: March 16, 2011, 06:14:15 pm »

Looks risky, I'll ask my host for support in this.
Quote
REPAIR TABLE cpg_hit_stats;
doesn't look risky imo, but okay :)


But, is this what is causing my before mentioned problems?
Probably. Maybe other tables also crashed and need to be repaired.
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #12 on: March 16, 2011, 06:20:33 pm »

Cause you're a pro. Once googled it says I could lose stuff and all. But have asked my host and they fixed it they said. Thanks for the support :)
Logged

Josan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Critical errors for some visitors, unknown cause
« Reply #13 on: March 16, 2011, 10:22:54 pm »

Now I get these errors:

# Notice line 4310: Undefined variable: result
# Warning line 6348: mb_strlen() [function.mb-strlen]: Unknown encoding "language file"
# Warning line 6297: mb_strlen() [function.mb-strlen]: Unknown encoding "language file"

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.