csp4.0
Mar 11 2008, 09:04 AM
| | Ok, my forum (phpbb3) works but sometimes it displays this message
CODE General Error SQL ERROR [ mysqli ]
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
This normally happens about once a week for about 2 minutes but it is really getting annoying. I installed phpbb3 fine, it didn't show any errors.
But the main thing is that before this happens normally I can't connect to my website (obelisk.trap17.com) it either takes forever to load or shows the "connection has been reset" error.
Then it goes to this error message. It lasts for about 2-3 minutes but 5 minutes max.
Is there anyway to solve this problem? |
Reply
FraKture
Mar 12 2008, 09:44 PM
hmm i have had the same problem with phpbb2. try going to their website. phpbb.com and go to the help section. maybe they will have an answer?
Reply
csp4.0
Mar 13 2008, 08:40 AM
hmm, I agree... Stopped... For now, for some reason this always happens at night, never have I seen this error in broad daylight, and also could it be because I used MySQLi instead of just MySQL?
Reply
jlhaslip
Mar 13 2008, 08:58 AM
I very much doubt that the cause of the problem is the use of PHP 5, which is the level of PHP on the Trap17 server. The improved MySql functions (Mysql'i' functions) were included in version 5 of PHP. Otherwise, many other members would be receiving the same errors. One likely cause of this error is a busy Mysql Server at the time you connect and process the pages. Or there could be a restricted 'pipeline' between you and the Server, at the ISP your members use, or between the multiple of the connections made between the Server and the end-users. Without further diagnosis, it is premature to suggest this is strictly a Server issue. It might be, but you do not have the data to support the claim that it is solely a Server issue. Sorry. The simple solution, until the Server is improved, or the Load Balancing gets tweaked, or the connections improve, is to simply hit the Reload button on the Browser. Pass the word amongst your visitors. Another issue is the amount of 'bloat' in the Software you are running. Phpbb3 is a feature packed Community Forum, with all the bells and whistles. How many mods have you added to the Vanilla package? All those Mods add demands (queries) on the database. Check out a less-bloated Forum Package, maybe. AEF Forums now have a convertor from Phpbb3 to AEF. Might be worth checking out??? The MySql Manual lists the following information about Error Number 2002, which you report above: QUOTE Error: 2002 (CR_CONNECTION_ERROR)
Message: Can't connect to local MySQL server through socket '%s' (%d) Where %s is a string value and %d is a numeric value. It also suggest that the Error Logs may contain more information about the source of the Error. Perhaps contacting the Support department at Xisto will resolve this issue. They will be able to do the checking of the Log files and better assist you in resolving this issue for you. http://www.xistosupport.com to register a Ticket.
Reply
Similar Topics
Keywords : mysqli, error, phpbb3
- Phpmyadmin Error [resolved]
(7)
Phpmyadmin Error
Not able to enter PhpMyAdmin (4) Currently I try to access my PhpMyAdmin and I get the following error displayed among the screen:
My PhpMyAdmin worked prior the migration but suddenly stopped working after. I wanted to know if
anyone else is getting this error also or anyway can help me fix this o.o.....
Phpbb Mods That You Should Get For Your Phpbb3 Forum
only for phpBB3.0.x though... (9) For those of you who are hosted on Trap17 and using phpBB3.0.x you might want to consider adding
some mods... Some mods which I extremely highly recommend to get is: #1 "Anti-Bot Question" mod,
which adds a question like "can you see through glass?" (not actual example, result may vary),
according to many people who have tried the mod, it is REALLY useful at keeping low-medium level
advanced bots at bay, although some extremely complex advanced bots may still get through... I
personally don't have this mod, but I would install it if I have the time to... #2 "Evi....
Parse Error: Syntax Error, Unexpected '<' On Line 29
(11) ok when i try and access the page i want, iget the following error: Parse error: syntax error,
unexpected ' however, my page looks like this: QUOTE // Connects to your Database
$username = "evolved_creation"; $password = "mypasswordishere"; $hostname =
"localhost"; $dbh = mysql_connect($hostname, $username, $password) or
die("Unable to connect to MySQL"); $selected =
mysql_select_db("evolved_clancreation",$dbh) or die("Could not connect to DB");
mysql_close($dbh); //checks cookies to make sure they ar....
Keep Getting Socket Error
mail won't send. (3) When trying to send email, I keep getting a socket #10061 error. I use the Trap 17 smtp server,
related to my own domain, which is mail.vlaanderen-flanders.org.uk. This seems to be happening
regularly lately. Has anyone got any idea why this could be happening? Thanks for any support. ....
Email Creation Error
Not receving emails, can't create new account (3) Hi, When I try to create an email account in the CPanel, I get this error QUOTE The e-mail
account xxxxxxxx@ wildcatexotics.com with the login Sorry, you have exceeded the maximum allowed
email accounts. and password xxxxxxxx with a quota of unlimited megabytes was successfully created.
Can anybody help me out? And also My default email account is xxxxx@xxxx.com, but when I sent
myself an email from another account, I didn't receive any. Thank you....
Help: Internet Server Error
(20) Hello! I decided to try YaBB as a forum now, just testing....and ... Well first my question is,
this is in ADDONSCRIPTS, not FANTASTICO, whats the difference? Secondly, about my problem: I was
in the YaBB admin panel, I got through the Forum Settings, got to Advanced settings, filled out the
info, and pressed save. The 5000 times I have tried this, I get this: QUOTE Internal Server
Error The server encountered an internal error or misconfiguration and was unable to complete your
request. Please contact the server administrator, webmaster@sherwoodinfo.trap1....
Error During Upgrade [resolved]
Xisto tells me to contact Admin (3) While trying to upgrade my hosting account (I got an email I was approved), I encountered the
following: When I clicked on the link in my confirmation email, I was taken to the Xisto menu page,
where I selected "Upgrade your hosting account". I was then asked to enter my forum username and
password, and was then taken to the upgrade page, but almost immediately got the message: "There
were problems creating your account! Please Contact Administrator." Then, underneath, it said:
"Debug Info", followed by two lines with nothing in between them, and below the two lines ....
Help! Forum Error Please Reply
(4) I'm very sorry for making so many topics, but just now I can't get to my forum because of
this! QUOTE Fatal error: Cannot redeclare addlinenumbers() (previously declared in
/home/omega/public_html/Sources/Subs.php:3671) in /home/omega/public_html/Sources/Subs.php on line
3721 Help me please! (PS: sorry for being so dumb)....
Suspended Account Error [resolved]
(12) OK, my hosting account was upgraded so my hosting credits were set to 0. I went to stay with my
sister for a couple of days and when I got back I had -4 hosting credits and my account was
suspended. I've now got 6 hosting credits. My main site is working but all of the addon
domains I added go to the Suspended Account Page. What do I do???....
Installing Joomla And Shell Question
i get error when i trayed to install joomla i get some (0) i get error when i trayed to install joomla about the default premising check this out i have set
the file premising to 777 and to 755 and the same problem what to do where to fix this
http://zam.trap17.com/earn-money/installation/index.php and in my hosting plans i did see shell
access but i cant it at my cpanel why ??? ---UPDATE--- will i have been able to install joomla
thanks but i still asking about the shell account double post merged ....
Error
(6) there is a problem with my subdoman it keeps coming up with blank everytime i click here
http://www.street-warz.trap17.com/ it shudnt be coming up blank it should come up with a game login
plz sort this....
'page Not Found' Error [resolved]
(8) Heyhey, I've been approved this morning for a plan #2 hosting package, so I went to he link in
my mail. I've filled in all the fields and also filled in my domain: www.ancient-armada.com The
setup was pretty fast and without problems. After all was set up, I tried to log into the Cpanel by
IP, but that didn't work... It gave a 'page not found' error. I know for my domain it
can take up to a few days before it works, but with the IP, I should be able to log into Cpanel,
right? Thanks in advance....
Error Using Fantastico!
(4) Well I've just registered a free hosting account today and first I had a problem logging into my
cPanel but it's okay now. And now after I logged into my cPanel, when I try to use fantastico I
get this error: QUOTE Not Found The server was not able to find the document
(./frontend/rvblue/fantastico/index.php) you requested. Please check the url and try again. You
might also want to report this error to your webhost. cpaneld/11.2.2 Server at
www.thedebate.trap17.com so what's the problem? and how can I fix it?....
Making Custom Error Pages With Cpanel
Not working properly (4) I set up the custom error pages using CPanel, but they aren't working properly. I get the
standard error code. CODE The requested URL was not found on this server. Additionally, a 404
Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Plust that little bit on the end. Am I doing something wrong or is it something that needs to be
handled by an admin?....
Error Trying To Edit File Using Cpanel Filemanager
Can't save any changes (8) Okay, I am having trouble saving changes to a .css file using the cpanel filemanager. Basically it
worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at
me every time I click save!! I cannot delete, move, rename or edit the file at all using an
ftp manager or even the cpanel. I have been forced to take my site offline until I have access to
update the css... Please help! QUOTE open compiled.css failed: Permission denied at
cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied....
Error In Credits [resolved]
(0) well after about 80% of posting at the gfx forums i nothest something was wrong about it,i posted
there about 4 times and just got 1 post,but it doesn't say no post counts,so i wonder why i need
more than 1 post to get a post count there,?? can some1 explain plz NEVERMIND DELETE THIS POST I
MISSED READ AGAIN CAUSE THIS DOENS"T SHOW ON THE MAIN PAGE< PLZ CHANGE THAT SO ITS MORE VISIBLE....
Trying To Install Phpbb3 [resolved]
but getting 'Error 404' (0) Ok, ive uploaded al lthe files, but i get an 'Error 404' page every time i try to install
from the /install directory. I do know how to install php based forums, i have done it many times,
but im just trying to figure out why this one isnt working. Have tried going through the CHMOD
settings but that didnt work. Ugh nevermind, my FTP program wasnt telling me it kept on losing the
connections. Had to upload each file by myself /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" />....
Database Connection Problem
phpBB2 installation error (5) *edit* Ok well the original problem has been solved. I have installed phpBB2 on my new how here.
Transfered all of the database files over. On my new forums all of the old posts and everything
shows up right. The problem is when I click the "Go to administration panel" at the bottom it links
me to log into my ACP on my old forums. It changes the url and all. If I hover over the link it
says that it will be directed to the right way, the way I want, but it doesn't. Does anyone
know anyway to fix this?....
Mysql Access Error[resolved]
(5) The MySQL server is Down, please look into this soon. I'm with Trap17 for nearly an year but
never faced any issues witht the free hosting so far, but his is the first time I'm facing this.
Please kindly look into this.....
Php Version Difference Error
(1) hi, i had a site which had php coded in earlier version of php ,and gence i feel i am facing errors
like DB Error: unknown errorDB_Error Object ( => => 16 => 1024 => -1
=> DB Error: unknown error => select count(*) from osdate_views_winks where userid =
'143' and act_time > '1174236810' and act = 'V' => Array (
=> Array ( =>
/home/richie/public_html/libs/Pear/DB.php => 748 =>
PEAR_Error ....
Error Code In Subscriptions Page
problems subscribing to topics (3) I'm seeing some weird warning message show up at the top of my page when I go into "my
controls," then load my topic subscriptions page. At the top of the page, the following code appears
several times: IPB WARNING in_array() : Wrong datatype for second argument (Line: 2711 of
/sources/action_public/usercp.php) I'm guessing maybe that has something to do with the fact
I'm having problems subscribing to my topics and posts? Thanks in advance for your help.....
Wordpress Installation Error [resolved]
Anything to change in the wp-config.php file? (3) I've chosen to install WordPress manually and things were going well so far...until I hit an
installation error when I tried to run the install.php file on my browser. For the record, I
logged into CPanel and went into MySQL Databases, created the databases, the username and added the
user to the database - as suggested in the installation procedure. Perhaps there's a mistake in
my wp-config.php file that might've caused the error. If there's something I should change,
please let me know. Many thanks in advance. CODE <?php // ** MySQL settings....
Domain Change Error [resolved]
what is this??? (5) I bought my domain today on estdomains. I was happy that i finnaly have real domain! although it
was .info so i decided to change my domain! i clicked on change domain, entered my domain
www.themusiconly.info and after the processing i got this What do i don now? when i try to acces
my page i get error wrong page-lost file!! help me please /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />....
Error On Terminating My Hosting Account
I still appear as Hosted... wtf (3) Hey, I did the termination process, and my Website and Cpanel dissapeared as well, but the wrong
thing is that i still in the HOSTED group, so im still loosing credits. I know that my Credit
counter resets to a certain number but if i make post i will loose those credits /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> I found another post with
this same problem and it said it would be fixed, but its been almost 2 weeks since i terminated my
hosting and nothing happens... any help? its something relationed with the cpanel manteina....
Error When Trying To Log To Cpanel
Is it normal or? (1) i got these message QUOTE Sorry for the inconvenience! The filesystem mounted at / on this
server is running out of disk space. cPanel operation has been temporarily suspended to prevent
something bad from happening. Please ask your system admin to remove any files not in use on that
partition. what's it about?....
Ftp Error Code 553
I just couldnt find it... (9) When I'm uploading with my ftp client filezilla, it shows me this error: CODE
553-Can't open that file: Permission denied 553 Rename/move failure: No such file or
directory I remember experiencing this error before but I couldnt remember how to solve it, or
if I'm able to solve it... I've tried out and it seems that folders with the .htcaccess are
not affected by this and I've even try it on folders with CHMOD 777 and still get this error...
I did a search around the forum and it didnt bring me any result and even tried google it an....
I Can't Access My Forum. Please Help
SMF Forum error (8) When I tried access my site , the following words appeared : Can't open file:
'smf_sessions.MYI'. (errno: 145) How can I fix it ? Please help me , thank you. You can
try to access my site to check that problem by clicking here . The site can't open file is
caused by server down , right ? Thank you. NOTE : Sorry but the topic title I made is WRONG ,
I meant CAN'T access ( NOT can) editted topic title and added topic description. Members
can edit their own topic titles, too. ....
Error Message
not sure if it is because of trap17 or me (4) Ok i am getting an error message when i go on my site, i was on it then reloaded and got it, didnt
modifiy anything here it is: QUOTE Warning: mysql_connect(): Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (2) in
/home/bkag/public_html/Shop/includes/functions/database.php on line 19 Unable to connect to database
server! Any explanations would be greatly appriciated....
403 Forbidden Error When Accessing My Site
(10) umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
don't have permission to access / on this server. Additionally, a 403 Forbidden error was
encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t....
Looking for mysqli, error, phpbb3
|
|
Searching Video's for mysqli, error, phpbb3
|
advertisement
|
|