Welcome to Geeklog, Anonymous Tuesday, December 10 2024 @ 06:48 pm EST

Geeklog Forums

Absolute and relative paths


Status: offline

oskay

Forum User
Newbie
Registered: 09/14/06
Posts: 13
I have two geeklog sites. Both of them basically work. But, one of them has absolute paths everywhere, for example, this line shows up in my header:

Text Formatted Code
<link rel="stylesheet" type="text/css" href="http://www.candyfab.org/layout/pro_emsl/style.css" title="pro_emsl">


The other has relative paths everywhere, for example, this line shows up in my header:

Text Formatted Code
<link rel="stylesheet" type="text/css" href="/layout/pro_emsl/style.css" title="pro_emsl">


I looked at my config.php, and it looks to me like both are set up correctly to give full and correct absolute paths-- what have I done wrong, or, what can I do to get my other site its path names back?

Thanks for your help!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Check $_CONF['site_url']. Looks like it's empty for the second site.

bye, Dirk
 Quote

Status: offline

oskay

Forum User
Newbie
Registered: 09/14/06
Posts: 13
Thanks-- that was the hint I needed!

(I had a typo on the left half of that line and the variable *was not* being set, even though I *had* entered the URL. )

All better now. Big Grin
 Quote

All times are EST. The time is now 06:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content