1 (edited by downliner 2006-12-05 12:27)

Topic: No Login/Register - 404 Not Found?

My forum was working fine yesterday but after spending the morning editing main.tpl it is no longer working when I try to login or register a new user.

It is saying the document was not found on the web server.

http://www.pitseleh.co.uk/index.php

Any ideas? Thanks
Will

Edit: Heres the code from my main.tpl incase it is needed?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
<link rel="stylesheet" type="text/css" href="../../images/boardstyle.css" />
</head>
<body>

<div id="bg">
<div id="sadrzaj">
<div id="zaglavlje">

<div id="title">
<a href="#">Wallpapers </a><span class="blue">Direct .co .uk</span>
</div>
                
<form action="search" />
Search our shop: <input name="query" type="text" size="15" />
<input type="submit" value="Go" name="search" class="button" />
</div>

<div id="navigacija">
<ul>
<li><a href="http://www.pitseleh.co.uk/index_rod.php">home</a></li>
<li><a href="http://www.pitseleh.co.uk/about_rod.php">about us</a></li>
<li><a href="http://www.pitseleh.co.uk/shop/">shop</a></li>
<li><a href="index.php">ask a question</a></li>
<li><a href="contact.php">contact</a></li>
</ul>
    
<div class="lijevo">
</div>
</div>

            
<div id="pic">
<h2>Wallpapers Direct .co .uk Brands</h2>
<p>Wallpapers Direct .co .uk offer the largest selection of wallpaper, wallcovering & borders online. The brands we offer include: <a href="#">Anaglypta</a>, <a href="#">Graham & Brown</a>, <a href="#">Laurence Llewelyn-Bowen</a>, <a href="#">Linda Barker</a>, <a href="#">Galerie</a> and many more.</p>
</div>


<div class="lijeva_rubrika">
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<div id="brdheader" class="block">
<div class="box">
<pun_navlinks>
<pun_status>
</div>
</div>
<pun_announcement>
<pun_main>
<pun_footer>
</div>
</div>
</div>


<div id="footer">
Copyright © 2006 <a href="#">Wallpapers Direct .co .uk</a> > > 
<a href="http://validator.w3.org/check?uri=referer">XHTML 1.0 Strict!</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a><br />
For all of your Wallpaper, wallcovering, border, superfresco, embossed, DIY, pattern, interior, home improvement, decorating & wall covering needs!<img src="spacer.gif" width="5" height="5" border="0"/></div>
</div>

</body>
</html>

Re: No Login/Register - 404 Not Found?

I can go to register.php...

3 (edited by downliner 2006-12-05 12:32)

Re: No Login/Register - 404 Not Found?

But can you actually register? Sorry the problem appears whenever you try to use a form. You can't login or register a new account.

EDIT: Internet Explorer is saying error on Line 41, Character 1. ANyone able to see the problem?

Re: No Login/Register - 404 Not Found?

Well, just look at the link...

http://www.pitseleh.co.uk/search?query=&form_sent=1&req_username=elbekko&req_email1=elbekko%40gmail.com&req_email2=elbekko%40gmail.com&timezone=1&email_setting=1&save_pass=1&register=Register

I'm led to believe that your server has some sort of mod_security thingy on that blocks something in the register form.

Re: No Login/Register - 404 Not Found?

But it worked fine yesterday :s I always use the same webhost and have never had any trouble with punbb in the past

Re: No Login/Register - 404 Not Found?

Ah, I see the problem:

<form action="search" />

That's invalid, and will make every post submit to "search" tongue

This is correct:

<form action="search">
Search our shop: <input name="query" type="text" size="15" />
<input type="submit" value="Go" name="search" class="button" />
</form>