rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: sergio on July 11, 2014, 03:39:19 PM

Title: Deconfiguring template
Post by: sergio on July 11, 2014, 03:39:19 PM
Hi,
(I do not speak english, I translate by google)

Version hfs 2.3a build 289

my server is configured with html page (home page)
when entering my server are the links to the different folders created
when clicking any link which redirects you to the folders
format  is dropped (Annex image)

How I can fix this?

with the previous version did not happen this

Thanks.
Title: Re: Deconfiguring template
Post by: bmartino1 on July 12, 2014, 03:24:50 AM
Hello, Serigo

It is my belief that your "home page" is trying to receive resources that it doesn't have access too.

For example:

---html code that is wrong: (it works only on the local machine!)

Take this sample template random download form the internet!
(http://www.quackit.com/goto/?t=/html/templates/download/bryantsmith/slickred.zip)

-------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>SlickRed | florida web design</title>
</head>

<body>
<div id="container">
      <div id="header">
           <h1>Slick<span class="off">Red</span></h1>
            <h2>A template by Bryant Smith</h2>
        </div>   
       
        <div id="menu">
           <ul>
               <li class="menuitem"><a href="#">Home</a></li>
                <li class="menuitem"><a href="#">About</a></li>
                <li class="menuitem"><a href="#">Products</a></li>
                <li class="menuitem"><a href="#">Services</a></li>
                <li class="menuitem"><a href="#">Design</a></li>
              <li class="menuitem"><a href="#">Contact</a></li>
            </ul>
        </div>
       
        <div id="leftmenu">

        <div id="leftmenu_top"></div>

            <div id="leftmenu_main">   
               
                <h3>Links</h3>
                       
                <ul>
                    <li><a href="#">SEO</a></li>
                    <li><a href="#">PHP</a></li>
                    <li><a href="#">Ajax</a></li>
                    <li><a href="#">jQuery</a></li>
                    <li><a href="#">Web design</a></li>
                    <li><a href="#">Web Programming</a></li>
                    <li><a href="#">Content Creation</a></li>
                    <li><a href="#">Internet Marketing</a></li>
                    <li><a href="#">XHTML Templates</a></li>
                </ul>
</div>
               
               
              <div id="leftmenu_bottom"></div>
        </div>
       
       
       
       
      <div id="content">
       
       
        <div id="content_top"></div>
        <div id="content_main">
           <h2>You may use this template in any manner you like. All I ask is that you leave the link back to my site at the bottom of the page. </h2>
           <p>&nbsp;</p>
              <p>&nbsp;</p>
            <h3>Template Notes</h3>
            <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
           <p>&nbsp;</p>
<h3>More information</h3>
           <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
            <p>&nbsp;</p>
           <h3>Template Notes</h3>
            <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
          <p></p>
<p>&nbsp;</p>
        </div>
        <div id="content_bottom"></div>
           
            <div id="footer"><h3><a href="http://www.bryantsmith.com">florida web design</a></h3></div>
      </div>
   </div>
</body>
</html>
--------------

If you were to paste this html code into hfs, you wouldn't be able to laod any resources such as pictures and other html resources!

To fix this, you must (!Add the needed resources to your HFS!) and put your Public ip address / DNS host name (http://www.ipchicken.com/)

To correct the above html it would be like so:
(as marked by the yellow above!)
You would have to add the "slickred" folder tot he root of your HFS!
-------
"style.css"
changes to:
"http://xxx.xxx.xxx.xxx/slickred/style.css"

To use this template you would also have to open the "styles.css" file and add the hfs path to it!

---------------------
---------------------

Now that the example is out of the way, we now need to fix your template issue!

In your html, you will need to look for:
*css
*jpg / png (picture files)

have them added to a path in your HFS and copy your ip html info to add/change your current html code you are using.

-------------------
-------------------
Good luck! :)
Title: Re: Deconfiguring template
Post by: sergio on July 12, 2014, 06:09:48 PM
Many thanks bmartino1 for your answer.

I make pages with dreamweaver, my knowledge is very basic html
css, javascrip and others, I have no knowledge


This is a simple example, and the only thing I add to this code was:
<link rel="stylesheet" type="text/css" href="http://myip/style.css" /> (and the problem continues)

the rest did dreamweaver.

Quote
Now that the example is out of the way, we now need to fix your template issue!

In your html, you will need to look for:
*css
*jpg / png (picture files)

have them added to a path in your HFS and copy your ip html info to add/change your current html code you are using.

This part I do not understand (but for this simple example, I think it is not necessary?)




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://myip/style.css" /> (I added this line to the code according to your explanation)
<title>Documento sin título</title>
</head>

<body>
<a href="http://myip/INGLES/">INGLES
</a>
</body>
</html>

another adjustment should be made?

Title: Re: Deconfiguring template
Post by: bmartino1 on July 13, 2014, 02:43:53 PM
no, i don't think it is an issue with your html code!...

After you have it good and ready in dreamweaver, have you tested it via opening the page in a webrowser by double clicking the *.html file itself?

or did you bring it to hfs?


----Then if that is all said and done, we might need to look at your "port forwarding"/IP access:
so:
are you using your public ip example (555.555.555.555)

or

your computer "DHCP" lan ip example (192.168.1.5)

???
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

and how are you accesing the html page???

the same machine HFS is runining?

or a public host spot that is not connected to your current internet connecting(same internet connection that the hfs machine is on??

---------------------------------------------------------------------------------
*NOTE: Also, if you are trying to connect to your website from "within you routers network via the public iP, it will not load!

If you go to a different place/Public hotpots/ Library and go to you public IP / DNS host name, it should/will be working!

-----------------------------------------

see this post if your need help getting your resources:
ie: your css files/templates...

http://www.rejetto.com/forum/bug-reports/opening-more-than-1-episode-of-hfs-does-not-accept-change-of-template/msg1059234/#msg1059234

post back if you are still experiencing issues
Title: Re: Deconfiguring template
Post by: bmartino1 on July 13, 2014, 02:52:47 PM
Many thanks bmartino1 for your answer.

I make pages with dreamweaver, my knowledge is very basic html
css, javascrip and others, I have no knowledge


This is a simple example, and the only thing I add to this code was:
<link rel="stylesheet" type="text/css" href="http://myip/style.css" /> (and the problem continues)

the rest did dreamweaver.

This part I do not understand (but for this simple example, I think it is not necessary?)




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://myip/style.css" /> (I added this line to the code according to your explanation)
<title>Documento sin título</title>
</head>

<body>
<a href="http://myip/INGLES/">INGLES
</a>
</body>
</html>

another adjustment should be made?

You only need that line if you are going to uses a html css file which loads various "adjustments" to  html...

css help:
http://www.w3schools.com/css/

html help:
http://www.w3schools.com/html/default.asp
Title: Re: Deconfiguring template
Post by: bmartino1 on July 13, 2014, 03:06:19 PM
Hi,
(I do not speak english, I translate by google)

Version hfs 2.3a build 289

my server is configured with html page (home page)
when entering my server are the links to the different folders created
when clicking any link which redirects you to the folders
format  is dropped (Annex image)

How I can fix this?

with the previous version did not happen this

Thanks.

Are you using a "rarw template"?

If so, sometimes after updating, you have to "change the template and re-added the rarw template file.

the page int he screen shot is the orginal/default hfs template...

and/or you might need to put your html cod into the "root"(/) of HFS
see picture:
Title: Re: Deconfiguring template
Post by: sergio on July 13, 2014, 09:48:24 PM
thanks again, bmartino1

with others templates, no presents problems
the problem is only with this template (hfs 2.3a)

if not attached my html to hfs, the template is displayed very well
but to attach my html to hfs,   the template is displayed very bad

the problem continues
Title: Re: Deconfiguring template
Post by: bmartino1 on July 14, 2014, 12:41:44 PM
then you might need to "Publish" the website in dreamwaever:

http://support.godaddy.com/help/article/7811/publishing-your-website-with-dreamweaver-cs6

Other than that, i'm lost and don't think i'm able to help you any further. sorry :(

good luck and have fun! :)
Title: Re: Deconfiguring template
Post by: sergio on July 14, 2014, 03:54:48 PM
Thanks, bmartino1

I will continue investigating.
Title: Re: Deconfiguring template
Post by: rejetto on August 11, 2014, 11:47:01 AM
what do you mean by "configured with html page" ?

anyway, press F12 and you will find useful information about your error, like missing files. As bmartino1 said, all clues are pointing to a missing file.
Consider linking your server here if the content is not private, so that we can give more help.
Title: Re: Deconfiguring template
Post by: sergio on August 11, 2014, 07:09:59 PM
Thanks rejetto for your reply.

I refer to the following:

I no add my page web to hfs===Template is very good

I add my page web to hfs===Template is very bad

Add Video: "hfs_video.wmv"
https://mega.co.nz/#!V4RzWCyQ!4dWvUxce5nLAxv2xKgbAGk4vYXKU7LchwXD49w4wi-8
Title: Re: Deconfiguring template
Post by: bmartino1 on August 12, 2014, 09:48:29 PM
ok, thank you for making a video, iu see the problme now...

That is how the web browsers cashes the page...

it is sometimes a problem with hfs default template due to your secreen being a "wide screen"

what is your curent desktop resolution???
at a guess i would say (1920 × 1080)
http://en.wikipedia.org/wiki/Display_resolution

what has happened is that the default hfs template doesn't define where the items look and will look.
so when you go to that page the browser read the cashe and the tpl file in order...

it a fairly easy fix... rejeto would be of beter help as it is hfs default template
but you need to apply a "HTML Layouts"
http://www.w3schools.com/html/html_layout.asp
Title: Re: Deconfiguring template
Post by: sergio on August 13, 2014, 12:10:39 AM
Thanks bmartino1 for your reply.

My desktop resolution is (1440 X 900)

I make pages with dreamweaver, my knowledge is very basic html.

for this case would not know how to make the adjustment.
Title: Re: Deconfiguring template
Post by: rejetto on August 24, 2014, 07:05:06 PM
what i saw in the video is of little help.
consider the advices i gave you in my previous post.
Title: Re: Deconfiguring template
Post by: sergio on August 26, 2014, 03:26:02 PM
what i saw in the video is of little help.
consider the advices i gave you in my previous post.

PM sent.
Title: Re: Deconfiguring template
Post by: rejetto on August 26, 2014, 05:16:55 PM
it's like you screwed the template.
The correct way to have the homepage is to make your index.html file and add it to the HOME of the "virtual file system".
But you have to remove it from other places you did put it. Maybe diff template?
If not sure, you can try "clear file system".
Title: Re: Deconfiguring template
Post by: sergio on August 26, 2014, 07:23:49 PM
I have used these 2 methods; And none have worked for me:

1. Right click on home---click in Bind root to real-folder (Add my page web)

   then again right click--edit resources (add my page web)


2. dragged my index.html to home


and the template is still seen ugly




(these 2 methods are successful with version 2.2f)
(but with version 2.3a and 2.3b template seen ugly)

PD:

I think here the same problem arises:
http://www.rejetto.com/forum/html-templates/html-root/msg1058782/#msg1058782


and souluciona well:
http://www.rejetto.com/forum/html-templates/html-root/msg1058788/#msg1058788

but I do not understand how the elimination
Title: Re: Deconfiguring template
Post by: bmartino1 on August 27, 2014, 10:14:10 PM
if the "hfs tpl worked in 2.2f then use that html code...
Title: Re: Deconfiguring template
Post by: sergio on August 28, 2014, 08:07:50 PM
if you add a simple web page like mine

¿ you template looks ugly?
Title: Re: Deconfiguring template
Post by: rejetto on September 14, 2014, 07:25:21 PM
method 2 is correct, while 1 is not.

Anyway, if you screwed your tpl (as i said), doing the correct method won't fix your ruined stuff.
First you have to restore the template. Menu > html template > restore
Title: Re: Deconfiguring template
Post by: sergio on September 15, 2014, 10:23:14 PM
method 2 is correct, while 1 is not.

Anyway, if you screwed your tpl (as i said), doing the correct method won't fix your ruined stuff.
First you have to restore the template. Menu > html template > restore

Yes, I have done so, but does not work

the template is still displayed ugly
Title: Re: Deconfiguring template
Post by: rejetto on September 16, 2014, 10:31:36 PM
try to see what happens if you: Menu > Debug > temporarily reset options

if that doesn't help and you don't understand what you did to get the problem, then you should try a clean HFS, and move your configuration piece by piece until you find the bad piece.

and... did you consider the advices at my first post? (http://www.rejetto.com/forum/hfs-~-http-file-server/deconfiguring-template/msg1059384/#msg1059384)
Title: Re: Deconfiguring template
Post by: sergio on September 17, 2014, 06:03:52 PM
also did that, and the problem continues

want to clarify the following:

1. I have never changed the template

2. hfs settings I leave the default

3. the only thing I do is add my index.html

attached a video where I start from the beginning (download and installation of hfs)
https://mega.co.nz/#!Eh51yaLI!i1h2S3VHQdj-yvh9ofsy5HqMcOFumNlwv1zCcabTESE
Title: Re: Deconfiguring template
Post by: rejetto on September 20, 2014, 11:50:34 AM
ok, now it's very clear. It's a bug, sorry and thank you for your patience :)
I worked on it and fixed it. It will be included in the next release, i hope in few days.
I want to include some other things but it's not easy to find the time.
Title: Re: Deconfiguring template
Post by: sergio on September 20, 2014, 03:33:44 PM
Thanks rejetto.