Jump to content

Local WAMP Install Defaulting to Index Page on Specific Files


programguru

Recommended Posts

This is a somewhat odd issue.

 

I cannot seem to figure out why this is happening.

 

details:

 

php 4.4.8

mysql 4.1

apache 2.2

 

I am not having problems with any other projects.

 

I have configured all of the db user/passes etc.

 

The simplicity of the problem is:

 

None of the other pages will show on the project. Only the index page loads no matter what link I click on, but the browser url displays the correct url.

 

For example:

 

http://localhost/mywebsiteproject.com/index.php?page=usercat&catid=32

 

When I click on the correct link for this, the url shows as above (in the browser), but the page content defaults to the index page on any link I click.

 

This issue is not happening on my live server. Only my local WAMP setup.

 

The main problem is I don't know if this is a php, mysql, or apache error... Or something I am simply overlooking in my script.

 

I have wasted half a day on this, and I just wanted to know if anyone had any ideas as to what I can check for the problem. A bit scattered in thought!

 

Thanks for any ideas - SOS

Your code is doing something configuration specific or an error is occurring but error reporting is not setup to show what. In any case, you would need to post your code for anyone here to be able to see what it might be doing that would work on one server and not another.

DarkWater,

 

I am running 4 and 5 simo. This specific project was built on 4, and I was only doing some edits... I feel dumbness has fallen upon me.. I am enabling all errors, and checking my logs as well. I was so in the thick of it I lost all sensible thought. Know one ever told me php had a "blank" hypnotic effect after 6 grueling hours of arrogant thought process....

PFMaBiSmAd & DarkWater,

 

Oh boy... Missed this one by a long shot.

 

I guess php 4.4.8 ships with: register_argc_argv = register_globals = Off

 

The script I am working with is so old it required register_globals. Poorly made...

 

I guess that's why there is Java - so you can't cheat : )

 

Thanks for your help and inspiration -- Problem solved.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.