When trying to install new extension through the pun_repository extension I get the following error:

Warning: pun_repository_download_extension() [function.pun-repository-download-extension]: open_basedir restriction in effect. File(/pun_repository_tar_extract.php) is not within the allowed path(s): (/home/web/userhome:/var/tmp:/usr/local/lib/php:/usr/local/share/pear) in /usr/home/web/userhome/forum/extensions/pun_repository/pun_repository.php on line 118

Warning: pun_repository_download_extension(pun_repository_tar_extract.php) [function.pun-repository-download-extension]: failed to open stream: Operation not permitted in /usr/home/web/userhome/forum/extensions/pun_repository/pun_repository.php on line 118

Fatal error: pun_repository_download_extension() [function.require]: Failed opening required 'pun_repository_tar_extract.php' (include_path='.:') in /usr/home/web/userhome/forum/extensions/pun_repository/pun_repository.php on line 118

To fix this I was forced to add '/usr/home/web/userhome/forum/extensions/pun_repository' to the include path parameter. I did a fast fix by adding the following line:

set_include_path( FORUM_ROOT.'extensions/pun_repository' . PATH_SEPARATOR . get_include_path() );

.. to includes/common.php (just above '// Turn off magic_quotes_runtime')


(30 replies, posted in News)


I upgraded my forum files with the files found the 1.3.3 to 1.3.4 zip. The I ran the 'db_update.php' script which completed successfully. Now when I visit the index page I still get the "Your PunBB database is out-of-date and must be upgraded in order to continue. Please run db_update.php in order to complete the upgrade process." message and when going to 'db_update.php', it says that the DB already has been updated.

Any clues on why this happens or how to fix it?

EDIT: Managed to fix it. I had to clear the 'cache' directory. No everything works as it should again.


(98 replies, posted in PunBB 1.3 extensions)

I've seen this too. What I did was to create a new topic, the upload a file. But before posting it, I previewed it. Then when it was posted the file was not visible in the topic. When checking the attachements folder, the file was uploaded.


I've searched without success if it is possible, and if so how, you can restrict access to a forum or category to a specific Group?




What I want is to restrict all users in Usergroup1 to access Cat2 and all forums inside, and restrict all users in Usergroup2 to access Cat1..

Is this possible?

EDIT: Ofcourse it is. smile Found where to set these settings now.