Page Index Toggle Pages: 1 Print
Board Errors (Read 1531 times)
Captain John
Ex Member


Board Errors
Oct 15th, 2007 at 9:57pm
Print Post  
When creating a board the Global Announcement box is not tickable

When you first installed your YaBB2.1 the Global Announcement and Recycle Bin are already installed. Have you deleted them after first install??

If so to the above firstly take a look in the forum.master file in the Boards Folder you may find the following

$board{'announcements'} = "Global Announcements||";
$board{'recycle'} = "Recycle Bin||";

If so Delete it. Do a backup of the file first.

also in the forum.control file you may find the following

staff|announcements||Topics you place in this board will display as a "Global Announcement" on the top of all other boards.  Use this for things such as forum rules, top news articles, or important statements.|admin||Administrator|||0||1|||||
staff|recycle||If the Recycle Bin is turned on, removed topics will be moved to this board. This will allow you to recover them if it is necessary.  You should purge messages in this board frequently to keep it clean.||||||1|||1||||

delete this also then upload to changed files and Chmod to 666 then go and make the new boards and you should be able to tick the boxes.

You may have to also create a category called Forum Staff if this has been deleted.

Don't Forget BACKUP All The Files BEFORE You Start Changing Them.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #1 - Oct 15th, 2007 at 10:05pm
Print Post  
IE& Clipboard error
This patch will fix the problem with the annoying "copy to clipboard" pop-up when posting in IE 7.

A checkbox is added to the post/reply page where users can enable/disable the auto-copy function. In IE 7 the auto-copy function is disabled by default - in older IE browsers it's enabled by default.

http://www.boardmod.org/yabb/YaBB.pl?board=beta_y2;action=display;num=1165506700
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #2 - Oct 15th, 2007 at 10:07pm
Print Post  
Sessions won't allow login

in Variables/secsettings.txt  in line 10

set to 0

Code
Select All
$sessions = 1 ; 


  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #3 - Oct 15th, 2007 at 10:10pm
Print Post  
A "repeated Post timeout error"

An Error Has Occurred! The last POST request from your IP was less than 5 seconds ago, and was blocked to prevent overloading the forum. Please try later.

There might be an entry in the flood.txt file located in the Variables dir that contains your IP address.  Because it is there, the software assumed that address was a flood threat and refused to accept posts. Erasing the contents of this file, but leaving the file intact (0 bytes) corrects the difficulty
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #4 - Oct 15th, 2007 at 10:18pm
Print Post  
won't stay logged in

When you try to make changes to the admin profile (i.e. password), the changes don't save.
When a new user is trying to register, after receiving the success message and clicking login, they receive the username / password error.


When a new user was created, username.msg and username.vars were created in the Members folder. The problem maybe that the files were getting permissions 644 which meant Group and Owner only had read access. I needed this to be 666 i.e. everyone read and write access.

The solution was to add umask(000); command to the top of YaBB.pl which forces the server to create all new files created by the script to be 666. This ONLY works on a Unix/Inux server.

You may also have to incorrect permissions on memberinfo.txt and memberlist.txt They also needed 666
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #5 - Oct 15th, 2007 at 10:21pm
Print Post  
Registration Forum proceedure:

Actually between pre registration and activation there is no new write, only file changes.

To sum up in a nutshell what happens during pre registration:

A pre-registered user creates a new <userid>.pre file and his ID, together with a timestamp and the activation key is saved in a file in members (the pre registration log called memberlist.inactive).

So this means those two files have to be written (you can check using FTP if the .pre files get written and if the data is also entered in memberlist.inactive.

If this is working the activation link should do the following if succesful.

First of all it checks memberlist.inactive if this user is on the pre registration list and at what time he/she registered.
If he/she is on the list and the time between registration and activation is less then the default set 24 hours the following happens:

- the <userid>.pre file is renamed to <userid>.vars
- the preregistration data is removed from memberlist.inactive
- the member info is entered in memberlist.txt
- the memberlist.ttl is increased by 1.

With FTP you should be able to monitor this completely and find out where it goes wrong. (most likely the memberlist.inactive file has the wrong chmods and does not get editted on pre registration (looking at the error you get).


Upon registration. It sends an e-mail, which you should receive, but when you click the link:

"This user was not pre-registered or the allowed time span of 24 hours expired"


Basically clicking the activation link does four things:

1. it checks if the activation code is the same as saved in the list with pre-registered users
2. if the code is correct it renames the <userid>.pre file to <userid>.vars (which needs correct chmods)
3. it removes the entry for this ID from the pre-registration list and adds it to the memberlist
4. it sends the user an email that registration was succesfull.

Known issues with some email clients are the html conversion of the link which changes certain characters into their html equivalents, which makes the activation link fail.

Solution is to copy&paste the link from the message straight into your browser and activation should work.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #6 - Oct 15th, 2007 at 10:28pm
Print Post  
Admin can't sign in

   You can do two things to gain access:

1) edit admin.vars file in members folder and replace the encrypted password, with a plain text word, you can use to login once.

2.) replace the admin.vars file in the members folder, with a backup file, or replace with a clean admin.vars from the YaBB installation zip, which would then use admin for username and password.

OR:

It seems for whatever reason, "admin" may had been removed from both the memberlist.txt and memberinfo.txt files in "members".

This is why you may get the error message "username/password mismatch" even after you have updated my admin.var file.

So what the solution is to open the original files (from a fresh YaBB Installation Zip file) and copy the line of text containing the "admin" details and pasted them into your current memberlist.txt and memberinfo.txt files. DO NOT overwrite them with the original files or you will lose all your current members details.


ANYTIME you replace the admin.vars file "Update" your profile, once you get in to your forum.


  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #7 - Oct 15th, 2007 at 10:31pm
Print Post  
EX-MEMBER

First go to Admin Center>Member Control>View/Delete Members.. check when your date of registration was...
Then go to Admin Center>Forum Configuration>Forum Settings.... scroll down to General Settings.. "Forum Start Date"  Adjust to clear "Ex" member.  (Must be before (prior) to the admin's registration date.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #8 - Oct 15th, 2007 at 10:37pm
Print Post  
Locked out of forum due to Maintenance Mode

FTP to clear Maintenance

FTP to the server and find the Settings.pl file in Variables and locate this line in it:

Code
Select All
$maintenance = 1; 




Change the value to 0.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Board Errors
Reply #9 - Oct 15th, 2007 at 10:40pm
Print Post  
PM Send Error

In Post.pl find:
Code
Select All
    if($curnum) { $thecurboard = qq~num=$curnum\;action=$destination~; }
    else { $thecurboard = qq~board=$currentboard\;action=$destination~; } 




and replace it with:
Code
Select All
    if($INFO{'action'} eq "imsend") { $thecurboard = qq~action=$destination~; }
    elsif($curnum) { $thecurboard = qq~num=$curnum\;action=$destination~; }
    else { $thecurboard = qq~board=$currentboard\;action=$destination~; } 

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Print
 
  « Board Index ‹ Board  ^Top