URL path issues, syles broken

WoWRoster FAQ (Frequently Asked Questions)
Please check here for known issues and resolutions or answers to other commonly asked questions
We don't like repeating ourselves...

URL path issues, syles broken

Postby zanix » Thu May 14, 2009 3:25 am

If you are having url pathing issues due to a strangely configured server, this should help you out.

Edit lib/cmslink.lib.php
Find
Code: Select all
define('ROSTER_URL',$url); 

Replace $url with the full url path to your Roster folder, including a trailing slash
(Example 'http://sub_domain.yoursite.com/roster/')

Find
Code: Select all
define('ROSTER_PATH',$urlpath); 

Replace $urlpath with the path to your Roster folder, including leading and trailing slashes
(Example '/roster/')


Roster 2.0.x uses php variables for the paths, this is different than how 1.7.x handles the url pathing. 1.7.x used an entry in the config section for the path
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Return to (FAQ) Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron