526

(1 replies, posted in PunBB 1.3 bug reports)

I've tried to post a message like this:

[list=*]
[*]Many words here (about 5 Kb)
[/*]
[/list]

Both test forum installations on FreeBSD and Windows work perfect. Could you please send me a message that causes the issue (via PM or e-mail)?

Do other users have the issue?

Please, send us your forum URL: http://punbb.informer.com/bugreport.php

This bug is really annoying. I've tried to find the cause some times, but I've found nothing sad
There is to much code verifying user's cookies and security tokens.

I've supposed that the bug appears on posting a form when somebody else have visited the forum after a forum page with the form was opened in browser. Also I thought this error is shown only for admins. Am I right?

We'll continue the investigation smile

Use the uninstall section of pun_pm as an example.

530

(15 replies, posted in PunBB 1.3 discussion)

Well... Please, try to fix, test and commit to SVN smile

531

(154 replies, posted in Supported extensions)

mihalis wrote:

Is there a way to remove the quote (and its tags) from the preview in the subject table? It looks sloppy with it.

Yes, it's a known issue. This task is a bit more complicated than it seems at first glance. We have to do something in the next major version of pun_pm.

The_Fiddler wrote:

The extension has to be unloaded first, then the manfiest has to be edited, then the extension reloaded.

You can lose your data. For example, in pun_pm extension you can lose users' messages. I suggest a more convenient way. After editing the manifest.xml change the extension version (in manifest.xml too). For example, from 1.2.4 to 1.2.4.1. Then you can just update the extension via the admin panel.

533

(21 replies, posted in PunBB 1.3 extensions)

The issue with utf-8 chars is still here. Maybe it causes the following error:

Warning: Invalid argument supplied for foreach() in Z:\home\punbb\www\extensions\xml_backup\functions.php on line 124

I obtained it while restoring from a backup. And restoring actually don't work.

I think you have to convert some entities. Try to set the encoding in htmlentities(). And your function xml2array() seems to be UTF-8 incompatible. Why not to use the function xml_to_array()?

Also there can be issues with the "backups" directory. Shared hostings have PHP safe mode turned on, and users will have to set permissions for this directory manually. Why not to store backups in the "cache" directory? What do you think about this?

Garciat wrote:

It doesn't use FTP or SSH file upload because I don't really know how to do it

I meant just what you have done smile

534

(3 replies, posted in PunBB 1.3 troubleshooting)

This migration tool was designed for PunBB 1.2.

We've released PunBB 1.3 about a month ago. It takes some time to develop add-ons like styles, extensions and other tools. I'm afraid there is no migration tool for PunBB 1.3.

However, you can try to install PunBB 1.2, then run migration tool and finally upgrade from 1.2 to 1.3. But there is no warranty it will work fine. If you going to do it, don't forget to backup your database.

Sorry, I can't help you. Maybe someone else wants.

536

(41 replies, posted in PunBB 1.3 extensions)

Neck wrote:

the pun_bbcode extension's design does not allow such modification to be done automatically.

We can add hooks to pun_bbcode. Just say where they should be placed.

What about 46 line?

Sorry, I can't help you right now. Maybe I'll be able to do it later.

Maybe there is something suspicious in the web server error log?

Are there any errors with the default (Oxygen) style?

541

(4 replies, posted in PunBB 1.3 bug reports)

I've at last added this bug to the list of bugs. Please, write PHP and MySQL versions installed on your server where the issue takes place.

542

(1 replies, posted in PunBB 1.3 discussion)

It's obviously connected with other question: http://punbb.informer.com/forums/topic/ … ge-footer/

543

(21 replies, posted in PunBB 1.3 extensions)

Garciat wrote:

The Backup Control Panel can be found on Administration » Start » Backup (If you think it should be placed somewhere else, let me know)

Maybe Administration » Management » Backup?

Garciat wrote:

What other way could the file be uploaded?

By FTP or SSH to a directory, for example. The extension could write backups in the same direcrory. In this case, for example, admin can make a db-snapshot before updating forum and if something has gone wrong he can simply restore the database to the shapshot without uploading/downloading.

The best way is to support both uploading and restoring from a file on server.

Garciat wrote:

Yes, I'm aware of it not selecting extensions and extensions_hooks. I don't see why they need to be backed up.

Admin can make a full backup on a server 1 and after transferring files one can restore the whole forum on a server 2 with all extensions without installing extensions again.

Garciat wrote:

I don't have experience with encodings so I just used htmlentities() to keep the XML valid and then html_entity_decode(). What should I use instead?

You have to escape the values. I'm afraid I can't say which way is the best. Try to google or to make some experiments wink

544

(21 replies, posted in PunBB 1.3 extensions)

And I think that recovering from a backup by sending a file via the POST method is not the best way. For example, db size here is 125 Mb smile

545

(21 replies, posted in PunBB 1.3 extensions)

My test installation has no prefix, and 'extensions' and 'extension_hooks' were not checked.

There are some problems with encodings. For example, the title of my forum is "Название форума", and it's become into

            <row_3>
                <conf_name>o_board_title</conf_name>
                <conf_value>&ETH;ќ&ETH;&deg;&ETH;&middot;&ETH;&sup2;&ETH;&deg;&ETH;&frac12;&ETH;&cedil;&ETH;&micro; &Ntilde;„&ETH;&frac34;&Ntilde;Ђ&Ntilde;ѓ&ETH;&frac14;&ETH;&deg;</conf_value>
            </row_3>

When I tried to recover the forum from the file obtained before, it displayed the following error:

An error was encountered

The error occurred on line 151 in Z:\home\punbb\www\extensions\xml_backup\functions.php

Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(uJ', 'test2@my.email', 'Ddsf', '1', '1', '1', '1', '1', '1', 'English', 'Oxyg' at line 1 (Errno: 1064).

546

(27 replies, posted in News)

I've just generated them. Please, check the download archive.

You can add these links to the wiki downloads page wink

547

(1 replies, posted in PunBB 1.3 troubleshooting)

Seems like you have selected a wrong charset while upgrading from 1.2 to 1.3.

Is these characters displayed correct in messages written after the upgrade?

If you have backups you can try to restore 1.2 and to upgrade from 1.2 to 1.3 again.

Dan_y2k wrote:

It seems that the PHP error (of a missing language phrases), is still there.

What error is still there? Could you please give a link or a description?

549

(2 replies, posted in PunBB 1.3 discussion)

Usually users can't edit titles.

It's a per-group setting called "Allow users to set their own user titles". Go to the Administration » Users » Groups page and press the "Edit this group" link next to a group you want to edit.

I forgot to turn Maintenance mode on. However, seems like everything is OK smile