phpBB3 library |
[eluser]Unknown[/eluser]
hi, I'm receiving a 500 error when i load the library. Any suggestions on the htaccess settings required?
[eluser]Unknown[/eluser]
Very frustrating to see that this is working successfully with you guys. I have now read this howto in phpBB3 library (EllisLab) and have tried other dirty workarounds without succeeding at all. Error: Code: Fatal error: Call to a member function session_begin() on a non-object in /home/username/domainname/html/application/libraries/Phpbb.php on line 38 Can someone of you please give me a answer/workaround on this subject asap?
[eluser]Unknown[/eluser]
I have a website built using CodeIgniter that links to the forum. Once someone logs in the forum, I want to fetch the user details and display them in the site. I found this phpbb3 library for CodeIgniter projects. My project is set-up as follows: project/application project/forum I modified the FORUM_ROOT_PATH to: Code: define('FORUM_ROOT_PATH', base_url().'forum/'); Calling the controller phpbb_test.php returns the following errors wherever the include() is used: A PHP Error was encountered Filename: libraries/Phpbb.php Messages: * include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 * include(http://localhost/project/forum/common.php): failed to open stream: no suitable wrapper could be found * include(): Failed opening 'http://localhost/project/forum/common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') How do I fix this?
[eluser]CroNiX[/eluser]
Haven't used that plugin, but it looks like you simply need to supply an actual file path to the forum dir, NOT a URL. The error messages state that your host doesn't allow including via http://, which is what base_url() does. Allowing includes by URL can be very insecure since you can execute php code from a different server, so that's probably why your host disables it. |
Welcome Guest, Not a member yet? Register Sign In |