Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 03-02-2008, 09:55 AM
jopawo jopawo is offline
Hatchling Croc
 
Join Date: Mar 2008
Posts: 4
Default Baby Steps

Hello All
I dont know if this is the right thread but... I just signed up for the small reseller package and I need someone to answer a basic question. I think it must be basic because I couldnt find anyone talking about it. I downloaded a template from the free websites templates page. I got it to my hard drive as a .zip file. I uploaded it into cpanel using file manager, unzipped it there and put it in public_html. However my website doesnt show the new site/template. I put index.html in the public_html like I read on another post.


Reply With Quote
  #2  
Old 03-02-2008, 10:12 AM
bbjordan's Avatar
bbjordan bbjordan is offline
Junior Croc
 
Join Date: Feb 2008
Location: Tip of Texas
Posts: 166
Default Re: Baby Steps

Inside of that zip file there are different version of the website. You only choose one. I will type up a guide for you and have in ready in about 5 minutes.

Jordan
__________________
www.hiptophosting.net <-- personal website
www.missionmocha.com <-- cafe I operate

Reply With Quote
  #3  
Old 03-02-2008, 10:31 AM
bbjordan's Avatar
bbjordan bbjordan is offline
Junior Croc
 
Join Date: Feb 2008
Location: Tip of Texas
Posts: 166
Default Re: Baby Steps

Here you go. https://www.hiptophosting.net/template.doc

Jordan
__________________
www.hiptophosting.net <-- personal website
www.missionmocha.com <-- cafe I operate


Last edited by bbjordan; 03-02-2008 at 10:48 AM.
Reply With Quote
  #4  
Old 03-02-2008, 10:41 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: Baby Steps

Quote:
Originally Posted by bbjordan View Post
Code:
Not Found

 The requested URL /templates.doc was not found on this server. 
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
 Apache/1.3.39 Server at www.hiptophosting.net Port 443
Reply With Quote
  #5  
Old 03-02-2008, 10:48 AM
bbjordan's Avatar
bbjordan bbjordan is offline
Junior Croc
 
Join Date: Feb 2008
Location: Tip of Texas
Posts: 166
Default Re: Baby Steps

Quote:
Originally Posted by Sam View Post
Code:
Not Found
 
 The requested URL /templates.doc was not found on this server. 
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
 Apache/1.3.39 Server at www.hiptophosting.net Port 443

Whoops, I put an s at the end. I updated the link. Thanks for noticing!

Jordan
__________________
www.hiptophosting.net <-- personal website
www.missionmocha.com <-- cafe I operate

Reply With Quote
  #6  
Old 03-02-2008, 05:12 PM
jopawo jopawo is offline
Hatchling Croc
 
Join Date: Mar 2008
Posts: 4
Default Re: Baby Steps

Excellent thank you. I will try it and let you know If I got it. Thanks again Jon
Reply With Quote
  #7  
Old 03-02-2008, 06:08 PM
jopawo jopawo is offline
Hatchling Croc
 
Join Date: Mar 2008
Posts: 4
Default Re: Baby Steps

Hello bbjordan
I must be leaving out a step. I just put flash.fla, flash.swf, and index.html in the public_html folder and now I get a blank screen when I go to the site. BTW my site is www.jopawo.com. Do I need to remove something thats already in public_html or do the flash files need their own folder??
Reply With Quote
  #8  
Old 03-02-2008, 06:18 PM
GvilleRick's Avatar
GvilleRick GvilleRick is online now
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,128
Default Re: Baby Steps

The problem is that the source code in the index.html is calling the file at "flash/flash.swf". You would need to move the flash files to a folder called flash inside of your public_html folder or change the source code to just call "flash.swf" (without the flash/ in front) so that it will load. I tried editting the source code using FireFox and it does load correctly if I change that code.
Reply With Quote
  #9  
Old 03-02-2008, 08:45 PM
jopawo jopawo is offline
Hatchling Croc
 
Join Date: Mar 2008
Posts: 4
Default Re: Baby Steps

Thanks GvilleRick, bbjordan and sam
I created a flash folder move the flash files files to it and it works fine. Now I need to change the info to reflect my business. Thx again- Jon
Reply With Quote
  #10  
Old 03-02-2008, 09:44 PM
bbjordan's Avatar
bbjordan bbjordan is offline
Junior Croc
 
Join Date: Feb 2008
Location: Tip of Texas
Posts: 166
Default Re: Baby Steps

Quote:
Originally Posted by jopawo View Post
Thanks GvilleRick, bbjordan and sam
I created a flash folder move the flash files files to it and it works fine. Now I need to change the info to reflect my business. Thx again- Jon
No problem, and your site design is nice!

Jordan
__________________
www.hiptophosting.net <-- personal website
www.missionmocha.com <-- cafe I operate

Reply With Quote
  #11  
Old 11-16-2010, 10:59 AM
kvhutch kvhutch is offline
Hatchling Croc
 
Join Date: Nov 2010
Posts: 1
Default Re: Baby Steps

Hi, my first post. I put this post here as I think it sounds kinda similar to this one. Basically I have an HTML page that has an attached .swf file. The .swf file has three audio buttons for stop, pause and play and is linked to an mp3 file. The HTML page is embedded in a parent HTML page.

Testing locally, it works fine, but when uploaded onto the server the .swf file with buttons is not visible and instead there is a white space where they should be i.e. the flash file is not loaded.

Here's some specific details:

1.Flash file code - declaration sections (and for example saved as myflashmovie.fla => myflashmovie.swf)
var my_sound:Sound = new Sound();
var isPlaying:Boolean;
var isStopped:Boolean;
var songPosition:int = 0;
my_sound.load(new URLRequest("myflashmovie.mp3"));
var my_channel:SoundChannel = new SoundChannel();
play_btn.addEventListener(MouseEvent.CLICK, playSound);
pause_btn.addEventListener(MouseEvent.CLICK, pauseSound);
stop_btn.addEventListener(MouseEvent.CLICK, stopSound); ...

2. HTML holding flash file (saved as HoldingHTML.html - apologies if I didn't need to show all this)
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>myflashmovie</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff" leftMargin=0 topMargin=0 rightMargin=0 marginheight="0"
marginwidth="0">
<CENTER>
<DIV id=flashcontent>
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '550',
'height', '400',
'src', 'myflashmovie',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'myflashmovie',
'bgcolor', '#ffffff',
'name', 'myflashmovie',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'myflashmovie',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="myflashmovie" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="myflashmovie.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="myflashmovie.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="myflashmovie" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
&nbsp;</DIV>
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
</CENTER></body>
</html>

3. Parent HTML holding embedded HTML - relevant section
<TD align=top width=93><iframe
src="HoldingHTML.html"
frameborder=0 width=75 scrolling=no height=25
scroll="no"></iframe>
</TD>

4. Locations
ParentHML.HTML, HoldingHTML.html, .swf, .fla and AC_RunActiveContent.js have all been uploaded into the same root directory and all was uploaded using Filezilla.

Hope this is enough information to go by.

Cheers

Kevin
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 09:07 PM.