Help with the site! Urgent!
Hey, guys... I need help some time with this: when I type in my URL: www.formypets.net, I get to my page index very well, but if I want to go to www.formypets.net/cats, need me anywhere... Am I missing something? I downloaded the site with everything what it. All my pages are in the same folder. I'm stuck... Please help!(a few minutes later) Too bad: I was not counting the .html after the page name... duh!
(I have another problem in another post that needs help too)
Hey, guys... I need help some time with this: when I type in my URL: www.formypets.net, I get to my page index very well, but if I want to go to www.formypets.net/cats, need me anywhere... Am I missing something? I downloaded the site with everything what it. All my pages are in the same folder. I'm stuck... Please help!
(a few minutes later) Too bad: I was not counting the .html after the page name... duh!
(I have another problem in another post that needs help too)
Tags: Dreamweaver
Similar Questions
-
Help with the site read on the computer running Vista/IE7
I created a website using Dreamweaver CS4 on MAC (10.5.8) that looks very good when I see it in Firefox, Opera and Safari. It looks as well on a laptop running Windows XP/IE8 and Windows 7 with Safari and IE8. But a person I'm working with views in VISTA/IE7 and says that it is all out of whack. I'm new to web design so do not doubt I make a fundamental mistake, but I don't know what and can not test with IE7/VISTA. Can someone help me? Thanks in advance. Here is a link to the site.
http://www.studiopgraphicdesign.com/wings9/index2.html
Try to overflow: hidden; on the envelope, as below:
{#wrapper}
Width: 995px;
Background: #FFF;
color: #000128;overflow: hidden;
}You have probably some
floating inside the package which are not cleared. -
PHP, help with the site of the legacy database
Hope someone can help with this, although I might be a little vague. (But will be happy to post any code which may help.)
Basically, I'm doing a few sites for a company, and everything comes together nicely any movement towards a new reseller hosting account where all can site. Basically, I'm doing some redesign and new work of database for them.
But there is a site that I am basically just try to hover over, which already has a database. I copied the site on the new hosting, copied from the database through and created a new connection file.
I admit that the code is all PHPO a little heavier than what I am used to working with. If you have encountered a problem trying to understand what data is not displayed due to failure of queries. I can say that the connection is working, and queries have not changed.
In any case - the homepage is here, where you should be able to click on the images of furniture to go to the product page:
http://www.miradatravelmedia.com/lusty/public_html/index.php
But when you click on through the product page request fails:
http://www.miradatravelmedia.com/lusty/public_html/products.php?category=1
The products page is mainly PHP and looks like this:
[PHP] <? PHP
If (! @empty($_REQUEST["img"])) {}
require_once("..) ("/ includes/hft_image.php");
$img = new hft_image($_REQUEST["img"]);
$img-> resize(200,180,"-");
$img-> output_resized("");
"exit";
}
$page = "products";
include("..) ("/ includes/header.php ');
include("..) ("/ includes/db_open.php");
$sql = "SELECT 'id', 'name', 'CATEGORIES' WHERE 'id' = '. $_REQUEST ['category']. "'";
$result = mysql_query ($sql) or die ("failed query: $sql to the line". "") __LINE__);
$category = mysql_fetch_assoc ($result);
? >
< div id = "trail" > < a href = "shop.php" > shop < /a > & gt; "" Lloyd Loom <? PHP echo $category ['name']? > < / div >
< div class = "clear" id = "divider1" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >
Lloyd Loom < h1 > <? PHP echo $category ['name']? > < / h1 >
<? PHP
$sql =
"SELECT *". "."
""PRODUCTS.
"WHERE"category"= '". $_REQUEST ['category']. "' " .
' ORDER BY 'order ';
$result = mysql_query ($sql) or die ("failed query: $sql to the line". "") __LINE__);
If (mysql_num_rows == 0) {}
? >
< p > to come... < /p >
<? PHP
} else {}
$n = 0;
While ($row = {mysql_fetch_assoc ($result))}
$n++;
? >
< a href = "product.php? id = <?" PHP echo $row ['id']? ">" class = 'product' <? "php if ($n == mysql_num_rows ($result)) echo" id =-'last\' "?" > >
<? PHP
If ($file = glob ("images/products / '. '")) $row ["id"]. "_*.*")) {
? >
< img src = "img.php? img = <?" PHP echo $file [0]? > & width = 200 & height = 180 "alt =" <? " PHP echo $row ['code']? ">" / >
<? PHP
} else {}
? >
< div id = "no_image" > no image found < / div >
<? PHP
}
? >
<? PHP echo $row ['code']? >
< /a >
<? PHP
If (is_int($n / 4)) {}
? >
< div class = "clear" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >
<? PHP
}
}
}
? >
< div class = "clear" id = "divider2" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >
<? PHP
include("..) ("/ includes/footer.php ');
? > [PHP]
If someone could shed some light on what goes wrong again, that would be much appreciated.
Thank you.
Iain71 wrote:
OK - changed the line of the query and get the error message: no database selected...
The answer lies in the connection of database script, db_open.php. There should be a call somewhere to mysql_select_db().
-
I need help with the site please.
Hello
I downloaded a model of WWW and edited with dreamweaver, previewed it all ok so I downloaded and there was a problem.
The site is still in construction but in FIREFOX, it shows even the design, while in IE it displays correctly (at least for me, my friend got no design on both browsers).
Here is the site www.lasni-podaljski.net
Please can you tell me what I did wrong, or where is a mistake?
If it's not ' show you properly, here's the picture how it should look.
Thank you for your help,
Mirko
The site does not display correctly because browsers cannot find the style sheet (.css file) because link you to a file on your H drive on your computer.
You must download the file style.css on your Web server and change the link in your HTML file
so, instead of this:
file:///H|/Documents and Settings/Mirko/Desktop/Beauty/style.css" type="text/css" media="screen" />