Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Problem with CuteNews (latest version)

 
Reply to topic    Forum Index » Help View previous topic
View next topic
Problem with CuteNews (latest version)
Author Message
John



Joined: 14 May 2008
Posts: 4

Post Problem with CuteNews (latest version) Reply with quote
Hello, all.

Well i have a problem with my CuteNews Ru installation. I tried to install it on my site, but i get.....nothing.

I include the head.php file between <head></head>

And then later include cutenews ru like this:
<?PHP
$number = 5;
$category = '1';
$template = 'Default';
include $cutepath.'/show_news.php'; ?>


Inclusion of the head.php
<?php include("site-admin/head.php"); ?>

The rest of the page is 100% xhtml and does not have any variables nor anything. So does anyone know what can be wrong?

Thanks in advance.
John.
Tue Jun 24, 2008 12:40 pm View user's profile Send private message
Guest








Please login to hide the ads.

Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
You need to include your head.php on the top of the page
Tue Jun 24, 2008 12:48 pm View user's profile Send private message
John



Joined: 14 May 2008
Posts: 4

Post Reply with quote
Yes, as i did.

Here is my head:

<head>
<?php include("site-admin/head.php"); ?>
<link rel="shortcut icon" href="favicon.ico"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="author" content=""/>
<link rel="stylesheet" type="text/css" href="images/style.css" media="screen"/>
<title>Title</title>
</head>

But i still have the problem. No news are shown on the page.
Tue Jun 24, 2008 1:01 pm View user's profile Send private message
Spoon



Joined: 02 Apr 2008
Posts: 42

Post Reply with quote
I think the show_news.php is in the same directory as head.php

try to add the path
something like this??

include $cutepath.'site-admin/show_news.php'; ?>
Tue Jun 24, 2008 2:59 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
So I'm assuming you have cutenews.ru installed in a directory called 'site-admin' so in theory you should be able to make a test.php file on your server with this code:

Code:
<?php include("site-admin/head.php"); ?>
<?php
$number = "10";
include("site-admin/show_news.php");
?>


If that doesn't work, something else is wrong.. not cnr.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Tue Jul 08, 2008 10:45 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
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.