PDA

View Full Version : what I am I doing wrong?



bigj75
09-18-2008, 06:39 AM
marketingwebb.com is my domain name and I have loaded my web pages to this server using smart ftp, but when I check the domain to see my site I get some sort of error message. I am new to this and I could use another piece of advice.

Falcon1986
09-18-2008, 07:08 AM
When I visit marketingwebb.com (http://marketingwebb.com/) an index.php file is loaded and just keeps "loop-loading", if you know what I mean.

After looking at the code of this page, here is what I found to probably explain this activity:


<HTML><HEAD></HEAD><BODY><script type="text/javascript">
<!--
window.location = "../index.php"
//-->
</script>
</BODY></HTML>


I don't think that is what you intended, so why is it there? What are the names of the web page files that you uploaded? Relative to your public_html directory, what is the file structure of these pages?

zuerston
09-18-2008, 10:13 AM
create index page simple use Firefox or seamonkey ,select new composer page and all that stuff is done automaticly, then just add your goodies and save as index.htm and upload it. and for PHP files use VIM .

I see now that................You are using a html and trying to tell it that its a PHP file, which are you trying to compose a HTML or a PHP ? dat is der question! ohh boy O boy whew ! goodness gracious.and vat is der javascript deal in der file fer?

Just create an index.htm and put der link in dat to der index.php ,index.html or htm whatever and it will be healed up.
----------------

Here is index.htm for you to work with, link to your PHP index file already added, just remove the TXT extension as I could not upload an htm file I added the TXT so I could.

zuerston
09-18-2008, 10:46 AM
The above HTM file I uploaded is correct, however after some further investigation into your problem I find you do have problem with your index.php file.,, add txt extension like I did to the above index.htm ,,to a coply of your index.php file and upload it here so we can check the code for the problem, thats the only way we can help,we must see your PHP index file!

pghcollectibles
09-18-2008, 11:11 AM
you could just copy and paste code into a php /php tag (with brackets around the both of them) or use advanced and just click the php button and insert your code.


but thats not the problem.

like falcon said, you have a file that keeps calling itself

falcon has already pasted the code for the index.php file, unless there is actual php code running server side which does not output any html.