Jump to content

Recommended Posts

Posted

Hey guys. Usually I don't have a problem with these types of scripts, but for some reason I can't get Newspro to work on my website. I uploaded the files to /public_html/cgi-bin/newspro and did a chmod of the newspro folder to 777. Then the newspro.cgi, viewnews.cgi, news.txt, newsdat.txt, ndisplay.pl, and nsettings.cgi all set to 777 as it said in the setup instructions to do if you were having problems. All this to no avail.

 

If you go to http://www.chris-n-kristi.com/cgi-bin/news...pro/newspro.cgi you can see the error I'm getting.

 

Oh, I also made sure that the perl path was set to /usr/bin/perl in the scripts.

 

I also tried setting up the script outside of the cgi-bin, doing the same as above but putting it at /public_html/newspro.

 

If my domain hasn't propagated yet for those that try to help, try going to http://66.246.77.52/~devynn/cgi-bin/newspr...pro/newspro.cgi or http://66.246.77.52/~devynn/newspro/newspro.cgi.

 

Thanks in advance for your help.

Posted

Hi, Devynn. I downloaded NewsPro and tried installing on my site just to see how it works. I installed to a directory called newspro in my public_html directory. I got the same error you described. I did check to see that the permissions set on the directories and files mentioned in the readme.txt matched exactly.

 

I made the changes to the newspro.cgi as seen below(in blue):

 

# SERVER PROBLEMS WORKAROUNDS

# If the script either gets its URL wrong or produces a fatal error

# about not being able to include npconfig.pl, set the following variables.

# While it won't hurt, most users don't have to.

 

$abspath = '/home/username/public_html/newspro';

# Set the above to the absolute path to NewsPro's directory, without

# a trailing slash. Example:

# $abspath = '/absolute/path/to/newspro';

 

$scripturl = 'http://www.******/newspro/newspro.cgi';

# Set the above to the URL to newspro.cgi. Example:

# $scripturl = 'http://www.myserver.com/newspro/newspro.cgi';

# Once again, you only need to set the above two variables if you're

# having server problems.

 

# END SERVER PROBLEMS WORKAROUNDS

 

I still got the Internal Error message so I checked my error log and there was something in there about the directory being writable by others. I then changed the permissions for the newspro directory to 755 and tried again. This time it worked. You might try it and see how it works for you.

Posted

Thanks so much Rick. That did the trick. Now to go find something new to beat my head up against....hehe <_<

Posted

Glad that did the trick. Plus I discovered a new program. I may use it in the future. When I saw your message I had just come home from a l o n g day at school and felt like doing something besides grade papers or do paperwork so I figured that would be as good of a diversion as any. If you find something good to beat your head against, let me know. I've needed to do the same many times. <_<

Posted

The only other thing I did have a problem with was the SSI #includes. I ended up trying what it said in the readme, was using a .php3 file and do a php include instead and it worked perfectly. Just in case anyone else tries to use this and has the same problems.

Posted

Oh my! Termites and Hammers! I'll HAVE to go check it out!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...