vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vBulletin Database Error (https://vborg.vbsupport.ru/showthread.php?t=271719)

Shadow 10-09-2011 06:58 PM

vBulletin Database Error
 
Alright, for the past hour or so, my site has been spitting out Database Errors. Now, the problem is, i don't know how to fix this because the email that is used for sending the DB Error logs isn't receiving the emails.

So now, i'm stuck with a non working website and confused members. Any suggestions guys?

Thanks in advance.

EDIT: Just to let you know, the most recent site/server change was to the "php.ini" file to increase the Maximum Memory Limit. No other changes have been made recently.

Reycer 10-09-2011 07:11 PM

Can't help ya if we don't know the Database Error you are getting.

Shadow 10-09-2011 07:18 PM

I understand that but I'm trying to find out what's wrong with the site myself but i'm not getting the emails and was wondering if there's another way to find out the cause.

Thanks though.

Max Taxable 10-09-2011 07:18 PM

Quote:

Originally Posted by Shadow786 (Post 2255244)
Alright, for the past hour or so, my site has been spitting out Database Errors. Now, the problem is, i don't know how to fix this because the email that is used for sending the DB Error logs isn't receiving the emails.

So now, i'm stuck with a non working website and confused members. Any suggestions guys?

Thanks in advance.

EDIT: Just to let you know, the most recent site/server change was to the "php.ini" file to increase the Maximum Memory Limit. No other changes have been made recently.

How did you edit this file? As in, what program was used?

Reycer 10-09-2011 07:24 PM

Quote:

Originally Posted by Shadow786 (Post 2255248)
I understand that but I'm trying to find out what's wrong with the site myself but i'm not getting the emails and was wondering if there's another way to find out the cause.

Thanks though.

Look in your error logs on your server.

Shadow 10-09-2011 07:25 PM

Notepad++ was used.

Max Taxable 10-09-2011 07:29 PM

Quote:

Originally Posted by Shadow786 (Post 2255252)
Notepad++ was used.

Just as I'd assumed.

Notepad sometimes adds characters at the top or the bottom of these files, that you cannot see but WILL mess things up. If you have this file still in your vB packet, upload it to your server, to overwrite back to default. If not, must edit files with something like TextEdit, which is a free utility. You will see the added characters using TextEdit that you won't see using notepad.

Notepad is NOT for editing executable files or scripts.

Edit to add: I am not assuming the php.ini file is your problem, I am merely trying to eliminate it as a suspect.

Shadow 10-09-2011 07:35 PM

Ah i get you. Thanks for that.

One thing though, TextEdit doesn't appear to be for Ubuntu or for Windows (My Operating Systems). Can you suggest an alternative please?

Max Taxable 10-09-2011 07:39 PM

Quote:

Originally Posted by Shadow786 (Post 2255257)
Ah i get you. Thanks for that.

One thing though, TextEdit doesn't appear to be for Ubuntu or for Windows (My Operating Systems). Can you suggest an alternative please?

I use TextEdit with windowsXP no problem and it also integrates with my FileZilla FTP..

The first thing I would do though, were I you, is save a copy of your php.ini file as it is, then upload the stock one to overwrite on your server and see if this database error problem goes away. Then you can solve the mystery of file editing at a later time.

Let's see if your edits to this file are indeed causing the errors.

Shadow 10-10-2011 01:31 PM

Yeah, I figured it out. I was looking at the TextEdit that comes bundled with OSXM my mistake.

I tried what you suggested and then rebooted my server but still no joy.


All times are GMT. The time now is 03:34 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.01991 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete