Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6

Thread: Cute News Help

  1. #1
    Join Date
    Aug 2006
    Posts
    357
    Tokens
    0

    Default Cute News Help

    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

  2. #2
    Join Date
    Aug 2006
    Posts
    357
    Tokens
    0

    Default

    Can any one help?



    Edited by Catzsy (Forum Super Moderator) : Please do not bump your thread.
    Await a reply. Thanks
    Last edited by Catzsy; 21-04-2007 at 11:33 PM.

  3. #3
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    You gave us 27 minutes.

    This is a forum, not a chat room.

    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(
    "cutenews/show_news.php");
    ?>
    </body>
    </html>
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  4. #4
    Join Date
    Aug 2006
    Posts
    357
    Tokens
    0

    Default

    Quote Originally Posted by Xeoro View Post
    You gave us 27 minutes.

    This is a forum, not a chat room.

    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(
    "cutenews/show_news.php");
    ?>
    </body>
    </html>
    Thanks, Sorry...

    EDIT: Can you change the display text and font?
    Last edited by Helpie; 21-04-2007 at 09:48 PM.

  5. #5
    Join Date
    Aug 2006
    Posts
    357
    Tokens
    0

    Default

    Sorry cannot edit the above?

    My headline is showing this
    Warning: main(cutenews/show_news.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]: 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]: Failed opening
    Can any one help?

  6. #6
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default

    Quote Originally Posted by Helpie View Post
    Sorry cannot edit the above?

    My headline is showing this

    Can any one help?
    Did you download the headline script off the cutephp homepage?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •