News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

www.forumnepali.com (We Are Nepali Forum Also Nepali

Started by forumnepali, August 13, 2009, 10:58:52 AM

Previous topic - Next topic

forumnepali

i'am deleting this post for some persnal resion

Informatics

it show you that you dont have any those files on the root yet, it think its just fine

404.shtml : error file for handling -> "the requested page doesn't exist"

More info:
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=40132
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
http://status-code.com/

-

Favicon.ico : icon file owned by your domain (web) that showed on web browser

if you have any favicon.ico file, just put it on your root directory of your hosting (web)

-

robots.txt

http://www.robotstxt.org/

-

Its nothing critical with those errors.

Cheers!


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

MrPhil

#2
The three errors you listed are harmless, but it would be good to address them sometime soon:

1) create custom error pages. If you have cPanel, there is a button "Error Pages" to create the core lines of 400, 401, 403, 404, and /500.shtml. Season with additional HTML code to make them match the look of your site. Those five are the most common -- you can create your own for other errors. When you get an error of some kind (e.g., 404 -- file not found), the server looks for your custom error page. If one doesn't exist, it will fall back to a default handler. It's stupid for it to log an error that it can't find xxx.shtml, but most servers seemed to be configured to do that.

2) create a favicon. This is the 16x16 pixel image that shows up in the browser address bar, tabs, bookmarks, etc. Any "paint" program can create one. It should be "ICON" format and named /favicon.ico. All browsers look for this file and you'll get an error log entry that it can't find it. Do not, I repeat, do not be stupid and create a GIF, JPEG, PNG, or other format image file and rename it to .ico. It won't work.

3) create a /robots.txt file. Initially, it can just be an empty file. Eventually you can put specific commands into it. "Well behaved" search engine spiders read this file to get instructions on what not to go roaming through on your site. If you don't have one (even an empty one), you'll get it logged in your error log.

Creating those files will greatly reduce the junk logged in your error log, enabling you to spot "real" errors more easily.
---------------------------------------------------------------------
Now, as for the "blank page" problem, do you mean that when you call up your forum, you get absolutely nothing, just a white screen? That means that some serious error was encountered while processing the files in your forum. There should be some kind of error logged somewhere on your system. There are three places to look:

1) System (site account) control panel error log. If you have cPanel, there is a button labeled "Error Log" (not "Error Pages"). Is there anything listed there?

2) "error_log" file(s) in various directories. If configured to do this, PHP will write error messages to a file (often named "error_log") in the directory where the error occurred. Go into your site control panel's file manager (cPanel > File Manager) and look around. You can also use an FTP program to do this. The error_log file will give useful error messages about what happened (e.g., a syntax error in line ____ of file ____).

3) SMF forum error log (under Admin). If you can't get to your first page to get logged in, you won't be able to look in this error log.

What causes these errors? Mistakes in hand editing of files, wrong permissions on files (some hosts don't permit 777 permissions, for example), a botched mod or theme install, and hack attempts that messed up file changes.

forumnepali

can anybady do for me, I will proved FTP Access

thanks

Arantor

Before we get into the necessity of FTP access - what exactly did you edit before it broke?

forumnepali


Arantor


forumnepali

#7
Quote from: Arantor on August 21, 2009, 08:14:44 AM
So did you install that mod manually?

hi and thanks for replying

i just put this <HTML>
<HEAD>
<TITLE>www.forumnepali.com</TITLE>
<META NAME="Keywords" CONTENT="www.forumnepali.com">
<META NAME="Description" CONTENT="We Are Nepali Forum Also Nepali,">
<META NAME="Author" CONTENT="[email protected]">
<!-- <meta name="verify-v1" content="Tsbb1YDx3rbI3FOql+50lzsdXiv54Zg8ZT1L88T7dYA=" />>

</HEAD>
code in my forum mod box and i got this Error

Arantor

You've installed a mod. Did you install it manually or through the admin panel? I'm not worried about what items you put in its configuration just yet.

forumnepali


forumnepali

i uninstall and then install new mod but old code is still showing ....

<center><a href="http://www.submitexpress.com/"><img SRC="http://www.submitexpress.com/submitexpress.gif" BORDER=0 height=31 width=88></a>
<br><a href="http://www.submitexpress.com/">Search Engine Optimization and SEO Tools</a></center>

<HTML>
<HEAD>
<TITLE>www.forumnepali.com</TITLE>
<META NAME="Keywords" CONTENT="www.forumnepali.com">
<META NAME="Description" CONTENT="We Are Nepali Forum Also Nepali,">
<META NAME="Author" CONTENT="[email protected]">
<!-- <meta name="verify-v1" content="Tsbb1YDx3rbI3FOql+50lzsdXiv54Zg8ZT1L88T7dYA=" />>

</HEAD>
</textarea></td>
</tr>
<tr class="windowbg2">
<td colspan="2">
<table border="0" width="80%" cellspacing="1" cellpadding="4">
<tr class="windowbg2">
<td align="left" width="55%"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_boards" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Which boards should this ad display in</td>
<td><input type="text" name="boards" value="" /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_posts" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads within posts</td>
<td><input type="text" name="posts" value="" /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_category" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads after categories</td>
<td><input type="text" name="category" value="" /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_type" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Type</td>
<td>
<select name="type">
<option value="0" selected=selected>HTML</option>
<option value="1" >PHP</option>
</select></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_index" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on every page right below the menu</td>
<td><input type="checkbox" name="show_index"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_board" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on board index</td>
<td><input type="checkbox" name="show_board"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_threadindex" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on message index</td>
<td><input type="checkbox" name="show_threadindex"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_thread" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on the post page</td>
<td><input type="checkbox" name="show_thread"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_lastpost" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads after the last post</td>
<td><input type="checkbox" name="show_lastpost"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_topofpage" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on every page on the top of the page</td>
<td><input type="checkbox" name="show_topofpage"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_welcome" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads in the welcome user area</td>
<td><input type="checkbox" name="show_welcome" checked=checked /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_bottom" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on the bottom of the page</td>
<td><input type="checkbox" name="show_bottom"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_towerleft" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on every page as a tower on the left side</td>
<td><input type="checkbox" name="show_towerleft"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_towerright" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads on every page as a tower on the right side</td>
<td><input type="checkbox" name="show_towerright"  /></td>
</tr>
<tr class="windowbg2">
<td align="left"><a href="http://forumnepali.com/index.php?action=admod;sa=help;help=ad_manage_underchildren" onclick="return reqWin(this.href);" class="help"><img src="http://forumnepali.com/Themes/Reflection/images/helptopics.gif" alt="Help" align="top" /></a> Display ads under child boards</td>
<td><input type="checkbox" name="show_underchildren"  /></td>
</tr>
</table>
</td>
</tr>
<tr class="windowbg2">
<td colspan="2" align="right" style="padding-top: 1ex;">
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</td>
</tr>
</table></form></div><br /><div align="center"><a href="http://www.smfads.com">smfads v2.3 &copy; Jeremy</a></div>
</td>
</tr>
</table>
</div>

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="right">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="http://forumnepali.com/Themes/Reflection/images/powered-mysql.gif" alt="Powered by MySQL" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="http://forumnepali.com/Themes/Reflection/images/powered-php.gif" alt="Powered by PHP" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">

<span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by SMF 1.1.10</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF © 2006-2009, Simple Machines LLC</a>
</span>
</td>
<td width="28%" valign="middle" align="left">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="http://forumnepali.com/Themes/Reflection/images/valid-xhtml10.gif" alt="Valid XHTML 1.0!" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="http://forumnepali.com/Themes/Reflection/images/valid-css.gif" alt="Valid CSS!" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
<tr>
<td></td><td align="center">
<font size="1"> Copyrights By WWW.ForumNepali.com 2009-2010</font>
</td>
</tr>
</table>
<span class="smalltext">Page created in 0.034 seconds with 8 queries.</span>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var window_oldOnload = window.onload;
window.onload = smf_codeFix;

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}

if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}
// ]]></script>
</div>
<div id="ajax_in_progress" style="display: none;">Loading...</div>
</td><td class="shadowr"><img src="http://forumnepali.com/Themes/Reflection/images/0.gif" width="3" alt="" /></td></tr></table></body></html>


i want to move this code from my forum

MrPhil

You've got several lines of code coming before the <HEAD>, which belong in the <BODY> of the page. You're missing your <body> tag and jump right into the middle of a <textarea>. Most of the page looks like SMF output -- did you modify the .php code to add some stuff? Is this listing captured from your browser's View > Page Source? I think in the process of adding the mod you mangled the SMF code, and lost a big chunk of SMF code. Anyway, it's all messed up now. I would suggest going back to a fresh SMF code install and discussing with us what changes you want to make, and how to make them.

forumnepali

Quote from: MrPhil on August 24, 2009, 11:48:22 AM
You've got several lines of code coming before the <HEAD>, which belong in the <BODY> of the page. You're missing your <body> tag and jump right into the middle of a <textarea>. Most of the page looks like SMF output -- did you modify the .php code to add some stuff? Is this listing captured from your browser's View > Page Source? I think in the process of adding the mod you mangled the SMF code, and lost a big chunk of SMF code. Anyway, it's all messed up now. I would suggest going back to a fresh SMF code install and discussing with us what changes you want to make, and how to make them.

now what can i do please suggest me. i'am new for SMF forum can you do for me

MrPhil

Where did that code come from (starting with <center>) that you listed a couple of posts back? Is that what your browser is trying to display when you bring up your site? Not only did you somehow get a block of code in the wrong place, but it looks like you knocked out a big chunk of SMF while doing it. I have no idea how you managed to do it. My only suggestion is to clear out all your code (except Settings.php) and reinstall a plain SMF copy. Did you have a working forum before, with members and posts? If so, do you want to try to preserve (keep) them? In that case you don't want to wipe out the database, but just replace all the code with a fresh copy. Then you can properly install the mods you want to use. Unless someone has seen this thing before, and knows an easy fix, my guess is that your SMF code is completely trashed (not repairable).

Advertisement: