PDA

View Full Version : Cute News Help



Helpie
21-04-2007, 08:47 PM
Trying to get headlines to display, But its showing this.



CuteNews has detected that you are including show_news.php using the URL to this file.
This is incorrect and you must include it using the PATH to show_news.php


Example:
this is WRONG : <?PHP include("http://yoursite.com/cutenews/show_news.php"); ?>
this is CORRECT: <?PHP include("cutenews/show_news.php"); ?>


// if you think this message shouldn't be shown, open show_news.php and delete it from there

Im using this php code


<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body><?PHP
$number=5;
$template="Headlines";
include("/home/habboc/public_html/cutenews/show_news.php");
?>
</body>
</html>


Any help will = Rep

Helpie
21-04-2007, 09:09 PM
Can any one help?



Edited by Catzsy (Forum Super Moderator) : Please do not bump your thread.
Await a reply. Thanks

F32
21-04-2007, 09:40 PM
You gave us 27 minutes.

This is a forum, not a chat room.


<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php
$number=5;
$template="Headlines";
include("cutenews/show_news.php");
?>
</body>
</html>

Helpie
21-04-2007, 09:41 PM
You gave us 27 minutes.

This is a forum, not a chat room.


<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php
$number=5;
$template="Headlines";
include("cutenews/show_news.php");
?>
</body>
</html>

Thanks, Sorry...

EDIT: Can you change the display text and font?

Helpie
21-04-2007, 10:15 PM
Sorry cannot edit the above?

My headline is showing this

Warning: main(cutenews/show_news.php) [function.main (http://www.habbocouncil.co.uk/php/function.main)]: failed to open stream: No such file or directory in /home/USER NAME HIDDEN/public_html/php/headlines.php on line 23

Warning: main(cutenews/show_news.php) [function.main (http://www.habbocouncil.co.uk/php/function.main)]: failed to open stream: No such file or directory in /home/USERNAME HIDDEN/public_html/php/headlines.php on line 23

Warning: main() [function.include (http://www.habbocouncil.co.uk/php/function.include)]: Failed opening
Can any one help?

additional
22-04-2007, 07:33 AM
Sorry cannot edit the above?

My headline is showing this

Can any one help?

Did you download the headline script off the cutephp homepage?

Want to hide these adverts? Register an account for free!