Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2010, 05:47 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 10-18-2010, 07:12 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-18-2010, 07:28 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #4  
Old 10-18-2010, 07:31 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-18-2010, 08:03 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just checked and all are blank files.
Reply With Quote
  #6  
Old 10-18-2010, 08:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 10-18-2010, 08:38 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-18-2010, 11:56 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scalemotorcars View Post
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:
Reply With Quote
  #9  
Old 10-19-2010, 11:20 AM
BigJohnny's Avatar
BigJohnny BigJohnny is offline
 
Join Date: Jun 2006
Location: Canada
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 10-19-2010, 05:38 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08: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.06559 seconds
  • Memory Usage 2,304KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete