1 (edited by Nonante 2010-11-27 20:17)

Topic: [Fixed: 1691] Minor bug during a fresh installation

Hello,
I am often confronted with install / uninstall PunBB for various reasons.
I was not sure, but i think there is a minor bug during installation of PunBB.

Despite the fact that I gave the folders permissions 777 (cache & avatars)
inevitably get the message :
- "The cache directory is currently not writable! ..." and
- "The avatars directory is currently not writable! ...".

Besides, when I then went on board index, the error message about the rights of writing, no longer appears.

This bug is not problematic in itself but as it is resolved.
I just watched, just edit the file FORUM_ROOT.'admin/install.php' at line 1749 and 1752.

Change

// Check if the cache directory is writable
    if (!is_writable('./cache/'))

to

// Check if the cache directory is writable
    //if (!is_writable('./cache/'))

    if (!is_writable(FORUM_ROOT.'cache/'))

and the same at line 1752, change

// Check if default avatar directory is writable
    if (!is_writable('./img/avatars/'))

to

// Check if default avatar directory is writable
    //if (!is_writable('./img/avatars/'))

    if (!is_writable(FORUM_ROOT.'img/avatars/'))

Nobody have never reported this error ?

I don't speak English, but Google Translate is doing pretty good.

2

Re: [Fixed: 1691] Minor bug during a fresh installation

Thanks, we added ticket: #377

Re: [Fixed: 1691] Minor bug during a fresh installation

I've installed several PunBB fourms and every time that has resulted in me making the permissions on the cache to 777 and then discovering that I can put it back later. It does waste a lot of time figuring it out. I assume that everybody goes through that process. Anyway, it's nice to see it's on the list now. Thanks hcs. smile

Nonante: Nobody have never reported this error ?

That really surprises me too, but I don't think people are aware that it is not their fault. I thought I had done something wrong. I also worry about how many wide open cache directories there are out there.

4 (edited by dimkalinux 2011-03-08 09:20)

Re: [Fixed: 1691] Minor bug during a fresh installation

Fixed in [1691]

Re: [Fixed: 1691] Minor bug during a fresh installation

Fixed in [1691]