+ Reply to Thread
Results 1 to 5 of 5

Thread: Not displaying news...

  1. Not displaying news...

    Hello,

    I have successfully installed the forum-news script which works as shown through the test.php page. However, when I implement the generated code into my webpage, for some reason, it does not display the news. It just displays the last line of the code which is:

    display_News("5", "7", "0", "0"); ?>

    I have no idea why it's doing this but I have tried changing the code, as in putting the full url but that made it display nothing at all.

    Does the forum-news software have to be in the same folder as the website? Because, mine aren't, but I wouldn't have thought that would make a difference because they're on the same server and it gives the url for news.php.

    Please help,
    Jack

  2. I've fixed the problem; my .htaccess file needed the php/html code.

  3. Ok now it's not working - htaccess file seems to not be working/accepting the code.

    Please help somebody... the script it just displaying "display_News("3", "7", "0", "0"); ?>" on www.jurassicparkiv.org - when it used to display the news. What could the possible issues be?

    Thanks

  4. Join Date
    Aug 2004
    Posts
    780

    Assuming your .htaccess file is still correct, there are a few things that could be the issue:
    1. Your host could have disabled your ability to give directives via .htaccess
    2. Your host could have changed to using different web server software or implementing usage of php in different way
    3. Your host could have disabled php

    I am assuming (3) is not issue since you have forum running. It is most likely (1). If you rename index.html to index.php , does the script work?

  5. I have just renamed index.html to index.php and it has indeed solved the problem. How weird, used to work with .html. But thanks for your help!

+ Reply to Thread

Posting Permissions

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