7,001

(20 replies, posted in PunBB 1.2 troubleshooting)

Wait, so what did you change?
Edit: I just took a look at your main.tpl and I don't think you're supposed to use PHP in it

7,002

(20 replies, posted in PunBB 1.2 troubleshooting)

Do you have backups you could restore?

7,003

(9 replies, posted in PunBB 1.2 troubleshooting)

lol, I assumed you were using SMTP for a reason: after all, it does say

Leave blank to use the local mail program.

Ah well, glad it's solved smile

7,004

(20 replies, posted in PunBB 1.2 troubleshooting)

If you haven't modded at all, then just overwrite all your php files and see if that magically fixes it wink

7,005

(9 replies, posted in PunBB 1.2 troubleshooting)

try putting :587 at the end of your smtp server address

And that line is something that should be in the smtp server I believe wink

7,006

(9 replies, posted in PunBB 1.2 troubleshooting)

Erm, that's what entering a username/pass is I think wink
Does your SMTP server not use port 25?

7,007

(2 replies, posted in PunBB 1.2 troubleshooting)

Well, in misc.php after the original pun_mail call you can put in another call to pun_mail with the to address being the senders
Like this:

pun_mail($recipient_email, $mail_subject, $mail_message, '"'.str_replace('"', '', $pun_user['username']).'" <'.$pun_user['email'].'>');

Add this after:
pun_mail($pun_user['email'], "Sent: ".$mail_subject."", $mail_message, '"'.str_replace('"', '', $pun_user['username']).'" <'.$pun_user['email'].'>');

This will send a copy of the email to the sender (with the subject being Sent: [whatever the subject of the email was)

7,008

(20 replies, posted in PunBB 1.2 troubleshooting)

Mmm, the database error is blank when I checked your site: did you mod search.php? I would try it with a clean copy first and then try modding it again

No, you don't need a closing ?>
It was taken out because it wasn't needed and people were leaving extra spaces after it, causing errors
And edit out your password hmm

7,010

(3 replies, posted in PunBB 1.2 troubleshooting)

No trouble at all, it was just grabbing the stuff from the update script smile
I would however double check that everything is OK: I'm pretty sure that you'll have some un-necessary columns and tables lying around

7,011

(29 replies, posted in Archive)

adsh wrote:
Smartys wrote:

"Russian support punbb"

Your translation will not change Russian-speaking essense written.

Of course it won't capture the full essense, but I think it gives a pretty good idea smile
Better to have a general idea then no idea: unless the translation is completely wrong, in which case tell me tongue

7,012

(3 replies, posted in PunBB 1.2 troubleshooting)

Well, it looks like you'll have to manually go from that step in the upgrade script (because the mods in it seem to have messed up the script) smile
I'll be more then happy to help you if you like smile

Edit: Well, first you'll have to replace all the php files with clean ones from the download package. Then, run the following SQL commands

ALTER TABLE '.$db->prefix.'users DROP language;
ALTER TABLE '.$db->prefix.'users ADD language VARCHAR(25) NOT NULL DEFAULT 'English' AFTER timezone;
ALTER TABLE '.$db->prefix.'users ADD jabber VARCHAR(75) DEFAULT NULL AFTER url;
UPDATE '.$db->prefix.'users SET group_id=1 WHERE status=2;
UPDATE '.$db->prefix.'users SET group_id=2 WHERE status=1;
UPDATE '.$db->prefix.'users SET group_id=3 WHERE id=1;
ALTER TABLE '.$db->prefix.'users DROP status;
ALTER TABLE '.$db->prefix.'users DROP link_to_new_win;
ALTER TABLE '.$db->prefix.'users DROP last_action;
ALTER TABLE '.$db->prefix.'users CHANGE smilies show_smilies TINYINT(1) DEFAULT 1 NOT NULL;
ALTER TABLE '.$db->prefix.'users CHANGE timezone timezone FLOAT DEFAULT 0 NOT NULL;
UPDATE '.$db->prefix.'users SET show_img_sig = show_img;
INSERT INTO '.$db->prefix."groups (g_title, g_user_title, g_read_board, g_post_replies, g_post_topics, g_post_polls, g_edit_posts, g_delete_posts, g_delete_topics, g_set_title, g_search, g_search_users, g_edit_subjects_interval, g_post_flood, g_search_flood) VALUES('Administrators', 'Administrator', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
INSERT INTO '.$db->prefix."groups (g_title, g_user_title, g_read_board, g_post_replies, g_post_topics, g_post_polls, g_edit_posts, g_delete_posts, g_delete_topics, g_set_title, g_search, g_search_users, g_edit_subjects_interval, g_post_flood, g_search_flood) VALUES('Moderators', 'Moderator', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
INSERT INTO '.$db->prefix."groups (g_title, g_user_title, g_read_board, g_post_replies, g_post_topics, g_post_polls, g_edit_posts, g_delete_posts, g_delete_topics, g_set_title, g_search, g_search_users, g_edit_subjects_interval, g_post_flood, g_search_flood) VALUES('Guest', NULL, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0);
INSERT INTO '.$db->prefix."groups (g_title, g_user_title, g_read_board, g_post_replies, g_post_topics, g_post_polls, g_edit_posts, g_delete_posts, g_delete_topics, g_set_title, g_search, g_search_users, g_edit_subjects_interval, g_post_flood, g_search_flood) VALUES('Members', NULL, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 300, 60, 30);
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('p_mod_edit_users', '1');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('p_mod_rename_users', '0');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('p_mod_change_passwords', '0');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('p_mod_ban_users', '0');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('p_force_guest_email', '1');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('o_show_version', '0');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('o_show_user_info', '1');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('o_default_lang', 'English');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('o_default_user_group', '4');
INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES('o_regs_report', '0');
DELETE FROM '.$db->prefix."config WHERE conf_name IN('o_flood_interval', 'o_search', 'p_guests_read', 'p_guests_post', 'p_guests_post_topic', 'p_guests_search', 'p_users_post', 'p_users_post_topic', 'p_users_edit_post', 'p_users_del_post', 'p_users_del_topic', 'p_users_set_title');
UPDATE '.$db->prefix.'config SET conf_value="1.2.0" WHERE conf_name='o_cur_version';

Replace '.$db->prefix.' with whatever your db prefix is (or remove it if you have none) and you'll be all done.


Edit 2: That will get you up to 1.2.0. You'll still have to run the other update script after wink

Tell me if you get any more errors

7,013

(4 replies, posted in PunBB 1.2 troubleshooting)

The issue is here
OR t.announcement!=\'1\'

There message says there was no announcement column, which makes me think you were installing a mod but forgot to run install_mod.php to do the databases changes.

Was it this mod by any chance?

Well, it's trying to read /root/tmp, not /tmp/root

Edit: Try changing the tmp path (an example is in the previous link)

7,015

(4 replies, posted in PunBB 1.2 troubleshooting)

Enable debug mode, post the full message here

7,016

(0 replies, posted in PunBB 1.2 discussion)

http://en.wikipedia.org/wiki/PunBB
It's fun to see what a simple google search turns up big_smile

Errcode: 13 means permission denied, so if you're still getting the exact same message it is a permission problem

7,018

(63 replies, posted in Feature requests)

Because 25 > 3 smile

http://dev.mysql.com/doc/mysql/en/cannot-create.html

Looks like an issue with your host

Enable debug mode, paste the complete error here

7,021

(29 replies, posted in Archive)

Babelfish seems to word it slightly differently, and it makes a bit of sense (unlike the normal babelfish translations)

We want to focus your attention on the fact that recently were increased in frequency the cases, when are created sites, as the "Russian support punbb" (they are placed, in essence on net.ru, com.ru, org.ru and other free domains). You be attentive, since different assemblings, which can lie on similar sites, it is not enough that they can be assembled with the blunders in cursor, but also is subjected your site to the possible problems with THE SAFETY (for example, to contain the dangerous code). Therefore we advise to draw off iskhodniki of forum only from the official site - PunBB.org, and in the case of the localized assemblings, from the official support (for example, by such site for the russkoyazychnykh users, there is PunBB.ru). You remember that the most complete support, on any question, which is concerned cursor PunBB, you can obtain on this site, since it is created and is supported by professionals, but not by people, for which this project is only immediate enthusiasm. With the respect,

They seem to simply be warning people not to download from any place other then PunBB.org or from the official support forum for their language (in this case punbb.ru).

7,022

(4 replies, posted in PunBB 1.2 discussion)

Here's the mod: http://punbb.org/forums/viewtopic.php?id=6785

7,023

(4 replies, posted in PunBB 1.2 discussion)

I've never seen a spambot on a PunBB forum smile
That being said, if guests can't post on your board and you're worried about spam bots registering, there's a mod to put visual confirmation on the registration page

Other way around, and then it will be an array so you'll have to use print_r to see it
And to disable SHA-1 check the functions (ie: punhash)

7,025

(2 replies, posted in PunBB 1.2 troubleshooting)

That doesn't update it, that checks if there is an update