Site won't work unless you go directly to index.php

Just A Newbie

No avatar

2005-08-16 17:38

once uploaded and configured, the site doesn't work unless i go directly to the index.php page....

www.catswebsolutions.co.nz/test/index.php

if I go to www.catswesbsolutions.co.nz/test/ the site doesn't work I get "page cannot be display" when trying to look at an item or add to cart...

What have I forgotten to do? i want to be able to have it in the main directory of a site but if they were to go to www.catswebsolutions.co.nz then the site won't work (it isn't at the moment but I tried it)

Help!

Just A Newbie

No avatar

2005-08-17 02:21

oppss i mean if i go to http://www.catswebsolutions.co.nz/test/

Casper

No avatar

2005-08-17 11:40

Then the settings of the webserver aren't correct. You can set a index.html with a meta tag to redirect the visitor to the index.php page.

Olso you can set that the index.php page is a indexpage in the settings of the webserver.

cqhosting.nl

Just A Newbie

No avatar

2005-08-17 22:43

Sorry I am confused...still

How do I get control of the webserver settings?

Casper

No avatar

2005-08-19 00:10

Is it your own server or do you have a webhosting package at a webhosting company>

cqhosting.nl

Just A Newbie

No avatar

2005-08-19 13:33

its a friends server....but Id never to tell him whats wrong...as none of the other "scripts" I've used have ever had the same problem...

Thanks

Just A Newbie

No avatar

2005-08-21 19:06

Can someone please explain why this is happening?

I've never come across it on any other script...

Wondering why Quick Cart needs server changes to work properly.

Thanks

Just A Newbie

No avatar

2005-08-22 10:50

Checked with the hosting person....said the indexpage is set up correctly

So where from here? I see another thread with someone else with the same problem to

Please Help....

chevy

No avatar

2005-08-22 12:24

this is a problem on the webserver itself i think. You should be able to fix this by adding index.php to the 'directory index' list. If you can't do this yourself, you could ask your friend to do it, but if you know about .htaccess, it shouldn't be a problem.

Marton

No avatar

2005-08-22 12:47

Create an index.htm with this, and copy it to the server:

<html>
<head>
<title>Redirecting...</title>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=index.php">
</head>
</body>
</html>

Good luck!
Marton

Just A Newbie

No avatar

2005-08-22 14:24

Thanks Marton but now I have to go to

www.catswebsolutions.co.nz/test/index.htm to get it to redirect

i'll try the .htacess way....

I'm not 100% up on that do I have to have and include anywhere for that?

Marton

No avatar

2005-08-22 15:21

Maybe your server by default looks for index.html instead of index.htm???? Try renaming it to index.html...

Marton

Just A Newbie

No avatar

2005-08-22 15:33

yep did that too still the same...thanks for the suggestion

floyds

No avatar

2005-08-22 16:38

mm do you still have the problem ? coz when I use www.catswebsolutions.co.nz/test/ I get the shop...

Tell me what files are in your root directory (index.htm, index.html, index.php) ??

Make sure that there is only 1 index.xx file otherwize the server doesn't know that to load, and will look at a defaut file like index.html

Quick.Cart.nl

Just A Newbie

No avatar

2005-08-22 22:48

Yep..if you go to www.catswebsolutions.co.nz/test/ you get the site
you can add products but when you go to send the order you get a "page cannot be displayed" so i'll try a couple of things and see if I can get it working...it only works OK if I go directly to the index.php

Thanks for all the help :)

Cindy

floyds

No avatar

2005-08-23 14:55

mm strange this is what I got....




Your order has been saved and will be sent as soon as possible.
Thank You

Print Your order!

Homepage


So it's working...???

Quick.Cart.nl

Just A Newbie

No avatar

2005-08-23 22:57

did you go to the site from the index.php? or to the test directory no index.html or index.php.....

trust me it wasn't working....it is now tho with the redirection script and making another directory for the files.....

so if you go to www.catswebsolutions.co.nz/test it will redirect to
www.catswebsolutions.co.nz/test/store/index.php

I am happy with that....

Just A Newbie

No avatar

2005-08-23 23:22

Marton thanks for the redirect script
Works wonders :)

Thanks for the support

Back to top
about us | contact