Will do, thanks!
1 2004-12-20 22:29
Re: "Warning: main(): URL file-access is disabled..." (5 replies, posted in PunBB 1.2 troubleshooting)
2 2004-12-20 21:09
Topic: "Warning: main(): URL file-access is disabled..." (5 replies, posted in PunBB 1.2 troubleshooting)
"Warning: main(): URL file-access is disabled in the server configuration in /home/gccbfm/www/www/en/news/bb/incBbRecentPosts.php on line 3"
This is the error I got when I went to a site I recently put together ( www.gccbfm.org ).
The following is my exchange with the webhost online support after I enquired about server config changes:
my post:
"Has there been a server configuration change? This site was working fine last time I checked but I am getting this error now:
"Warning: main(): URL file-access is disabled in the server configuration in /home/gccbfm/www/www/en/news/bb/incBbRecentPosts.php on line 3"
The punBB (www.punbb.org) template file in the includes directory is used to customize the bb and any include files used must be kept in the root directory of the bb and included on the template using punBB custom tags (<pun_include "fileName.php">). In order to call recent posts, the bb uses a php file called 'extern.php' . That file requires actions appended to it though, so you end up with '...extern.php?action=online' or '...extern.php?action=new' etc. So, an absolute url is required in the include file to have a 'recent posts' box on other pages in the site.
Please help..."
The response from www.icdsoft.com tech support:
"The Zend Optimizer has been upgraded today, and url file opening has been disabled due to recent exploits, found in the PHP. You can enable this for your site by placing a php.ini file in the folder where your script resides with these lines in it:
allow_url_fopen=On
register_globals=On
See http://www.radwin.org/michael/blog/2003 … ample.html for an in-depth discussion of the issue.
If you need more information, do not hesitate to contact us again."
I did place the ini file in the directory and the error has gone away, but is this something that I should be worried about from a security stand point?
Thanks,
3 2004-12-12 03:02
Topic: moving bb to another directory (1 replies, posted in PunBB 1.2 troubleshooting)
Hello,
Is it possible to move the punBB directory? I would like to move the bb files into another location within the site. What options will I need to adjust?
4 2004-11-27 02:27
Re: changing the default style (3 replies, posted in PunBB 1.2 troubleshooting)
thanks!
5 2004-11-26 04:46
Topic: changing the default style (3 replies, posted in PunBB 1.2 troubleshooting)
Hi,
I noticed that I can change the default style to one of the many provided or create my own and then set that in admin so when a person browses to the board they get the one selected by the admin for the site. But, when that user decides to create an account and logs in, they get the default cobalt.css, I beleive... Is there a way I can set it so that all users, before they decide or learn how to select their own style theme, get the one assigned by the admin?
6 2004-11-26 03:44
Re: customizing (2 replies, posted in PunBB 1.2 troubleshooting)
Thanks... I was wondering where the faq was, searching around the punbb site when all along is was right under my own nose... er directory rather.
7 2004-11-25 03:17
Topic: customizing (2 replies, posted in PunBB 1.2 troubleshooting)
Hi, I have been fiddling with my recent install of punBB trying to fit it with the sites look and feel... beyond attaching my own css, but also the sites header and naviagtion files, which are php include files. When I popped them in main.tpl, I got no results. This leads me to believe that a php directives won't work with a .tpl... which makes sense I suppose... So I pasted the content from the include files directly into the main.tpl and the content displayed. However, I have the headers and footers and navigation in include files for the reason that I don't have to repeat them anywhere else on the site so was wondering if anyone can fill me in on where I might be able to stick the include files so that they appear on the site in their proper locations.
thanks