Jump to content

Archived

This topic is now archived and is closed to further replies.

rustybadge

Lord Help me!

Recommended Posts

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

Share this post


Link to post
Share on other sites
looks like you have you links like

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

instead of

<a href="category/">category</a>

Share this post


Link to post
Share on other sites
[!--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) [snapback]359194[/snapback][/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?

Share this post


Link to post
Share on other sites
well it's because your using WEB_ROOT which is /home/www/lighterf/shop/ all you need is the second bit..

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.