Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Problem with showing news 'Post not found'
Goto page Previous  1, 2, 3, 4  Next
 
Reply to topic    Forum Index » Help View previous topic
View next topic
Problem with showing news 'Post not found'
Author Message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
I got this:



Code:
<?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 View user's profile Send private message
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
I think, your combination doesn't work.



Use either this:

Code:
<?php

   $template = "fearless";

   $category = "1,2,3,4";



   include $cutepath.'/show_news.php';

?>




or this:

Code:
<?php

   $static['category'] = "1,2,3,4";

   $static['template'] = "fearless";



   include $cutepath.'/show_news.php';

?>

Sat Feb 11, 2006 1:47 pm View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
They are both not working everything is still the same.

_________________
Sat Feb 11, 2006 2:21 pm View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
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 View user's profile Send private message
lexa
Creator of CuteNews.RU


Joined: 02 Oct 2005
Posts: 90
Location: St.-Petersburg, Russia

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
When I click on 'save urls.ini' and/or 'create .htaccess I get this:







Lines 454 - 458:







And this is my .htaccess :



Code:
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 View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
Someone?



Thx in advance

_________________
Thu Feb 16, 2006 9:01 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
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 View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
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

Code:
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

Code:
<?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 View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 473
Location: Hoogeveen, NL

Post Reply with quote
Code:
<?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 View user's profile Send private message Visit poster's website
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
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 View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
Anybody?

_________________
Fri Feb 24, 2006 10:49 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
Quote:
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 View user's profile Send private message
Terminator



Joined: 04 Feb 2006
Posts: 31

Post Reply with quote
And how to fix the problem?

_________________
Fri Feb 24, 2006 7:02 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.