Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Can't find login page  (Read 949 times)

blueparukia

  • Newbie
  • *
  • Karma: 0
  • Posts: 35
Can't find login page
« on: September 15, 2007, 04:49:56 am »

I am testing snews on my currently being devloped site: http://pokebay.net

I an't find the login page: http://pokebay.net/login or http://pokebay.net/index.php/login

It may be something simple - but here is all my info:

.htaccess
Code: [Select]
<IfModule mod_php4.c>
    php_value session.use_trans_sid 0
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
RewriteEngine On
DirectoryIndex 'index.php'


index.php
Code: [Select]
<?php session_start(); include('snews.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php title(); ?>
<script type="text/javascript">
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);</script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PokEbay </title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body bgcolor="#00CC33">
<div id="head"><center><img src="images/banner.png" alt="PokEbay" /></center></div>
<div id="headnav" align="center">
<ul id="nav">
<li><?php pages(); ?>
<ul>

</ul>
</li>


</li>

<!-- etc. -->

</ul>
</div>

<br />
<br />
<div id="sidebar" title="Latest News" ><br /><center>Hello</center></div>
<div width="100%" style="clear:none; padding-left:189px"><center><?php center(); ?></center></div>
</body>
</html>

Thanks,

BP
Logged

Debate

  • Newbie
  • *
  • Karma: 2
  • Posts: 12
    • Barcodegaming
Re: Can't find login page
« Reply #1 on: September 15, 2007, 06:21:34 am »

My .htaccess file looks like this:
Code: [Select]
<IfModule mod_php4.c>
    php_value session.use_trans_sid 0
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
RewriteEngine On
#RewriteBase /sNews16
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*) $1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?category=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+) index.php?category=$1&title=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+)/([^/]+)/ index.php?category=$1&title=$2&commentspage=$3 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/([0-9]+)/ index.php?category=$1&nbsp;articlespage=$2 [L]
Remove the # and /sNews16, if you plan to use it on you're root site.
« Last Edit: September 15, 2007, 06:26:30 am by Debate »
Logged
Norwegian sNews translation 1.6.
http://snewscms.com/forum/index.php?topic=5897.0

blueparukia

  • Newbie
  • *
  • Karma: 0
  • Posts: 35
Re: Can't find login page
« Reply #2 on: September 15, 2007, 06:54:41 am »

Thank you :) Karma Given


BP
« Last Edit: September 15, 2007, 08:47:00 am by blueparukia »
Logged

Debate

  • Newbie
  • *
  • Karma: 2
  • Posts: 12
    • Barcodegaming
Re: Can't find login page
« Reply #3 on: September 15, 2007, 03:57:14 pm »

Welcome  ;)
Logged
Norwegian sNews translation 1.6.
http://snewscms.com/forum/index.php?topic=5897.0