PDA

View Full Version : another issue


eddie43302
11-01-2006, 11:45 PM
for some reason my forum was working fine when i created a new forum, now when i go to make a new one after filling everything out and clicking submit it takes me to a blank page and it doesnt send me the email confirmation to my email like im suppose, but the forum shows up in the forum list but.. i have to manually go in and click activate forum, ive already had people come to my site to get a free forum and they probably never got a email confirmation some probably went somewhere else... anyone know what the problem is, also when a new forum is created in my forum directory it doesnt list them in what category someone picked example: someone makes a forum in pets category if another person goes to signup and see pets category it will have a 0 beside it even if there are forums in there... help i need a fix for the above fast

eddie43302
11-02-2006, 01:57 AM
Also i have this problem to anything having to do with sql is not working

SQL Query: UPDATE eddie43302_config SET config_value = 0 WHERE config_name = 'board_disable'
MySQL Error: Table 'eddie43302.eddie43302_config' doesn't exist
MySQL Error Number: 1146
Date: Wednesday, November 01, 2006 23:56:37
Username: eddie43302
IP Address: 76.181.23.134



i even reinstalled this forum for like the 5th time no luck same thing

eddie43302
11-02-2006, 04:47 PM
ive decided to try the amfr multi forum hosting script im just having to many issues with this one..

Derek
11-03-2006, 10:06 AM
Sounds like your FTP path might have been incorrect. The SQL error is prolly due to that as well, the script probably timed out when creating the account.

Derek

eddie43302
11-03-2006, 11:40 AM
ok well i thought id give it another try... if you want can you take a look at my settings and check everything i still have the above problem and another when i make a test forum aint the avatars and smiles folder suppose to be in the new forum i create.. well when it creates it makes the folder named eddie but its empty there aint anything in it its suppose to create like image directories and such... ill pm you my ftp info derrick and see if you can please fix it please....

also i forgot to tell you i have a image hosting script installed to but its not tied to the forum what so ever and when you first go to my ftp area you will see the files.. the forum files are located in the directory called "free" also when i create a new forum it makes the folder outside of the forum folder for some reason..

Derek
11-03-2006, 04:14 PM
Fixed for Beta 8. I made the change to your files too.

eddie43302
11-03-2006, 04:16 PM
what was the whole issue if you mind not telling me so that i know int he future! and thanks alot man :)

Derek
11-03-2006, 04:50 PM
I think it was the way I had my FTP function coded... I had it doing a change directory command each time a file was being uploaded. So I made it only do it if the CWD was not the directory specified. I made this change awhile ago for Beta 8, and thats what I used on yours, so what I think is that the FTP server was timing out because of that.

eddie43302
11-03-2006, 04:56 PM
another thing when i click enable all forums in the admin area is still comes up with that mysql error but you got everything else working right so im not so worried about it since i can enable and disable them 1 at a time.. i just thought you would like to know since it could be something you can fix in the future or maybe its just only my site.. but anyway thanks again i was getting so pissed lol!also i have different themes my users can install is there anyway that they can change the logo for them themselves or not since most of the themes needs the logo changed or they will all say whatever the maker of the template has put there..

Derek
11-03-2006, 05:01 PM
I will look into your problem. I believe it is just happening on your site, I'll see what I can do.

Also for your question about changing the logo... I am currently working on adding that feature to beta 8 too, but it will require everyone to modify the header file of each template, so I'll probably have a setting for people to disable it if they don't want it.

Derek

Derek
11-03-2006, 05:07 PM
Looks like a bug. I will get it fixed and either release beta 8 if I finish it in time or release a patch.

Derek

Derek
11-03-2006, 05:13 PM
Ok, I just decided to release a fix...

Open nbs/admin.php.

Find:

// ##################### TURN FORUMS OFFLINE #############################
}
else if ($_REQUEST['do'] == 'offline')
{
$forums1 = "SELECT accessname FROM " . TABLE_PREFIX . "users";
$forums2 = $db->query($forums1);
while ($forums3 = $db->fetch_array($forums2))
{
$db->query("UPDATE " . $forums3['accessname'] . "_config SET config_value = 1 WHERE config_name = 'board_disable'");
}
print_information_message($nbs->phrase['all_boards_turned_offline'], 1, 'admin.php?frame=right', 3);
// ##################### TURN FORUMS ONLINE ##############################
}
else if ($_REQUEST['do'] == 'online')
{
$forums1 = "SELECT accessname FROM " . TABLE_PREFIX . "users";
$forums2 = $db->query($forums1);
while ($forums3 = $db->fetch_array($forums2))
{
$db->query("UPDATE " . $forums3['accessname'] . "_config SET config_value = 0 WHERE config_name = 'board_disable'");
}
print_information_message($nbs->phrase['all_boards_turned_online'], 1, 'admin.php?frame=right', 3);


Replace With:

// ##################### TURN FORUMS OFFLINE #############################
}
else if ($_REQUEST['do'] == 'offline')
{
$forums1 = "SELECT accessname FROM " . TABLE_PREFIX . "users WHERE user_level = 0";
$forums2 = $db->query($forums1);
while ($forums3 = $db->fetch_array($forums2))
{
$db->query("UPDATE " . $forums3['accessname'] . "_config SET config_value = 1 WHERE config_name = 'board_disable'");
}
print_information_message($nbs->phrase['all_boards_turned_offline'], 1, 'admin.php?frame=right', 3);
// ##################### TURN FORUMS ONLINE ##############################
}
else if ($_REQUEST['do'] == 'online')
{
$forums1 = "SELECT accessname FROM " . TABLE_PREFIX . "users WHERE user_level = 0";
$forums2 = $db->query($forums1);
while ($forums3 = $db->fetch_array($forums2))
{
$db->query("UPDATE " . $forums3['accessname'] . "_config SET config_value = 0 WHERE config_name = 'board_disable'");
}
print_information_message($nbs->phrase['all_boards_turned_online'], 1, 'admin.php?frame=right', 3);


Save & Close nbs/admin.php.

Derek

eddie43302
11-03-2006, 05:28 PM
dam man worked perfect.. amazing you can come up with a solution so fast you really know your sh well... you know lol!

Derek
11-03-2006, 05:37 PM
Great, glad its working for you now :)