View Full Version : Need Help with Forum Script
carinsharon
03-30-2003, 11:47 PM
:rolleyes: I have tried everything to get this script to working for me and it took forever just to get the post page to show up...There was an error on the wwwboard.pl in the first line....Well once I fixed this problem I was able to access the post page but that is as far as I have gotten...When I try to post I get an application error...I don't know all that much about scripting so any help I can get would be appreciated....I really want to get this forum going but I don't think I can get it by myself...
The only thing I am real sure of is that everything has been chmoded right...I'm a little confused on what to put in for directories and do I have to make a folder for the messages? Do I list full paths to each thing in the script?
Somehow I get the feeling that the error I am getting is between the Posting of a message and the wwwboard.pl that is in the cgi-bin....I can access the wwwadmin.pl just fine though..
Sorry I should have said that I am using one of Matt's scripts that has been modified by nms...
When I checked my log error on my site I see where it says there is an error in line 201 of the script saying that .lock does not exist.......
Thanxs,
CarinSharon
carinsharon
03-31-2003, 02:00 AM
that there are people out there who will help some one out....
Thank You
MotherNatrsSon
04-01-2003, 09:19 AM
Did you FTP the files to your directory in ASCII mode and NOT bonary mode? This could be the problem you are dealing with.
carinsharon
04-01-2003, 10:54 AM
Yes it was uploaded in ascii mode and all files were chmoded right but I think that there has to be an error in the link? and this is why it is not letting me post.....
MotherNatrsSon
04-01-2003, 06:22 PM
got a link to the script or the page you have?
Yes, can we see a link?
I was stuck on setting this up before too...but my problem was a bit different.
About the directories:
/cgi-bin:
wwwboard.pl (chmod 755)
wwwadmin.pl (chmod 755)
/wwwboard:
wwwboard.html (chmod 777)
faq.html (cmond 744)
data.txt (chmod 777)
passwd.txt
/messages (chmod 777)
the /messages folder is in the /wwwboard folder.
And what was the exact error message that was given to you?
Also try putting this line into the script right undernath the #!usr/bin/perl:
use CGI::Carp qw(fatalsToBrowser);
carinsharon
04-05-2003, 06:50 PM
http://www.heavenly-inspirations.com/wwwboard/wwwboard.html
Everytime I try to post something I get an application error. I'm sure I have something not set up right or a link right but I can't figure out what it is and how to fix it...
Any help would be appreciated
MotherNatrsSon
04-05-2003, 09:30 PM
Does your server have a cgi eror log? The server I use does and it gives detailed description of where eroors occur in the script by line number.
Also the first line of wwwboards.pl should look like this
#!/usr/local/bin/perl -w
The -w at the end helps get a mor desriptive error code.
Next would be copy and pasting the entire wwwboards.pl file here or carefully looking for typos in it. Be sure to remove any passwords or code keys for security first.....
YUPAPA
04-05-2003, 10:40 PM
It would be great if you can attach your wwwboard.pl
carinsharon
04-06-2003, 03:04 AM
Hmmmmm...I tried pasting the script in here and got a message that it is way too long to post. :(
YUPAPA
04-06-2003, 03:07 AM
You can attach file. :p
carinsharon
04-06-2003, 03:43 AM
DUH!! ok File is attached
Don't use this.
Its's outdated. Get the new one from here (http://www.scriptarchive.com/wwwboard.html).
Then try putting in the variables and tell us if it doesn't work. This newer one is easier to set up, and it has a lot more features as well.
But actually, if you want to use this one, you need to make just a few changes:
$basedir = '/var/www/heavenly-inspirations.com/wwwboard';
$baseurl = 'http://heavenly-inspirations.com/wwwboard
$cgi_url = 'http://heavenly-inspirations.com/cgi-bin/wwwboard.pl';
$mesgdir = 'messages';
$datafile = 'data.txt';
$mesgfile = 'wwwboard.html';
$faqfile = 'faq.html';
Hope this helps :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.