Web Hosting Forums

Page 1 of 2 1 2 LastLast
Results 1 to 15 of 24

This is a discussion on Im nearly there - 1 last thing! in the Hosting Talk & Chit-chat forum
Thanks to everyone who has helped. im like one step away I think. http://tharealest.shynepo.net/cgi-bin/NEWSPRO.CGI Im getting a fatal error? Any help on this one? I ...

  1. #1
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78

    Im nearly there - 1 last thing!

    Thanks to everyone who has helped. im like one step away I think.
    http://tharealest.shynepo.net/cgi-bin/NEWSPRO.CGI
    Im getting a fatal error? Any help on this one? I know ya'll can do it, ya'll helped me alot, thanks ever so much!
    outlawz_pac2000

  2. #2
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    Ummm, think I have the wrong perl path!
    outlawz_pac2000

  3. #3
    Loyal Client jkeller's Avatar
    Join Date
    Feb 2002
    Location
    Paris, France
    Posts
    1,502
    Looks to me like the script just couldn't find "npconfig.pl". If it's currently in the same directory as the script, then there's a problem because it should be found. Otherwise, move it there or add the path to where it's located to the @INC variable.

    I really don't know NewsPro, so this might be a good time to see what's recommended by the setup. Maybe they don't want you to have the npconfig.pl file where everyone can see it. But moving it to the same directory as the script should fix the problem, at least.

  4. #4
    young and idealistic clio's Avatar
    Join Date
    Oct 2002
    Location
    Tübingen, Germany
    Posts
    2,140
    like JK said, can't find npconfig.pl
    make sure it's CHMOD 666.
    - Julie
    Student / Web Developer

  5. #5
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    OK! It's in the same file as the rest (CGI-BIN) it was CHMOD at 644, so i changed it to 666, but still the same problem?
    outlawz_pac2000

  6. #6
    young and idealistic clio's Avatar
    Join Date
    Oct 2002
    Location
    Tübingen, Germany
    Posts
    2,140
    can you stop using the italicized font? it's *really* annoying.

    second, i noticed that your newspro is called NEWSPRO.cgi instead of newspro.cgi
    don't change the filenames to all uppercase. that'll just mess up every reference to it, made by the program itself.

    btw, npconfig.pl is NOT there in the cgi-bin. look:
    http://tharealest.shynepo.net/cgi-bin/npconfig.pl
    gives a 404 error.

    sorry, npconfig is supposed to be 644 me thinks.
    - Julie
    Student / Web Developer

  7. #7
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    OK! The file was all in caps when I got it. I will change them all to lowercase. And the NPCONFIG is uppercase, which the file was already in? Ummm, maybe if I change all to lowercase...[/i]
    outlawz_pac2000

  8. #8
    young and idealistic clio's Avatar
    Join Date
    Oct 2002
    Location
    Tübingen, Germany
    Posts
    2,140
    maybe you should download newspro again. it shouldn't be in ALL uppercase. i think you might have some messed up version.

    go here:
    http://amphibianweb.com/newspro/

    and download it. i just downloaded it and it's NOT all in uppercase.
    - Julie
    Student / Web Developer

  9. #9
    Loyal Client jkeller's Avatar
    Join Date
    Feb 2002
    Location
    Paris, France
    Posts
    1,502
    I've seen something like this upper-/lowercase problem happen when I transfer files from work to home.

    I use NT at work and Win98 at home. NT's file system uses a different way of figuring out what files should be in uppercase and which sould be in lowercase. Even if the shell shows the correct filename, NT will often write a file with less than 8 characters (before the period) in uppercase to a FAT-formatted Zip disk. Zip disks are formatted in FAT (DOS, Windows 9x), rather than NTFS (NT's file system).

    Why this pedantic explanation? Well, I think that either your unzipping utility or your FTP app are capitalizing characters. Your shell (Windows Explorer?) might still show the correct filenames, even if they're in all caps. Check your options in your Zip and FTP apps. This is a really annoying thing to have to undo by hand all the time -- especially, as Clio points out, when there are recursive references.

  10. #10
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    I changed all to lowercase and after a few hick-ups all the files are working. But the news isnt showing yet, but I think I got that covered.
    Thanks everyone.
    outlawz_pac2000

  11. #11
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    Damn now im getting "[an error occurred while processing this directive]" error on both the news and index pages.

    http://tharealest.shynepo.net/index1.shtml

    http://tharealest.shynepo.net/news2.shtml

    An SSI problem. Can anyone sort this?[/i]
    outlawz_pac2000

  12. #12
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    Im trying (as shown in another thread) the PHP instead of SHTML!

    http://tharealest.shynepo.net/index1.php

    Im gettin an "Warning: Failed opening '/home/shynepo/public_html/tharealest/newspro/news.txt' for inclusion (include_path='.:/usr/local/lib/php') in /home/shynepo/public_html/tharealest/index1.php on line 112"
    Error!
    outlawz_pac2000

  13. #13
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    I just don't get what my username is? Is that my login for my FTP? Ummm...
    outlawz_pac2000

  14. #14
    young and idealistic clio's Avatar
    Join Date
    Oct 2002
    Location
    Tübingen, Germany
    Posts
    2,140
    when you do SSI, you DO NOT need the full path. when you do php, you do.

    copy and paste both your SSI and php include code in the thread so someone can help you.
    - Julie
    Student / Web Developer

  15. #15
    Loyal Client
    Join Date
    Jul 2001
    Posts
    78
    <?php $path= "http://tharealest.shynepo.net/cgi-bin/news.txt"; ?>


    <?php include("$path/newspro/news.txt"); ?>
    outlawz_pac2000

Page 1 of 2 1 2 LastLast

Bookmarks

Posting Permissions

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