Help please - php error message

The technical section

Moderator: Global Moderators

Rach
Posts: 360
Joined: Wed Nov 16, 2005 6:25 pm
Location: Tweeddale

Help please - php error message

Post by Rach » Mon Mar 17, 2008 8:05 pm

This is driving me mad - hope someone can help!
In the last couple of weeks I have had difficulty accessing 'talkingscot', mainly during the day. The error message usually says,
"phpBB could not connect to the database".
A couple of times it has said, "Coppermine Critical Error. Unable to connect to phpBB board database! MSQL said: Can't connect to local mySQL server through socket 'var/lib/mysql/sock' [111]."
I haven't added anything to the computer and I must say that although I have 'googled' both errors I am no further forward. I am very much a technical idiot and terrified of meddling with anything in case I really muck things up!
Grateful for any 'fairly simple' advice.
Rae
Names of interest: Perthshire- Taylor, McDonald, McRaw, Gould; Caithness- Cormack, Campbell, Sutherland; Berwickshire- Darling, Johnson, Whitlie, Forrest/Forrester/Foster, Barns/Barnes,Buglass/Bookless; Wilson, Thorburn, Cowe, Laing, Rae, Colven, Collin,

AndrewP
Site Admin
Posts: 6169
Joined: Sun Dec 12, 2004 1:36 am
Location: Edinburgh

Post by AndrewP » Mon Mar 17, 2008 8:24 pm

Hi Rae,

This is an ongoing problem with TalkingScot, not your PC. I have been in contact witrh TS's hosting company seeking a longer term solution.

All the best,

Andrew

Ina
Global Moderator
Posts: 1367
Joined: Wed Dec 08, 2004 6:46 am
Location: California,originally from Greenock.

Post by Ina » Mon Mar 17, 2008 8:29 pm

Hi Rae,

Not to worry, it's not your computer. We've all been having problems accessing the site these past few weeks.

I was so frustrated one day trying to access the site, that I felt like [comp-hammer]

It's the site that's having problems, and we hope that they get it sorted out soon.

Regards,

Ina

Rach
Posts: 360
Joined: Wed Nov 16, 2005 6:25 pm
Location: Tweeddale

Post by Rach » Mon Mar 17, 2008 8:37 pm

Hi Andrew and Ina,
Many thanks for the speedy replies. Thank goodness it's not my P.C and not a virus!
In between writing my message and your replies I lost it again - 'talkingscot' I mean and not my head!
It is still frustrating but at least I know what is happening now.
Rae
Names of interest: Perthshire- Taylor, McDonald, McRaw, Gould; Caithness- Cormack, Campbell, Sutherland; Berwickshire- Darling, Johnson, Whitlie, Forrest/Forrester/Foster, Barns/Barnes,Buglass/Bookless; Wilson, Thorburn, Cowe, Laing, Rae, Colven, Collin,

winslowsmom
Posts: 128
Joined: Mon Jun 20, 2005 10:35 pm
Location: Southern California

Post by winslowsmom » Tue Mar 18, 2008 12:57 am

I have an iMac and use the Firefox 1.5 browser (won't update something thats working fine)
I have not had any trouble accessing TS. I am on the site for 5 - 15 minutes
two or three different times every day and evening.

Letting you know in case it helps diagnose the trouble.

Cathy H

Tracey
Global Moderator
Posts: 2617
Joined: Fri May 13, 2005 10:27 am
Location: England

Post by Tracey » Wed Mar 19, 2008 11:14 am

Today i am getting ................


Could not insert search results
DEBUG MODE

SQL Error : 1062 Duplicate entry '1520241628' for key 1

INSERT INTO phpbb_search_results (search_id, session_id, search_array) VALUES(1520241628, 'c3fce7a57c0d7c3dbe76d20d0000a53e', 'a:7:{s:14:"search_results";s:103:"11378, 11399, 11418, 11419, 11420, 11429, 11430, 11432, 11433, 11434, 11435, 11436, 11437, 11438, 11439";s:17:"total_match_count";i:15;s:12:"split_search";N;s:7:"sort_by";i:0;s:8:"sort_dir";s:4:"DESC";s:12:"show_results";s:6:"topics";s:12:"return_chars";i:200;}')

Line : 700
File : search.php

I cant access "View posts since last visit" but i can use the rest of the site as normal.

Tracey
Scotland - Donaldson / Moggach / Shaw / Geddes / Sim / Gray / Mackie / Richards / Joel / Coull / Mckimmie / Panton / McGregor
Ireland and Scotland - Casey / McDade / Phillips / McCandle / Dinely / Comaskey + various spellings

Rach
Posts: 360
Joined: Wed Nov 16, 2005 6:25 pm
Location: Tweeddale

Post by Rach » Wed Mar 19, 2008 3:11 pm

Strangely enough, since I wrote my message I haven't had the problem once!
Rae
Names of interest: Perthshire- Taylor, McDonald, McRaw, Gould; Caithness- Cormack, Campbell, Sutherland; Berwickshire- Darling, Johnson, Whitlie, Forrest/Forrester/Foster, Barns/Barnes,Buglass/Bookless; Wilson, Thorburn, Cowe, Laing, Rae, Colven, Collin,

AndrewP
Site Admin
Posts: 6169
Joined: Sun Dec 12, 2004 1:36 am
Location: Edinburgh

Post by AndrewP » Wed Mar 19, 2008 3:41 pm

Tracey wrote:Today i am getting ................


Could not insert search results
DEBUG MODE

SQL Error : 1062 Duplicate entry '1520241628' for key 1

INSERT INTO phpbb_search_results (search_id, session_id, search_array) VALUES(1520241628, 'c3fce7a57c0d7c3dbe76d20d0000a53e', 'a:7:{s:14:"search_results";s:103:"11378, 11399, 11418, 11419, 11420, 11429, 11430, 11432, 11433, 11434, 11435, 11436, 11437, 11438, 11439";s:17:"total_match_count";i:15;s:12:"split_search";N;s:7:"sort_by";i:0;s:8:"sort_dir";s:4:"DESC";s:12:"show_results";s:6:"topics";s:12:"return_chars";i:200;}')

Line : 700
File : search.php

I cant access "View posts since last visit" but i can use the rest of the site as normal.

Tracey
Is this one cleared and working as normal for you now? The search is working fine for me. I think it should work for all, or fail for all. If it is still failing for you, I will do a database repair when I get home in a couple of hours.

All the best,

AndrewP

Tracey
Global Moderator
Posts: 2617
Joined: Fri May 13, 2005 10:27 am
Location: England

Post by Tracey » Wed Mar 19, 2008 7:59 pm

Hi Andrew

All is well now, thanks !

Tracey

edit............i just noticed your time of posting was a few hours before i got notification :)
Scotland - Donaldson / Moggach / Shaw / Geddes / Sim / Gray / Mackie / Richards / Joel / Coull / Mckimmie / Panton / McGregor
Ireland and Scotland - Casey / McDade / Phillips / McCandle / Dinely / Comaskey + various spellings