Bugs should be reported on the Bug Tracker. To download the latest bleeding-edge version of the SDK, head over the SVN repository.
![]() ![]() |
|
Help Iam stuck
|
Jul 21 2004, 02:21 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 119 Joined: 23-September 03 From: Shropshire, UK Member No.: 44,980 IPB Version: 2.0.x |
I have downloaded SDK and am trying to set it up.
I have had a go at configuring ipbsdk_conf.inc but i keep getting errors. Could u have a look at this for me. CODE /** * The full qualified filesystem path to the folder of your IPB installation. * You must add a trailing slash. * * <b>Default path:</b> $_SERVER['DOCUMENT_ROOT'] . "/forum/"<br> * <b>Example path:</b> "/home/public_html/community/forums/" * * @global string * @see DOCUMENT_ROOT */ $root_path = $_SERVER['DOCUMENT_ROOT'] . '/home/public_html/forums/'; /** * The full qualified URL to your board without '/index.php'. * You must not add a trailing slash. * * <b>Default URL:</b> 'http://' . $_SERVER['HTTP_HOST'] . '/forum'; * <b>Example URL:</b> "http://www.mydomain.com/community/forums"; * * @global string */ $board_url = 'http://'.$_SERVER['HTTP_HOST'].'http://www.nexuslabs.co.uk/forums'; I have got the 2 php files and the lib folder located in the root of my ftp and in a folder called ipbsdk. Richman -------------------- SDK User
|
|
|
|
Jul 22 2004, 05:25 AM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 10-July 04 Member No.: 115,735 IPB Version: Not Applicable |
The examples in the file give 2 methods of setting the paths... you have confused / mixed up the 2.
I would try (presuming you have got the paths correct for your server): $root_path = "/home/public_html/forums/"; and $board_url = "http://www.nexuslabs.co.uk/forums/"; -------------------- Elvish Magi - Site Admin for The Home of Mercy - Christian Fellowship, Debate and Discussion
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th March 2010 - 06:52 PM |