NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 11-20-2006 20:56:12

China
Member

Sorry, the BBS e-mailer isn't working.

So, I made a dummy account to try and see if Registration and everything was working a-okay for the average user.  After I registered, I got this page:

Error
Sorry, the BBS e-mailer isn't working. You'll have to wait for your application to be approved.

Use your browser button to go back.

Not that surprising considering I have the oekaki set to manually approval by the Admins, but what did surprise me was the Error message.  This is probably a dumb question but, is this an error?  Or is this what it is suppose to say? x_x

This is the latest version of Wacintaki.

Last edited by China (11-20-2006 21:03:01)

Offline

#2 11-21-2006 04:22:01

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

This means that the server hosting the oekaki cannot send e-mails.  As to why, you'd have to ask your system admin.

If you don't want to approve each member individually, go to the control panel, look for "Require Approval?" and choose "No (forced)".

Offline

#3 11-29-2006 21:51:55

China
Member

Re: Sorry, the BBS e-mailer isn't working.

Are you sure?  Because after I approved the dummy account, they do recieve a "Account Approved" e-mail.  Or is this something else?

Offline

#4 11-30-2006 05:33:46

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

If you approve accounts manually and the server e-mailer isn't working, the board will let you know e-mails can't be sent, and will prompt you to notify people manually, as well.

If you have "No (forced)" selected in the control panel, people will have their accounts automatically enabled as soon as they register.

Registrations are just a pain if the server can't send e-mail.  sad

Offline

#5 12-03-2006 00:51:24

China
Member

Re: Sorry, the BBS e-mailer isn't working.

We never had to e-mail them manually before.

Well I tried to enable "No(forced)" and got this error:

Warning: fopen(dbconn.php) [function.fopen]: failed to open stream: Permission denied in /home/jinx/public_html/oekaki/cpanel.php on line 169

Warning: Cannot modify header information - headers already sent by (output started at /home/jinx/public_html/oekaki/cpanel.php:169) in /home/jinx/public_html/oekaki/common.php on line 92

Offline

#6 12-03-2006 04:20:00

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

Your config files are not writable, so the config changes can't be saved.

Either CHMOD the "config.php" and "dbconn.php" files to 664 in your FTP program, or copy the "reclaim.php" file from the documentation folder of the Wacintaki distribution to your server and run it.

To make sure everything is writable, log into the board as the owner and then view "testinfo.php".  This is a diagnostics page that will let you know if any other files are not writable.

Offline

#7 12-04-2006 09:38:46

China
Member

Re: Sorry, the BBS e-mailer isn't working.

I just realized that now my files are locking me out too (no idea why).  I ran reclaim.php:

Warning: rename(dbconn.php,dbconn_old.php) [function.rename]: Permission denied in /home/jinx/public_html/oekaki/reclaim.php on line 22
FAIL: Cannot delete temp file dbconn_old.php

Warning: rename(config.php,config_old.php) [function.rename]: Permission denied in /home/jinx/public_html/oekaki/reclaim.php on line 22
FAIL: Cannot delete temp file config_old.php
RECLAIM: resource/ips.txt reclaimed. Should now be writable.
RECLAIM: resource/hosts.txt reclaimed. Should now be writable.
RECLAIM: resource/banner.php reclaimed. Should now be writable.
RECLAIM: resource/notice.php reclaimed. Should now be writable.
RECLAIM: resource/rules.php reclaimed. Should now be writable.

Failed! If you're using Windows, wait 15 seconds and run this file again.
If using UNIX/Linux, check that there are no temp files and the original config files are named properly.

Tried CHMODDING those two files and ran reclaim again.  No dice.  My diagnostics currently:

./  Locked 
./pictures/  OK 
./templates/  OK 
./resource/  OK 
./avatars/  Locked 
./config.php  Locked 
./dbconn.php  Locked 
./resource/banner.php  OK 
./resource/hosts.txt  OK 
./resource/ips.txt  OK 
./resource/notice.php  OK 
./resource/rules.php  OK

Offline

#8 12-05-2006 03:22:14

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

Ouch.  If you can CHMOD the files in an FTP program, you might have to back them up on your computer, delete the files from the server, re-upload them, and CHMOD them to either 660 or 664.  That will flush out any CHOWN permissions.

Note that the avatars folder should be CHMOD to 775, not 664.  If you remove the avatars folder from the server and re-upload it, set the folder to 775, and then EVERY file in the folder must be CHMOD to 664.  Otherwise, people will not be able to change avatars.

If you can't CHMOD the files, or if the files are still locked no matter what you do, you might have to ask your sysadmin to change them so they are writable to both PHP and your FTP account.

Sometime UNIX/Linux is a real pain in the butt.

Offline

#9 12-07-2006 19:14:11

China
Member

Re: Sorry, the BBS e-mailer isn't working.

I'm not on Linux/Unix. sad

So I tried deleting them on FTP, uploading them and changing permissions.  Still "locked" as far as changing permissions on how approval goes.  Tried deleting them and uploading them on the file server and changing permissions there.  Ran reclaim:

Warning: rename(dbconn.php,dbconn_old.php) [function.rename]: Permission denied in /home/jinx/public_html/oekaki/reclaim.php on line 22
FAIL: Cannot delete temp file dbconn_old.php

Warning: rename(config.php,config_old.php) [function.rename]: Permission denied in /home/jinx/public_html/oekaki/reclaim.php on line 22
FAIL: Cannot delete temp file config_old.php
OK: resource/ips.txt
OK: resource/hosts.txt
OK: resource/banner.php
OK: resource/notice.php
OK: resource/rules.php

Error when I try to edit avatars:

Warning: fopen(avatars/77f43ba0149502a9052e39d95c6b9b4b.gif) [function.fopen]: failed to open stream: Permission denied in /home/jinx/public_html/oekaki/edit_avatar.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/jinx/public_html/oekaki/edit_avatar.php:90) in /home/jinx/public_html/oekaki/common.php on line 92

Last edited by China (12-07-2006 19:23:06)

Offline

#10 12-08-2006 05:22:06

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

OK, I need to confirm a few things...

1) You copied the files to your computer, deleted the ones on the server, re-uploaded the files, and CHMOD them... and PHP still says they're locked, right?

2) You're not running UNIX/Linux.  What OS is on your server?  Windows?  MacOS X?

3) Is the root folder ("oekaki/") writable?  Don't change it!  Just tell me if it is or not.  I don't know if changing the CHMOD of the root will lockout your whole oekaki.

4) Have you tried permissions a bit less restrictive?  What happnes if you use 775 on the config and dbconn files?  What about 770?

To me, this sounds like a CHOWN issue, and deleting the files from the server (if you can actually do that) should solve the problem.  If not, you may have no choice but to contact an admin and ask them to fix it so both your FTP account and PHP can write to them.

With an FTP login, I could take a look, too.  Security resolution has a lot to do with how the server is set up.  Some servers are really weird.

Offline

#11 12-08-2006 14:46:16

China
Member

Re: Sorry, the BBS e-mailer isn't working.

1.  Right.
2.  Windows XP
3.  Believe so.  It's currently set to 755.
4.  Tried changing config/dconn to 775 on FTP.  Still locked.  Tried changing them to 770.  The oekaki pages turn white and "Cannot open database file."  Changed them back to 775.

I'll e-mail you.

Last edited by China (12-08-2006 14:47:07)

Offline

#12 12-09-2006 01:51:03

Waccoon
Administrator

Re: Sorry, the BBS e-mailer isn't working.

OK, it should be working, now.

The security model is a bit weird.  If the files are created by the server (CHOWN to PHP), the permissions should be 644, and you cannot change the file permissions from your FTP client.  This is normal.  However, if you upload files to the server via FTP, they must be CHMOD to 666 for them to be unlocked.  This is because the public (not just security groups) need write permissions.  So, if you upload any files in the future, make sure you use a CHMOD of 666.

Folders also need public write permissions, but they also need to have execute permissions, or else PHP won't work and people will be greeted with a 403 Forbidden error.  So, CHMOD uploaded folders to 777.

Offline

#13 12-09-2006 02:28:49

China
Member

Re: Sorry, the BBS e-mailer isn't working.

Ah, it works!  Thanks so much, you're a life saver. smile

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB