Jump to content


Photo

Lord Help me!


  • Please log in to reply
3 replies to this topic

#1 rustybadge

rustybadge
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 28 March 2006 - 08:37 AM

I am trying to get a simple web shop thingy up and running, and I have run into a problem...

I think I can see why the problem is happening, but I can't fix it. Any advice:

[a href=\"http://www.lighterfluidweb.com/shop/admin/login.php\" target=\"_blank\"]http://www.lighterfluidweb.com/shop/admin/login.php[/a] (login with admin admin).


The left nav in the admin section is not taking me to any of those sections, and I think (when I look at the url it is trying to reach, that it is "doubling" the web root... can anyone PLEASE help me cure this??

Many many thanks,

Russell
Sweden

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 28 March 2006 - 09:52 AM

looks like you have you links like

<a href="/home/www/lighterf/shop/admin/category/">category</a>

instead of

<a href="category/">category</a>
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 rustybadge

rustybadge
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 28 March 2006 - 09:54 AM

[!--quoteo(post=359194:date=Mar 28 2006, 04:52 AM:name=shocker-z)--][div class=\'quotetop\']QUOTE(shocker-z @ Mar 28 2006, 04:52 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
looks like you have you links like

<a href="/home/www/lighterf/shop/admin/category/">category</a>

instead of

<a href="category/">category</a>
[/quote]


That's the weird thing. My links look like this:

<a href="<?php echo WEB_ROOT; ?>admin/category/" class="leftnav">Category</a>


with this at the top of the page:

<?php
if (!defined('WEB_ROOT')) {
exit;
}

$self = WEB_ROOT . 'admin/index.php';
?>


I thought I had configured the site okay, because SOME of it was working...

Any further advice?



#4 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 28 March 2006 - 10:29 AM

well it's because your using WEB_ROOT which is /home/www/lighterf/shop/ all you need is the second bit..
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users