vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   includes>class_core.php issue (https://vborg.vbsupport.ru/showthread.php?t=118779)

Eq4bits 06-16-2006 02:06 PM

includes>class_core.php issue
 
Not sure if this is where this should be but here goes.

I seem to have something really weird happening.
In the last 24 hours this has happened a couple of times too and I can't figure out why.
Somehow an extra 'return' is getting added to the end, all by itself, of my includes>class_core.php file.
I get a vbulletin error notice by email when a user gets the error message:
Quote:

Database error in vBulletin :
mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
/home/*******/public_html/forums/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Friday, June 16th 2006 @ 09:48:42 AM
Script : http://www.*****.***/forums/index.php
Referrer :
IP Address : **.***.***.***
Username :
Classname : vb_database
So at least I know by now to go to my file manager, and open that file to check it and everytime theres this 'extra return'.. I take it out (backspace it out), save the file and that fixes it. Then less than 24 hours later it happens again. How or what is happening to make this extra line keep getting added?
I'm the only one with access to the the files, so what gives?

Alan @ CIT 06-17-2006 10:20 PM

That error isn't related to an extra return being added to the file. That error means that it couldn't connect to your MySQL server briefly. I'd suggest checking with your webhost if it happens often as it means your MySQL server keeps restarting.

Thanks,
Alan.


All times are GMT. The time now is 12:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00920 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete