| Author |
Message |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
I got this:
 |  | <?php
$template = "fearless";
$category = "1,2,3,4";
$static['category'] = "1,2,3,4";
$static['template'] = "fearless";
include $cutepath.'/show_news.php';
?> |
_________________
 |
|
| Sat Feb 11, 2006 12:54 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
I think, your combination doesn't work.
Use either this:
 |  | <?php
$template = "fearless";
$category = "1,2,3,4";
include $cutepath.'/show_news.php';
?> |
or this:
 |  | <?php
$static['category'] = "1,2,3,4";
$static['template'] = "fearless";
include $cutepath.'/show_news.php';
?> |
|
|
| Sat Feb 11, 2006 1:47 pm |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
They are both not working everything is still the same.
_________________
 |
|
| Sat Feb 11, 2006 2:21 pm |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
And I still got this problem I allready said before in this topics:
I've done and even checked this CHMOD settings.
_________________
 |
|
| Sat Feb 11, 2006 9:12 pm |
|
 |
lexa
Creator of CuteNews.RU

Joined: 02 Oct 2005 Posts: 90 Location: St.-Petersburg, Russia |
|
|
|
Terminator, need make .htaccess in you directory for save it.
If all chmod 0777 (urls.ini) and 0666 (.htaccess) - save settings. It just "info bar".
|
|
| Sun Feb 12, 2006 1:07 am |
 |
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
When I click on 'save urls.ini' and/or 'create .htaccess I get this:
Lines 454 - 458:
And this is my .htaccess :
 |  | DirectoryIndex index.php
# [user htaccess]
<IfModule mod_rewrite.c>
RewriteEngine On
#Options +FollowSymlinks
#RewriteBase /news/example/
# [home] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).html(/?)+$ ?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [home] dosearch
RewriteRule ^search(/?)+$ ?do=search [QSA,L]
# [home] doarchives
RewriteRule ^archives(/?)+$ ?do=archives [QSA,L]
# [home] dousers
RewriteRule ^users(/?)+$ ?do=users [QSA,L]
# [home] user
RewriteRule ^users/([_0-9a-z-]+).html(/?)+$ ?user=$1&do=users [QSA,L]
# [home] day
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ ?year=$1&month=$2&day=$3 [QSA,L]
# [home] month
RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ ?year=$1&month=$2 [QSA,L]
# [home] year
RewriteRule ^([0-9]{4})(/?)+$ ?year=$1 [QSA,L]
# [home] docategory
RewriteRule ^category(/?)+$ ?do=category [QSA,L]
# [home] category
RewriteRule ^category/(none|fearless)(/?)+$ ?category=$1 [QSA,L]
# [rss] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).xml(/?)+$ /news/rss.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [rss] category
RewriteRule ^category/(none|fearless)/rss.xml(/?)+$ /news/rss.php?category=$1 [QSA,L]
# [rss] user
RewriteRule ^users/([_0-9a-z-]+).xml(/?)+$ /news/rss.php?user=$1 [QSA,L]
# [rss] feed
RewriteRule ^rss.xml(/?)+$ /news/rss.php [QSA,L]
# [print] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).phtml(/?)+$ /news/print.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [trackback] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).tb(/?)+$ /news/trackback.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
</IfModule> |
_________________
 |
|
| Sun Feb 12, 2006 3:26 pm |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
Someone?
Thx in advance
_________________
 |
|
| Thu Feb 16, 2006 9:01 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Maybe it's still interfering with your phpBB stuff?
If I were you I would start off with a testing page. Nothing in it but the include code. Then turn off user friendly urls and see if it's working. Then turn on user friendly urls and see if it's still working.
|
|
| Thu Feb 16, 2006 9:17 pm |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
I created an new subdomain and database added a index.php and a folder called 'news' installed cutenews.ru in this folder.
I keep getting this problem:
My FTP:
Folder: news
File: .htacces
File: index.php
Folder: news
Includes CuteNews.ru
File: .htacces
 |  | DirectoryIndex index.php
# [user htaccess]
<IfModule mod_rewrite.c>
RewriteEngine On
#Options +FollowSymlinks
RewriteBase /
# [home] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).html(/?)+$ ?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [home] dosearch
RewriteRule ^search(/?)+$ ?do=search [QSA,L]
# [home] doarchives
RewriteRule ^archives(/?)+$ ?do=archives [QSA,L]
# [home] dousers
RewriteRule ^users(/?)+$ ?do=users [QSA,L]
# [home] user
RewriteRule ^users/([_0-9a-z-]+).html(/?)+$ ?user=$1&do=users [QSA,L]
# [home] day
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ ?year=$1&month=$2&day=$3 [QSA,L]
# [home] month
RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ ?year=$1&month=$2 [QSA,L]
# [home] year
RewriteRule ^([0-9]{4})(/?)+$ ?year=$1 [QSA,L]
# [home] docategory
RewriteRule ^category(/?)+$ ?do=category [QSA,L]
# [home] category
RewriteRule ^category/(none|fearless|clanbase)(/?)+$ ?category=$1 [QSA,L]
# [rss] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).xml(/?)+$ /news/rss.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [rss] category
RewriteRule ^category/(none|fearless|clanbase)/rss.xml(/?)+$ /news/rss.php?category=$1 [QSA,L]
# [rss] user
RewriteRule ^users/([_0-9a-z-]+).xml(/?)+$ /news/rss.php?user=$1 [QSA,L]
# [rss] feed
RewriteRule ^rss.xml(/?)+$ /news/rss.php [QSA,L]
# [print] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).phtml(/?)+$ /news/print.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
# [trackback] post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/([_0-9a-z-]+).tb(/?)+$ /news/trackback.php?year=$1&month=$2&day=$3&title=$4 [QSA,L]
</IfModule> |
File: index.php
 |  | <?php
include 'news/head.php';
?>
<head><title>Fearless :: Established
since januari 2006</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" bgcolor="161616" marginheight="0" marginwidth="0" alink="#F5F5F5" link="#91E902" vlink="#F5F5F5">
<?php
$template = "fearless";
$category = "1,2,3,4";
$static['template'] = "fearless";
$static['category'] = "1,2,3,4";
include $cutepath.'/show_news.php';
?>
</body></html> |
http://fearlessnews.owiosa1.nl/index.php
_________________
 |
|
| Fri Feb 17, 2006 6:36 pm |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 473 Location: Hoogeveen, NL |
|
|
|
 |  | <?php
include 'news/head.php';
?>
<head><title>Fearless :: Established
since januari 2006</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" bgcolor="161616" marginheight="0" marginwidth="0" alink="#F5F5F5" link="#91E902" vlink="#F5F5F5">
<?php
$category = "1,2,3,4";
$static['template'] = "fearless";
include $cutepath.'/show_news.php';
?>
</body></html> |
|
|
| Sat Feb 18, 2006 2:02 am |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
Not working and keep getting this problem:
But were is the field of .htaccess for?
In the urls.ini field is some text but in de .htaccess field not.
_________________
 |
|
| Sat Feb 18, 2006 10:09 am |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
Anybody?
_________________
 |
|
| Fri Feb 24, 2006 10:49 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | But were is the field of .htaccess for?
In the urls.ini field is some text but in de .htaccess field not. |
The script automatically creates the .htaccess file out of the data in the urls.ini field.
If you want to put your own rules to the .htaccess script you can insert those rules in the .htaccess field. The script will add them to the .htaccess file.
|
|
| Fri Feb 24, 2006 3:55 pm |
|
 |
Terminator
Joined: 04 Feb 2006 Posts: 31
|
|
|
|
And how to fix the problem?
_________________
 |
|
| Fri Feb 24, 2006 7:02 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
I don't know but as lexa wrote here the message is not a problem but only an info message.
|
|
| Sat Feb 25, 2006 3:43 pm |
|
 |
|