Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Click on Catagory Loads index.php again? Whats up?


inpherno3

Recommended Posts

Posted

hey guys i gotta site up and running right now (very basic) and for some reason the catagorys on the left when clicked they load the same index.php welcome page. Not sure whats going on here but if anyone wants to check the page out, please go here http://66.227.158.156:81 . the page is very basic so please dont be exploiting it lol. Very new to the whole php world but interested. So please someone let me know whats up w/ this and maybe i can start to get things organized and whatnot.

 

ANOTHER PROBLEM I JUST THOUGHT OF!!!

 

When someone else goes to the web page someone elses information is still loaded into the page. Someone made an account last night and it worked, but someone else went to the page and that persons name was still up there and all his information. Ne one else know something about this? Thanks a lot, hope someone can help!

 

Thanks,

Andrew

Posted

Everything seems to point at "127.0.0.1", which is the IP of your local machine. Something way wrong in your configure.php I reckon :)

Posted

no it should work now i was probably working on it at the time of you checking it. Try it out again it should be up for a while.....

Posted

If I click on one of your "What's New" products I get the following at the top of the screen...

 

Warning: I am able to write to the configuration file: c:/web/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Derek

Posted

thats fine Arcadiauk, i have to take the read only off of it when i change the ip address in all the files from my ip to the 127.0.0.1, dont worry about that one its not a big deal (i just changed it back). What im wondering about is on the left, the catagorys when clicked seem to load the index.php again and not what its supposed to. Not sure where to start on this one either.... thats why im here ;)

Posted

woah thats cool u have a server setup on ur own comp

can u tell me how to do that

 

and about ur question wut i would do is install oscommerce again

but only check the option that configures the config files

(without the sample products dump)

Checkout my osc contrib here!

You can also checkout the site im working on by clicking the card button!

Posted

Alternatively, reinstall your store using mySql based sessions instead of file based sessions. I think this could be the reason for your finding a previous customers data still available when you log on to the catalog. Then check to see if the other problem still exists.

Posted

ok so put the install directory back, run the install and have it set for sessions and not file. I can do that. Than check to see if it works. I can do that. Also about setting up a server on your own computer.... lol have fun i cant explain it here bro. Go download phpdev5 and that should have everything you need (but there is a lot of text editing involved).

Posted

well doesnt look like it helped any. It doesnt log as files though just looks like it links to the index.php again.... even the manufactures does the same thing. Now im stumped

Posted

this is the code from the index.php file for the manufactures section (dont worry about the 127.0.0.1 that is just local testing, it will change to the ip address.

 

**************

 

<td class="boxText"><form name="manufacturers" action="http://127.0.0.1:81/index.php" method="get"><input type="hidden"

 

name="osCsid" value="ff496b8d635b89b0567e58f8690b38d4" /><select name="manufacturers_id" onChange="this.form.submit();"

 

size="1" style="width: 100%"><option value="" SELECTED>Please Select</option><option value="10">Auto

 

Ventshade</option><option value="13">Avery</option><option value="12">EGR</option><option value="14">Husky</option><option

 

value="11">Specific Catalo..</option><option value="6">Westin</option></select><input type="hidden" name="osCsid"

 

value="ff496b8d635b89b0567e58f8690b38d4"></form></td>

 

****************

 

anyone see anything wrong here?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...