Thanks!
I get: Database reported: Unknown column 'u.avatar' in 'field list' (Errno: 1054).
I checked and there are other fields missing so i guess i have to reinstall fresh.
1 2017-12-17 14:31
Re: Sorry! The page could not be loaded. (4 replies, posted in PunBB 1.4 troubleshooting)
2 2017-12-17 12:14
Re: Sorry! The page could not be loaded. (4 replies, posted in PunBB 1.4 troubleshooting)
Thanks for your help!
I don't understand step 1. On my homeserver i still have 1.3, the hoster already has the latest version.
3 2017-12-17 11:48
Topic: Sorry! The page could not be loaded. (4 replies, posted in PunBB 1.4 troubleshooting)
Hello,
After years of having punbb on my homeserver i am migrating to a hoster. I installed the latest punbb, 1.4.4 there and tried to import an sql dump. My version is only 1.3.4 (forgot to check, stupid) AND mine was sql but the hoster has mariadb and they said i had to remove the Create from the sql dump because they didn't allow that. It got kind of confusing and the guy at the hosting said he would help me if i gave him my .sql dumps.
Now at first it seems it worked but if you click on a post you get.
---------
Sorry! The page could not be loaded.
This is probably a temporary error. Just refresh the page and retry. If problem continues, please check back in 5-10 minutes.
---------
The forum is on a temporary url here http://jeancok266.266.axc.nl/forum/
Any ideas? I could start with a fresh install again, it's just that i have to tell everybody to register again.
4 2014-03-14 12:18
Topic: Help me fight spambots (0 replies, posted in Feature requests)
Hi,
I notice spambots often visit the forum and the next thing they do after they are on the index page is visit the last modified topic.
I am trying to use this to fight them by trying to recognize this and ban the ip.
But I would like to know how they get this last modified topic from the forum index because I don't see a link to that topic on the index page. There are links to the last post in each subforum but not one link to the last modified one.
So I'm baffled, how do these bots figure out the last modified topic from visiting the index page??
Hope you understand the question.
5 2011-09-15 16:20
Topic: How to troubleshoot forum email? (0 replies, posted in PunBB 1.3 troubleshooting)
Hi,
Since moving to a linux server the forum email does not work anymore. I tried both options, fill in the field with the my provider's smtp server and leave it blank.
I get no error messages and no mail is sent.
I prefer the smtp server because I'm not sure sendmail is setup ok on the server. Although when I use the commandline and 'mail' I can send mail allright.
Where should I look for error messages?
Thanks.
Edit: never mind, it started working...
6 2010-12-10 09:24
Re: pun_bbcode version 1.3.5 (2 replies, posted in PunBB 1.3 extensions)
Thanks, after clean reinstall of punbb 1.3.4 and this file I've got my buttons back.
Try this one:
7 2010-12-09 12:15
Topic: pun_bbcode version 1.3.5 (2 replies, posted in PunBB 1.3 extensions)
I'm trying for some time to get my bbcode buttons back like this forum has. There are some topics about it and some refer to a version 1.3.5 of the pun_bbcode plugin.
It's also said that this forum uses 1.3.5 http://punbb.informer.com/forums/post/137772/#p137772
However, all I can find is 1.3.6. (versionnumber is in manifest.xml)
Please give us a download to the 1.3.5 version.
We want them buttons back!
8 2010-12-05 08:57
Re: Bug in Ext Pun_BBCode: bar is missing - Parse error in code (23 replies, posted in PunBB 1.3 bug reports)
bump
Slavok wrote:I can't reproduce the bug. Can you check out the 1.3.5 version of the extension to check if the bug persists, please? It is the 1643 revision in svn.
I grabbed the bbcode extension off the SVN and still no luck.
9 2010-12-03 11:59
Topic: bbcode: space in url produces error (1 replies, posted in PunBB 1.3 troubleshooting)
A space in an url in a post will give trouble.
If I try to submit a post like
www.someplace.com/this is an ulr.html
with url tags around it I get:
Warning! The following errors must be corrected before your message can be posted:
url was opened within itself, this is not allowed
I can't even post here with http:// before such an url.
If I omit the tags I get an invalid link like above.
Please tell me there is a workaround, change something somewhere in the bbcode parser code maybe?
Thanks.
10 2010-05-03 14:37
Topic: punbb setcookie() and trying to integrate login (0 replies, posted in PunBB 1.3 extensions)
Hello,
I'm trying to login to punbb from my own code. I understand that I need to call setcookie().
I can get the user's password, salt etc from the punbb database allright and I can compute the hash with sha1($salt.sha1($str)); Other values for set_cookie() can be found in config.php.
But what exactly should I put into 2e param $value please?
Edit: never mind, I think I found the solution, this seems to work. This is my code in case anybody is interested. It doesn't use any punbb functions so it is fully independant. Hope it is readable.
// input $name and $pass
$name = $_POST['name'];
$pass = $_POST['pass'];
// here of course you should connect to the punbb database first
mysql_connect(etc);
mysql_select_db('yourpunbb_database');
$query = "SELECT * FROM users WHERE username='$name'";
list($id, $hashpass, $salt) = mysql_fetch_row(mysql_query($query));
if (punhash($pass, $salt) == $hashpass) // password match?
{
puncookie($id, $hashpass, $salt); // login
header("Location: index.php");
}
//-------------------------------------------
function punhash($str, $salt)
{
return sha1($salt.sha1($str));
}
//-------------------------------------------
function puncookie($id, $pass, $salt)
{
header('P3P: CP="CUR ADM"');
$cookie_name = 'forum_cookie'; // you should get these from your config.php
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$expire = time()+24*60*60;
$value = base64_encode($id.'|'.$pass.'|'.$expire.'|'.sha1($salt.$pass.punhash($expire, $salt)));
setcookie($cookie_name, $value, $expire, $cookie_path, $cookie_domain, $cookie_secure, true);
}
Thanks.
11 2010-04-05 15:25
Re: logged in [solved] (3 replies, posted in PunBB 1.3 troubleshooting)
I looked a bit at the cookie behaviour.
If I login to the forum there are 3 cookies:
[forum_cookie_4c38ad]
[punbb_cookie]
[forum_cookie_69d348]
If I then go to some other part of the site and come back to the forum there is only this one cookie left [forum_cookie_4c38ad]
Untill I login, then there are the same three again.
Config.php has this entry btw: $cookie_name = 'forum_cookie_69d348';
Mystery to me, hope someone can shed a bit of light?
Yet another Edit: I found the cause. I was using the local ip 192.168.x.x to access the forum. When using the domain name I stay logged in.
'Problem' solved.
12 2010-04-05 12:58
Re: logged in [solved] (3 replies, posted in PunBB 1.3 troubleshooting)
Thanks.
I tried latest opera, latest firefox and ie6. No difference.
I was thinking that maybe because the iframe reloads index.php everytime somehow the cookie data gets lost?
Edit: I use some simple ajax to handle those button clicks, maybe that is the cause?
Edit2: Using ajax or not seems to make no difference.
Could I force index.php to check if a cookie is set for the forum?
13 2010-04-05 07:40
Topic: logged in [solved] (3 replies, posted in PunBB 1.3 troubleshooting)
Hello,
My forum is part of a website which has a menu with buttons. When you click the button for the forum I call an iframe and punbb starts.
echo "<iframe src=forum/index.php style=\"width:100%; height:3000; border:0; margin:0; padding:0;\" scrolling=no></iframe>";
I click Login on the forum and I get logged in.
Now the problem is that when I click on a button to go to another part of the site, and then come back to the forum I am not logged in anymore. It looks like by calling index.php the forum 'starts all over'?
Is there a way to stay logged in?
This is the site: http://planetdance.mine.nu
14 2010-04-03 11:01
Topic: visible smilies / bbcode when posting? (1 replies, posted in PunBB 1.3 extensions)
Hi,
This editor on this forum has visible smilies/bbcode but I can't find any extension that does this, nor any setting in my local punbb 1.3.
How do I get these visible smilies instead of just the link to the smiies help page?
Thanks.
Edit: I reinstalled punbb and now I finally have the damn smilies/bbcode. Must have deleted something previously..
15 2009-03-17 20:40
Re: change the color of the index bar, oxygen_cs.css navlinks? (3 replies, posted in PunBB 1.3 troubleshooting)
you should think that changing the colors in oxygen_css.css that are about 'navlinks' would do something, yet I didn't succeed.
But I had other problems, that seem to be gone with 1.2, like opera presenting a horizontal scrollbar on my iframe, so for now I'll stick with 1.2.
16 2009-03-17 14:59
Re: change the color of the index bar, oxygen_cs.css navlinks? (3 replies, posted in PunBB 1.3 troubleshooting)
Never mind, I went back to 1.2, it's not as sexy as 1.3 but more things are working, layout problems have now gone too.
17 2009-03-17 07:47
Topic: change the color of the index bar, oxygen_cs.css navlinks? (3 replies, posted in PunBB 1.3 troubleshooting)
Trying to change the color of the bar that reads
Index User List Search Login etc.
I was looking in oxygen_cs.css and changing colors in brd-navlinks entries but that didn't change much.
How do I do this?
Thx.
Edit: it seems installing styles is not yet implemented in 1.3?
18 2009-03-15 23:52
Re: add user extension, how to set password (2 replies, posted in PunBB 1.3 troubleshooting)
Yeah, saw that afterwards.
Thx.
You can also just do it from the users profile, if you click the tick box below it redirects you to the profile. From the main profile page is an option to set the users password.
19 2009-03-15 17:47
Re: iframe scrollbar & width issues (1 replies, posted in PunBB 1.3 troubleshooting)
I managed to fix IE with some browser detection code, adding scrolling=yes and horizontalscrolling=no
Opera still displays horizontal scrollbar no matter what I come up with.
20 2009-03-15 16:13
Topic: iframe scrollbar & width issues (1 replies, posted in PunBB 1.3 troubleshooting)
Hi,
I use punbb in an iframe like this:
<iframe src=punbb/index.php width=90% height=90% frameborder=0 allowtransparency=yes></iframe>
But both opera and IE incorrectly display a horizontal scrollbar.
Opera when displaying the forums and topics, not while displaying posts , and you can scroll a lot horizontally.
The one IE displays is only when displaying a list of posts that require a vertical scrollbar, because of the vertical scrollbar, the page suddenly 'gets wider' and a horizontal appears if you know what I mean.
Firefox seems to always display correctly.
Can I fix this?
I tried adding style="overflow-x: hidden;" to the iframe but it does not help.
My site is here http://planetdance.dyndns.org
Thx.
21 2009-03-15 14:29
Re: my board looks off. (4 replies, posted in PunBB 1.3 troubleshooting)
My shot:
The board can't find its graphics, probably because you installed it on localhost.
You have to supply a valid domainname when you install it, like http://www.mysite.com/forum
Then in your hosts file on that server have an entry like
127.0.0.1 www.mysite.com
this way you have correct paths when browsing on the server and from outside.
Your board seems to be down atm, however i think i have the same problem as you so im gonna borrow your thread.
This is how it looks for me:
On the host computer however everything looks fine, so if anyone got a solution for this problem i would be happy to know.Thank you!
22 2009-03-15 11:41
Topic: add user extension, how to set password (2 replies, posted in PunBB 1.3 troubleshooting)
Hello,
Just installed punbb.
The extension for to add a user manually does not let one specify a password. And a password field has to be non empty to login.
How can I specify a password for a manually added user?
Thanks.
Jean.
Edit: Never mind, I managed to edit the extension.