1

(2 replies, posted in PunBB 1.3 bug reports)

Just wanted to confirm that adding

'Guests online'     =>    'Guests online',
'Users online'       =>    'Users online'

to index.php in <Forum path>/lang/English resolved the issue. I hope this will be taken care of in the next version.

Cheers.

I had an issue calling extern.php?action=online and action=online_full. I get the following error:

Notice: Undefined index: Guests online in /home/projecto/public_html/forum/extern.php on line 499
: 6

Notice: Undefined index: Users online in /home/projecto/public_html/forum/extern.php on line 504
: 1

(or line 502 in the second row for online_full value; usernames and the online user counts are properly displayed)

I'm not good in php. When I check those lines, the code there goes like this:

499:
    echo $lang_index['Guests online'].': '.forum_number_format($num_guests).'<br />'."\n";

502:
        echo $lang_index['Users online'].': '.implode(', ', $users).'<br />'."\n";

504:
        echo $lang_index['Users online'].': '.forum_number_format($num_users).'<br />'."\n";

My guess was that this is something about the entries in the language files for 'Guests online' and 'Users online'. However, I wasn't able to find a file in the lang folder holding those.

Then I realized I can check this on any PunBB installation and it is indeed valid here too:

http://punbb.informer.com/forums/extern … nline_full

I would be glad if you look into this, but also if you can point me on a quick fix. Will adding those entries in common.php in the lang folder do the job?

Thanks

I have the very same problem with this extension.

If you try to load the image.php file directly, you get 404 error indeed. Still, the file is there. Should that somehow be related to file permissions?

In any case, in the source of the registration page I get a reference to the image like

<img src="http://example.com/forum/extensions/pun_antispam/image.php?c469563622892b89a9c6300ea1ffd062" alt="">

...but no image is loaded.

4

(2 replies, posted in PunBB 1.3 troubleshooting)

Slavok wrote:

Have you changed the value of $cookie_domain or $cookie_path?

No.

Slavok wrote:

Try to save config.php with UTF-8 (without BOM).

It was UTF-8. I have tried the opposite -- to save it as ANSI. And it worked -- no errors and login works properly.

Thanks.

Hi all,

there are already some posts about this, but I can't get rid of this problem, so would appreciate your help. Here is the sequence of steps I go through:

* I am running a 1.2 clone and upgrading to 1.3.2. The upgrade is okay.
* Now I want to move the base directory holding the forum on my site from example.com/test2 to example.com/test3
* I create the new folder, copy the files, clear the cache directory, change the $base_url in config.php to point to the new path
* I launch the new forum in a browser and get the following errors:

Warning: Cannot modify header information - headers already sent by (output started at
/home/projecto/public_html/test3/config.php:1) in /home/projecto/public_html/test3/header.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at
/home/projecto/public_html/test3/config.php:1) in /home/projecto/public_html/test3/header.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at
/home/projecto/public_html/test3/config.php:1) in /home/projecto/public_html/test3/header.php on line 18

Warning: Cannot modify header information - headers already sent by (output started at
/home/projecto/public_html/test3/config.php:1) in /home/projecto/public_html/test3/header.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at
/home/projecto/public_html/test3/config.php:1) in /home/projecto/public_html/test3/header.php on line 22

* Additionally, I can't login (I am clearing cookies and browser cache before attempting that, ensure that cookies are accepted). I get this error message:

You appear to have logged in successfully, however a cookie has not been set. Please check your settings and if applicable, enable cookies for this website.

Do I miss something? Are there any manual database entry updates which could help? I know the answer to that is usually 'no', but my database has been just updated from the 1.2 to 1.3 migration script, so I wonder if that differs from a clean install somehow.

Sorry for the long post. I would appreciate any feedback.

6

(14 replies, posted in PunBB 1.2 troubleshooting)

Sorry for not replying sooner, wasn't able to follow the forum for a couple of days.

Yes, the meta tags contain text in Cyrillic (to be precise -- Bulgarian, not Russian). I actually realize now that there probably is difference in the encoding of main.tpl and the other files of the installation, namely because of that -- I will check this at home later today. But with regards of the encoding the forum works fine.

Tags are closed properly, did not understand your note about that.

update: main.tpl was with broken encoding. I have corrected it and will find a way to test whther the problem can be reproduced.

7

(14 replies, posted in PunBB 1.2 troubleshooting)

A bit of contextual description:

I'm with Linux, so I don't use IE. The problem was reported to me with a screenshot. I upload it here for reference. The installation is at http://projectoria.org/forum/

I tested it then myself on Windows in an Internet cafe (so probably with high security restrictions, connection through a local proxy etc., if that would matter) and was able to reproduce it. I want to add that the <link> tag for the css was still present in the head and contained the correct path, but obviously style definitions didn't get loaded.

I am really not too involved in php scripting (or any more advanced programming), so I have no clue on what would have caused this. Could be, of course, an IE problem, rather than something with punBB.

Thanks! Knew it would be easy smile

9

(14 replies, posted in PunBB 1.2 troubleshooting)

Agree with Connorhd about editing main.tpl, just wanted to share a problem I came accross a few days ago:

In main.tpl I added two <meta> tags above the <pun_head> tag and styles suddenly got broken under IE. Things seem fine until you use the Back button of the browser. Then the page you go back to is displayed without styles. Refreshing doesn't help.

This got solved after I moved the <meta> tags below <pun_head> like this:

<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>">
<pun_head>
<meta name="Keywords" content="..." />
<meta name="Description" content="..." />

Can't guess the reason and it works for me now.

I simply think that 90 characters, lets's say, is more fit for the kind of discussions in my forum. Note also that 70 characters in English is sometimes quite different than 70 characters in some other language, which is the case.

Of course I agree with the basic idea that length of subjects should be limited.

It seems that I can't find where to alter this length limit in the Preferences. Do I miss something? Or should I simply edit some file to change this? If the latter, can someone point me to it please.

Thanks