FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


uploading kompozer





weableandbob
I've been creating webpages using kompozer, a WYSIWYG program. It has its own publishing thing, so all you need is to enter things like the http address, the ftp address, the password, etc. However, I tried uploading a simple page (it sometimes has problems with links unless you upload a simple page with a few words first), but it's not showing up at the site (http://www.weableandbob.frihost.net) anyone know what the problem is?
wumingsden
weableandbob wrote:
I've been creating webpages using kompozer, a WYSIWYG program. It has its own publishing thing, so all you need is to enter things like the http address, the ftp address, the password, etc. However, I tried uploading a simple page (it sometimes has problems with links unless you upload a simple page with a few words first), but it's not showing up at the site (http://www.weableandbob.frihost.net) anyone know what the problem is?


Make sure your using the correct FTP account info. And that a firewall isn't blocking the program.
Do you get any error codes shown as to why the upload wasn't successful?
weableandbob
i'm pretty sure that the ftp information is right, as I copied it directly from here to the program. We have a firewall and a proxy server, but the firewall isn't usually any problem, although the proxy server sometimes has problems, although it doesn't block my site, so it shouldn't be a problem. There aren't any error codes-all it says is uploading complete.
mOrpheuS
weableandbob wrote:
all you need is to enter things like the http address, the ftp address, the password, etc. However, I tried uploading a simple page (it sometimes has problems with links unless you upload a simple page with a few words first), but it's not showing up at the site (http://www.weableandbob.frihost.net) anyone know what the problem is?

What folder in your FTP account did you upload the file to ?

You'll need to upload the files to "public_html" folder for them to appear, web-accessible, on your site.
weableandbob
ok, so i have to upload it to ftp.weableandbob.frihost.net/public_html? also, when I try to acces the cpanel, it comes up with an access denied error, and instead of the cpanel site, it's https://host.frihost.net:2083/ Is this because of my firewall/proxy server? The error message looks exactly like when you enter an invalid http address, not like when the proxy server blocks something, though.

Full message:
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: host.frihost.net:2083

The following error was encountered:

* Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is root.
Generated Fri, 23 May 2008 23:20:34 GMT by bigdaddy.osioda.org (squid/2.6.STABLE13)
mOrpheuS
weableandbob wrote:
ok, so i have to upload it to ftp.weableandbob.frihost.net/public_html?

Indeed.

weableandbob wrote:
when I try to acces the cpanel, it comes up with an access denied error, and instead of the cpanel site, it's https://host.frihost.net:2083/ Is this because of my firewall/proxy server? The error message looks exactly like when you enter an invalid http address, not like when the proxy server blocks something, though.

That URL is one of the few possible ways of accessing cPanel. Nothing wrong with it.

you can access cPanel using either of these -
https://weableandbob.frihost.net:2083/
http://weableandbob.frihost.net:2082/

If both the above URL's don't work for you, your ISP/proxy might be blocking http over non-standard ports, and you may have to install cPanel proxy in your account to be able to access it.

p.s. - cPanel on server 1 appears to be down at the moment. It should be back up soon, though.
That, would be a more plausible reason for you not being able to access it Wink
weableandbob
okay, I got it now. Neither of the other sites work, so it's probably the server. For more than one page (for example, a "about me" page, or anything really), do I still only use public_html? (i'm guessing the server is smart enough to sort out two different pages)

*edit* also, do I have to enter another http address for other pages? I have just the .net/ as my homepage (pretty normal), but it has a spot for "HTTP of you homepage (e.g.:'http://myisp.com/myusername'):", so do I have to enter another http address (like for the "about me" thing, http://www.weableandbob.frihost.net/aboutme
mOrpheuS
weableandbob wrote:
okay, I got it now. Neither of the other sites work, so it's probably the server. For more than one page (for example, a "about me" page, or anything really), do I still only use public_html? (i'm guessing the server is smart enough to sort out two different pages)

Exactly. It is a regular filesystem after all.

<ftp root>/public_html/index.html => http://yoursite.com/index.html
<ftp root>/public_html/about.html => http://yoursite.com/about.html
<ftp root>/public_html/some-folder/index.html => http://yoursite.com/some-folder/index.html
weableandbob
ok, it seems to work fine now. Thanks for all the help
weableandbob
actually, is it normal for it to take forever (i've been waiting for a few minutes and it's not done uploading) when uploading pictures? my site header is only 97kb, but it's taking a lot longer than just the text and embedded stuff before.

*edit* there's something weird. Now there's a third thing being uplaoded (besides the image and page) and it's a bunch of random letters and symbols.
wumingsden
weableandbob wrote:
actually, is it normal for it to take forever (i've been waiting for a few minutes and it's not done uploading) when uploading pictures? my site header is only 97kb, but it's taking a lot longer than just the text and embedded stuff before.

*edit* there's something weird. Now there's a third thing being uplaoded (besides the image and page) and it's a bunch of random letters and symbols.



Confused

On your hosting account see whether the file is there. If so, it might be wise to see what it is and remove it as a precaution.

Maybe its some sort of file from the ftp program?

It might be worthwhile to run a virus check on your PC too.
weableandbob
i don't think the virus check is needed-one got done about 5 minutes ago. I'll try about looking for the file-here's a picture of the thingy-it's still going btw btw, i don't think it's a ftp file thing, as it didin't appear when I was uploading the other stuff. Also, how do i check my hosting account? my domain is now my home page, and I can't get to my cpanel because the server is down at the moment
wumingsden
weableandbob wrote:
i don't think the virus check is needed-one got done about 5 minutes ago. I'll try about looking for the file-here's a picture of the thingy-it's still going btw btw, i don't think it's a ftp file thing, as it didin't appear when I was uploading the other stuff. Also, how do i check my hosting account? my domain is now my home page, and I can't get to my cpanel because the server is down at the moment


If possible, check the extension of the weird file name. That'll determine what kind of file it is. I think its possibly just a temp file, especially seen as it didn't occur before and you've just run a virus check.
I really do not know much about Server1 at all, but it does look as if cPanel is down, although other features are working (like http access to sites). Its possible that the upload is taking so long because the connection timed out maybe? Or FTP went down halfway though?

To check the file, I would recommend using www.net2ftp.com
weableandbob
should I just delete the index and header and try again? the weird file doesn't seem to be in the public_html folder

*edit* i tried uploading using net2ftp, but the header still doesn't appear.
wumingsden
weableandbob wrote:
should I just delete the index and header and try again? the weird file doesn't seem to be in the public_html folder


If it says the upload is still taking place then close the program. Use the site in my last post (or enter the URL directly to the file), to check whether it has been uploaded. If it has there's no need to re-upload. If it hasn't then try again with the program.
If that doesn't work upload the files through the site from my last post.

I'll try and hang around for your reply, but as its 4.15am I may not be able to read your reply till tomororw.
weableandbob
as i said, the site says it's been uploaded, but the header still isn't showing up (the program uploads the page made from the template fine when it only has text and embedded html, but not when there are images).
wumingsden
Concerning your post update:

Hmm. Well, when looking at your source code it seems all the paths are incorrect as the files are still acting as if they are on your PC. Upload the image again, and edit the source code to reflect the new path of the image. Do this via www.net2ftp.com
If your unable to do it feel free to send me your ftp info, picture and html source code and I shall do it for you.

edit - well then its probably because the code hasn't been changed, its acting as if the files are still on your pc, so you have to edit your source code
weableandbob
ok, so i'm assuming by ftp info you mean the pass, name, etc. and sourcecode is the html document for the homepage, so do you just want me to email or pm them to you then?
wumingsden
weableandbob wrote:
ok, so i'm assuming by ftp info you mean the pass, name, etc. and sourcecode is the html document for the homepage, so do you just want me to email or pm them to you then?


Indeed. I will need the FTP server name, Username and Password via PM. If the image has not been uploaded successfully then please upload it (via www.imageshack.us or another image host) and send me the link to that. I'll also need the name of the file you wish to edit, and if that has not been uploaded successfully then to PM me the code for that.

Also, if you wish I can code a header (and footer if needed), and insert it into every page, so when you wish to edit a file all you have to do is edit one file instead of every single one. Let me know if you want me to do this in your PM.
wumingsden
OK. Thanks for sending me the info by PM.

Go to your site to check it out - t to http://www.weableandbob.frihost.net

I have edited the index.html page rather extensively, so you may wish to check it out. The old file is called index_old.html, the new one is index.php.
You probably don't know much about php, just know that its very similar to html but has many many advantages. When you create another webpage instead of naming it whatever.html name it whatever.php instead. This means that you can use php inside the files if you need to.

I've created two new files, overall_header.php and overall_footer.php. When you wish to update the header or footer do so in the corresponding file. This means that you only need to update one file rather than every single one.

Now check your other pages - http://weableandbob.frihost.net/guides.php for example.
I've used exactly the same template. Check the code for the file and you'll see it doesn't contain much. Leave the php strings as they are. All you need to change is the usual body of the file when you want to update it.

I also found the following in the index_old.html which i have left in the index.php file:

Code:
<img style="visibility: hidden; width: 0px; height: 0px;" src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTE1OTE4Njc5OTAmcHQ9MTIxMTU5MTg3MjAzNiZwPTUzMTUxJmQ9Jm49Jmc9MQ==.jpg" border="0" height="0" width="0">
<br><br><br><br>

<img style="visibility: hidden; width: 0px; height: 0px;" src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTE1OTE*NTcwNDkmcHQ9MTIxMTU5MTQ2MzY*OSZwPTUzMTUxJmQ9Jm49Jmc9MQ==.jpg" border="0" height="0" width="0">


This is the unusual name you have questions about. From looking at the code I can tell its two hidden stat counters, probably to count how many visitors you have. If you don't want the counters the code can be safely deleted. Or if you wanted just one counter you can remove one of the lines. It won't do any harm keeping it all in if you wished.

Anything else need doing?

(reply tomorrow, its now 6am and i need sleep lol)
weableandbob
sounds great! thanks for all your help. a few last questions-
1. To edit my pages, all i have to do is go to the net2ftp stie thingy and click edit right?
2. If I want to change the template (for example, I have plans to set up a forum, and there isn't a link set up to link to anything, just text), how do I do it, as I'm using kompozer, which is a WYSIWYG program for html, and I don't think it can do PHP (i'm pretty good with computers, but I've never gotten HTML or PHP except how to do italics and bolding).
3. I can still embed stuff using net2ftp right?
wumingsden
weableandbob wrote:
sounds great! thanks for all your help. a few last questions-
1. To edit my pages, all i have to do is go to the net2ftp stie thingy and click edit right?
2. If I want to change the template (for example, I have plans to set up a forum, and there isn't a link set up to link to anything, just text), how do I do it, as I'm using kompozer, which is a WYSIWYG program for html, and I don't think it can do PHP (i'm pretty good with computers, but I've never gotten HTML or PHP except how to do italics and bolding).
3. I can still embed stuff using net2ftp right?


Your welcome.

1. That is correct, to edit pages all you have to do is click the edit button.

2. To setup a forum you can do it in cPanel (automatically), although I recommend you try doing it manually. Its not difficult, just upload files, create a database and insert info. If you are not able to do it I can do it for you if you wish.
Reaseached Kompozer. It cannot give you a preview on php code (as you need an apache environment installed) but you can easily code it although it may give you errors. The only php that I've used for your templates are the tags mentioned above, the great thing about php is it just interprets php, but outputs html (so, if you go to a page at your site and in your browser click view->source, all the code is in html).
Well, if you wanted to add the correct link to a new forum, login with cPanel or net2ftp.com, edit the overall_header.php file. Look for the following line:

Code:
Home</a> | <a href="about.php">About Me</a> | <a href="links.php">Links</a


Then, simply edit the part you wish to change. So, replace...

Code:
Forums


with...

Code:
<a href="forums/index.php">Forums</a>


3. I'm not entirely sure what you mean. If you edit the code, yes, you can use the <embed> tag, is that what your asking?

Anything else?
weableandbob
okay, so all's well except I don't know how to use PHP. Could I just use kompozer to make it in html, upload it, then copy the source code from the "view page source"? or is there a PHP WYSIWYG that I could use to edit the existing stuff?
wumingsden
weableandbob wrote:
okay, so all's well except I don't know how to use PHP. Could I just use kompozer to make it in html, upload it, then copy the source code from the "view page source"? or is there a PHP WYSIWYG that I could use to edit the existing stuff?


php is like, an extended version of html with added functionality. You can create a page thats completely in html then all you have to do is rename it so it has an extension of .php. It doesn't change anything at all, but makes life more simple, especially when theres a high possibility you'll learn and use php functions in future.
When you create a webpage in kompozer and you want it to look similar to your other pages do the following:

Make it in the normal way that you've previously done, but don't take too much thought about the css coding nor layout.
Then upload it to your ftp account.
Next rename it from whatever.html to whatever.php
Then remove -everything- before the opening <body> tag and replace it with the following:
Code:
<?php include("overall_header.php"); ?>

Then remove -everything- after the closing </body> tag abd replace it with the following:
Code:
<?php include("overall_footer.php"); ?>


The "body" of the document basically contains the contents of the page that you can see. You don't need to worry about the layout or style as I stated because that has already been set in the overall_header and overall_footer files. The php include function basically takes all the information from the file specified and loads it in the page.

(so, all the code in the header and footer files are placed at the beginning and end of your normal pages).

Does that make much sense?
weableandbob
I think so. So I make it like normal, upload it, change it to PHP, and then add in the header and footer. sounds simple enough (although i'll find some way to screw it up i'm sure)
wumingsden
weableandbob wrote:
I think so. So I make it like normal, upload it, change it to PHP, and then add in the header and footer. sounds simple enough (although i'll find some way to screw it up i'm sure)


Nah. But the more mistakes you make, the quicker you learn (and I'm speaking from experience).

Its quite simple. Make like normal. Change extension to php. Replace everything before body tag with the header include, replace everything after body tag with footer include.
Check your guides.php as an example - to edit that all you have to do is place content in between the body tags in order for it to show.

And if you need help, or make some mistake, just ask.
weableandbob
everything seems to be going smoothly. There seems to be a break between the footer and the actual end of the page, but it's only a slight aestheic problem. Nothing to worry about
wumingsden
weableandbob wrote:
everything seems to be going smoothly. There seems to be a break between the footer and the actual end of the page, but it's only a slight aestheic problem. Nothing to worry about


Good, good.

And so there is. Open overall_footer.php. Find:

Code:
</span></td></tr></tbody></table><br>
</html>


Replace with:

Code:
</span></td></tr></tbody></table>
</html>


That should solve it.
Related topics
SLOW UPLOADING AN SQL FILE
Uploading of big files is forbidden?
Does downloading and uploading from ftp client use bandwith?
Uploading
Deleted public_html
uploading time
Uploading Files
Hong Kong: young man has been jailed for files sharing
uploading system
Uploading problems
FTP Uploading Doesn't Work
HTML coding and uploading.
Uploading???
Uploading help
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.