Can't post Replies - Can't delete anything

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
Doodmon
Posts: 4
Joined: Sat Apr 01, 2006 3:49 pm

Can't post Replies - Can't delete anything

Post by Doodmon »

Script URL: http://php.scripts.psu.edu/clubs/up/phi ... act/forum/
Version of script: 1.21
Version of PHP: PHP Version 5.0.4
Hosting company: PSU.EDU

Write your message below:

For some reason the script will let me post a message but it won't let me post a reply to the message. And, as administrator, it won't let me delete the message. I click the red X and type the password and it does not give any error or confirmation of success - it just takes me back to the index of the forum. I think the problem may be due to the way my school has the PHP set up. You'll notice that when you look at the mboard.php file a different server is processing the code: php.scripts.psu.edu

I don't know if I just need to change a line or two in the mboard.php file or if I can't use this script at all...

here is the phpinfo file:
http://php.scripts.psu.edu/clubs/up/phi ... hpinfo.php
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I don't think your MBoard URL and the $settings['mboard_url'] setting in settings.php are the same?

One is
http://php.scripts.psu.edu/clubs/PhiSig ... tact/forum
and the other probably set to
http://clubs.psu.edu/phisigmapi/contact/forum

You should have both the script and URLs in the settings the same (use ONE url, not two different ones).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Doodmon
Posts: 4
Joined: Sat Apr 01, 2006 3:49 pm

Post by Doodmon »

Thanks... I just changed the settings to: http://php.scripts.psu.edu/clubs/PhiSig ... tact/forum
where it was http://clubs.psu.edu/phisigmapi/contact/forum ... Now it's just acting crazy... You see, the forum is located at clubs.psu.edu/phisigmapi/contact/forum but when I open up any PHP on the site - our school must have something implemented that copies the code to php.scripts.psu.edu ... I think that this must be where the problem is occuring. I'll clear the counts and threads and remove previous messages... if you can make posts to see what's going on - that would be cool. THanks
Doodmon
Posts: 4
Joined: Sat Apr 01, 2006 3:49 pm

Post by Doodmon »

^--- Right now I Can post replies, but it screws up the layout of the index... Deleting will modify the counts and Threads.txt files but it will not actually delete the files from msg folder
Doodmon
Posts: 4
Joined: Sat Apr 01, 2006 3:49 pm

Post by Doodmon »

oops... I put in the wrong operating system... Yes, it is working fine now! thank you for your help
evanm
Posts: 2
Joined: Thu Aug 17, 2006 9:54 pm

same thing for me

Post by evanm »

Posting a new topic works fine, but replying doesn't work. Also I am not able to delete a post, and the smiley's page cannot be found, although I made sure the images are working like on the troubleshooting page.

Here is the text from the settings.php file:

<?php
// >>> SETUP YOUR MESSAGE BOARD <<< //
// Detailed information found in the readme.htm file
// Settings file version: 1.22

// Password for admin area
$settings['apass']='evanm';

// Website title
$settings['website_title']="Evan's Journey Message Board";

// Website URL
$settings['website_url']='www.students.washington.edu/evanm/mboard112';

// Message board title
$settings['mboard_title']="Evan's Journey - message board";

// URL to folder where message board is installed
// DO NOT a trailing "/" !
$settings['mboard_url']='www.students.washington.edu/evanm/mboard112';

/* Prevent automated submissions (recommended YES)? 1 = YES, 0 = NO */
$settings['autosubmit']=0;

/* Checksum - just type some digits and chars. Used to help prevent SPAM */
$settings['filter_sum']='s62jd9eq3af';

// Allow smileys? 1 = YES, 0 = NO
$settings['smileys']=1;

// Send you an e-mail when a new entry is added? 1 = YES, 0 = NO
$settings['notify']=0;

// Your e-mail. Only required if $settings['notify'] is set to 1.
$settings['admin_email']='you@yourdomain.com';

// Display IP number of members posting? 1 = YES, 0 = NO
$settings['display_IP']=1;

// Maximum number of posts displayed on the first page
$settings['maxposts']=50;

// Keep or delete old posts? 1 = KEEP, 0 = DELETE
$settings['keepoldmsg']=1;

// File exstention for message files
$settings['extension']='html';

/* Filter bad words? 1 = YES, 0 = NO */
$settings['filter']=0;

/* Filter language. Please refer to readme for info on how to add more bad words
to the list! */
$settings['filter_lang']='en';

?>



Did I miss something obvious?

Thanks.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello evanm,

The url for your mboard is wrong in your settings.php file.
You say it is:
www.students.washington.edu/evanm/mboard112
but it is:
www.students.washington.edu/evanm/mboard
(without the trailing 112).

I don't know if this is causing the problems, but at least you should correct it.

Greetings,
Henrie
evanm
Posts: 2
Joined: Thu Aug 17, 2006 9:54 pm

Post by evanm »

Yeah I noticed that right after I posted, and fixed it. However, it didnt do anything to help the problem. Thanks tho. Any other suggestions?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello evanm,

Perhaps the problem is that you have not added http:// as the start of you url.
So change
www.students.washington.edu/evanm/mboard
to
http://www.students.washington.edu/evanm/mboard

Then try with a new post and then a reply.
Because url's are being hardcoded in the messages you existing messages will not be updated when you change the settings.php file.

Greetings,
Henrie
Locked