vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Odd DB Error-need a little help. (https://vborg.vbsupport.ru/showthread.php?t=252250)

Scalemotorcars 10-18-2010 05:47 PM

Odd DB Error-need a little help.
 
I keep getting this when I click the New Posts link.

"NOINDEX,NOFOLLOW,NOARCHIVE"

The source is

PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<
head>
    <
titleDatabase Error</title>
    <
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <
meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
    <
style type="text/css">
    <!--    
    
body background-colorwhitecolorblack; }
    
#container { width: 400px; }
    #message   { width: 400px; color: black; background-color: #FFFFCC; }
    #bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
    
.bodytext  font8pt/11pt verdanaarialsans-serif; }
    
a:link     font8pt/11pt verdanaarialsans-serifcolorred; }
    
a:visited  font8pt/11pt verdanaarialsans-serifcolor#4e4e4e; }
    
-->
    </
style>
</
head>
<
body>
<
table cellpadding="3" cellspacing="5" id="container">
<
tr>

    <
td><img src="./image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
    <
td id="bodytitle" width="100%">Database error</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The  database has encountered a problem.</td>
</
tr>
<
tr>
    <
td colspan="2"><hr /></td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">

        
Please try the following:
        <
ul>
            <
li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</abutton in your web browser.</li>
            <
li>Open the <a href="/">scalemotorcars.com</ahome pagethen try to open another page.</li>
            <
li>Click the <a href="javascript:history.back(1)">Back</abutton to try another link.</li>

        </
ul>
    </
td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The scalemotorcars.com forum technical staff have been notified of the errorthough you may <a href="mailto:webmaster@scalemotorcars.com">contact them</a> if the problem persists.</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>

</
tr>
</
table>


<!--
Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Unknown MySQL server host 'sqlc6.megasqlservers.com' (2)
/
services2/webpages/s/c/scalemotorcars.com/public/forum/includes/class_core.php on line 311

MySQL Error   

Error Number  
Request Date  MondayOctober 18th 2010 02:33:44 PM
Error Date    
MondayOctober 18th 2010 02:33:52 PM
Script        
http://scalemotorcars.com/forum/search.php?do=getnew&amp;exclude=103,114,115,116,117
Referrer      http://scalemotorcars.com/forum/search.php?searchid=111347
IP Address    166.82.146.90
Username      

Classname     vB_Database
MySQL Version 

-->


</
body>
</
html

I checked the error and it seems to me coming from the exclude search plugin I have. But the plugin is deactivated and has been for some time. Any help would be great.

BirdOPrey5 10-18-2010 07:12 PM

hmmmm.... The exclude is definitely still there- maybe you just manually modified the link to add the "&exclude=..." to the URL in the template- that's what I do and the "official" answer if you ever searched vb.com...

In any case the error doesn't have to do with the URL but that the SQL sever can't be found, in this case: sqlc6.megasqlservers.com -that's damn weird because it's obviously the rest of the site is running fine and the sql server is the same throughout... I'd say maybe a mod is messing things up... Turn off your hooks and see if you still have the problem.

To turn off hooks: http://www.vbulletin.com/forum/showt...ystem-globally

Scalemotorcars 10-18-2010 07:28 PM

Im an idiot.

You were right it was a template edit. I had a plugin and the link edited.

Hey while I have everyone's attention with my novice goof.....

Any ideal why I get a download when I hit a regular button on the site?

For example. If I click home it downloads the index.php or if it try to use the attachment link it downloads attachment.php. Not always just once in a while....

BirdOPrey5 10-18-2010 07:31 PM

When you say it downloads "attachment.php" what do you mean? Do you get a blank file or do you get the full coding/contents of the attachment.php file? If it's the latter that is an ultra-severe security problem. :eek:

Scalemotorcars 10-18-2010 08:03 PM

I just checked and all are blank files.

BirdOPrey5 10-18-2010 08:29 PM

OK well that's not too bad... As for why I'm not really sure, I'd imagine it's either a browser issue or maybe your web server is sending the wrong HTTP headers... has anyone else ever reported this happening? Does it only happen on 1 computer/1 browser?

Scalemotorcars 10-18-2010 08:38 PM

Im trying to find that out now and will report back.

By the way. Thanks for taking your time to help. I wish more would follow your lead.

BirdOPrey5 10-18-2010 11:56 PM

Quote:

Originally Posted by Scalemotorcars (Post 2111458)
Im trying to find that out now and will report back.

By the way. Thanks for taking your time to help. I wish more would follow your lead.

There's a lot of people asking for help and I know a lot of people who if they aren't 100% certain of every answer to every question they don't want to reply at all because they don't want to flood posts with useless replies... However sometimes just talking out the issue helps, even if you don't know the full solution you might still be able to help... it's a personal preference I guess. :up:

BigJohnny 10-19-2010 11:20 AM

from time to time I have the same problem running FF 3.5 or 3.6 .

Every no and then after it's been running for some time without being closed, and I have a bunch of tabs open I will click a link and get a download of a php file instead of viewing the page.

I haven't checked if it's blank or not because I'm fairly certain that it's a firefox problem and not a vbulletin problem.

Scalemotorcars 10-19-2010 05:38 PM

I just got a new error. This one was when posting from the quick reply.

PHP Code:

<!--
Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Unknown MySQL server host 'sqlc6.megasqlservers.com' (2)
/
services2/webpages/s/c/scalemotorcars.com/public/forum/includes/class_core.php on line 311

MySQL Error   

Error Number  
Request Date  TuesdayOctober 19th 2010 02:35:11 PM
Error Date    
TuesdayOctober 19th 2010 02:35:18 PM
Script        
http://www.scalemotorcars.com/forum/showthread.php?p=53805&amp;posted=1
Referrer      http://scalemotorcars.com/forum/large-scale-cars/12073-where-can-i-get-english-instructions-bandai-car-kit.html
IP Address    166.82.146.90
Username      

Classname     vB_Database
MySQL Version 

--> 

--------------- Added [DATE]1287592825[/DATE] at [TIME]1287592825[/TIME] ---------------

Anyone have an ideal about this one.


All times are GMT. The time now is 09:09 PM.

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.01140 seconds
  • Memory Usage 1,790KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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