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 ?