Nov 21, 2009

Mysqli Error - Phpbb3

free web hosting
Open Discussion > MODERATED AREA > Trapper's Secret HideOut

Mysqli Error - Phpbb3

csp4.0
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?

Comment/Reply (w/o sign-up)

FraKture
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?

Comment/Reply (w/o sign-up)

csp4.0
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?

Comment/Reply (w/o sign-up)

jlhaslip
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.

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : mysqli, error, phpbb3

  1. Page Load Error When Trying To Get Into Control Panel
    I just changed domain (2)
  2. Hosting Problem [resolved]
    403 Forbidden Error occurs whenever I try to access my site (22)
    First off, let me say that I have spent considerable effort and time going through the forums
    seeking solutions for this problem. I have even gone as far as to seek help from the Xisto Live
    support team (they suggested I wait 2 hours and then get back to them. Well I did that, and there
    has been no change, and live support is now down). I've also tried changing permissions on both
    files and folders via Cpanel, but to no avail. I still end up with the same error: QUOTE
    Forbidden You don't have permission to access /index.php on this server. Additionally, a 4....
  3. Wordpress Error - Bytes Exausted [resolved]
    NextGEN Gallery (7)
    Hey, I have just gotten my blog up and migrated it from my own webserver. I have fixed up most
    problems but one issue remains. When I try to upload an image to NextGEN Gallery I get and error
    when it tries to generate a thumbnail. QUOTE Fatal error: Allowed memory size of 33554432 bytes
    exhausted (tried to allocate 1992 bytes) in
    /home/samlock/public_html/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php on line 183
    It does it for EVERY image size, so it's not because of a big image. Help, please.....
  4. My Opinion On Phpbb3.x.x
    phpBB3.x.x is better than all the others! (10)
    This is my opinion only. Feel free to correct me or if you think otherwise... NOTE: I am NOT
    advertising phpBB and I do NOT get any profit in making this post /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Invision Power Services'
    Invision Power Board (IPB), although very popular doesn't have enough new features and
    flexibility to keep it going against the free forum software... Jellsoft's popular "vBulletin"
    is becoming more and more popular these days with most of the gaming and web community. Though
    because of it's....
  5. Phpbb3 - Error 28
    (5)
    I get the following error when I try changing a users group of my Phpbb3 powered forums. QUOTE
    SQL ERROR Got error 28 from storage engine SQL SELECT ug.*, g.* FROM groups g, user_group ug
    WHERE ug.user_id = 83 AND g.group_id = ug.group_id ORDER BY g.group_type DESC, ug.user_pending ASC,
    g.group_name BACKTRACE FILE: includes/db/mysql.php LINE: 158 CALL: dbal->sql_error() FILE:
    includes/acp/acp_users.php LINE: 1881 CALL: dbal_mysql->sql_query() FILE:
    includes/functions_module.php LINE: 471 CALL: acp_users->main() FILE: adm/index.php LINE: 74 CALL:
    p_master->l....
  6. Error 28 (on Phpmyadmin)
    What does this error message mean? (11)
    I have a shopping cart system on my website. It always worked before, but all of a sudden, when I
    try to access it i get "Got error 28 from storage engine". Has that got something to do with the
    recent problems again, or can someone tell me what this error message means? Thanks. After posting
    this I noticed I cannot get into my PHPAdmin anymore. It gives loads of errors: QUOTE Warning:
    session_write_close() : SQLite: session write query failed: database is full in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: session_write_close() :
    Fai....
  7. Page Load Error When Accessing Cpanel
    (0)
    Not sure what the issue is. I cannot even load up any of the cpanel's to allow me to put in a
    password. I have tried the link that is located in the Credit System 2.0 I have tried the links
    with subdomain/cpanel I have tried the links with subdomain:2082 All 3 of these just give page
    load errors. Please note : This isn't a "my password doesn't work" thread. This is a "I
    can't even get cpanel to TRY to load" thread. Thanks in advance.....
  8. Coppermine Gallery Error
    (2)
    Okay.. so i have my gallery set up at photos.chantellepaige.org and everytime i try to access it i
    get this error "Coppermine critical error: Unable to connect to database ! MySQL said: Access
    denied for user 'giselle_copp1'@'localhost' (using password: YES)" how do i change
    the password etc?? or fix the problem??....
  9. Phpmyadmin Error [resolved]
    (7)
    I get this error message each time I attempt to work phpMyAdmin. QUOTE Cannot start session
    without errors, please check errors given in your PHP and/or webserver log file and configure your
    PHP installation properly. Help would be very grateful.....
  10. 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.....
  11. 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....
  12. 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 are logged in if(isset($_COOKIE )) { $username = ....
  13. 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. ....
  14. 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....
  15. 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.trap17.co....
  16. 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 it s....
  17. 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)....
  18. 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???....
  19. 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 ....
  20. 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....
  21. '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....
  22. 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?....
  23. 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?....
  24. 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') called a....
  25. 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....
  26. 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" />....
  27. Error Code In Subscriptions Page
    problems subscribing to topics (5)
    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.....
  28. Wordpress Installation Error [resolved]
    Anything to change in the wp-config.php file? (4)
    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 // ** MySQL settings ** // de....
  29. Error Using "move_uploaded_file()"
    Permission denied to perform this action (5)
    I, on my website, have employed a page to upload files on my website. But I'm having problems
    using it. When the file is uploaded to the 'temp' directory of my account, and when I use
    the function 'move_uploaded_file()' to move this file into the actual directory, it returns
    the error move_uploaded_file(ABD.jpg): failed to open stream: Permission denied
    move_uploaded_file(): Unable to move '/tmp/phpF5SqzC' to 'ABD.jpg' please help me
    what should now I do with this.. I also tried changing the mode of the 'temp' directory to
    7....
  30. 403 Forbidden Error When Accessing My Site
    (12)
    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....

    1. Looking for mysqli, error, phpbb3
Similar
Page Load Error When Trying To Get Into Control Panel - I just changed domain
Hosting Problem [resolved] - 403 Forbidden Error occurs whenever I try to access my site
Wordpress Error - Bytes Exausted [resolved] - NextGEN Gallery
My Opinion On Phpbb3.x.x - phpBB3.x.x is better than all the others!
Phpbb3 - Error 28
Error 28 (on Phpmyadmin) - What does this error message mean?
Page Load Error When Accessing Cpanel
Coppermine Gallery Error
Phpmyadmin Error [resolved]
Phpmyadmin Error - Not able to enter PhpMyAdmin
Phpbb Mods That You Should Get For Your Phpbb3 Forum - only for phpBB3.0.x though...
Parse Error: Syntax Error, Unexpected '<' On Line 29
Keep Getting Socket Error - mail won't send.
Email Creation Error - Not receving emails, can't create new account
Help: Internet Server Error
Error During Upgrade [resolved] - Xisto tells me to contact Admin
Help! Forum Error Please Reply
Suspended Account Error [resolved]
Installing Joomla And Shell Question - i get error when i trayed to install joomla i get some
Error
'page Not Found' Error [resolved]
Error Using Fantastico!
Making Custom Error Pages With Cpanel - Not working properly
Error Trying To Edit File Using Cpanel Filemanager - Can't save any changes
Error In Credits [resolved]
Trying To Install Phpbb3 [resolved] - but getting 'Error 404'
Error Code In Subscriptions Page - problems subscribing to topics
Wordpress Installation Error [resolved] - Anything to change in the wp-config.php file?
Error Using "move_uploaded_file()" - Permission denied to perform this action
403 Forbidden Error When Accessing My Site

Searching Video's for mysqli, error, phpbb3
See Also,
advertisement


Mysqli Error - Phpbb3

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com