programguru Posted August 7, 2008 Share Posted August 7, 2008 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 Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/ Share on other sites More sharing options...
programguru Posted August 7, 2008 Author Share Posted August 7, 2008 To clarify, it is not happening with all of my projects - it is only this specific one, so it seems to be a local project issue. Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610334 Share on other sites More sharing options...
PFMaBiSmAd Posted August 7, 2008 Share Posted August 7, 2008 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. Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610340 Share on other sites More sharing options...
DarkWater Posted August 7, 2008 Share Posted August 7, 2008 Also, since it's a local server and you have the option, you should realllly upgrade to PHP5. Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610364 Share on other sites More sharing options...
programguru Posted August 7, 2008 Author Share Posted August 7, 2008 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.... Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610384 Share on other sites More sharing options...
programguru Posted August 7, 2008 Author Share Posted August 7, 2008 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. Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610389 Share on other sites More sharing options...
programguru Posted August 7, 2008 Author Share Posted August 7, 2008 oops! delete-register_argc_argv - copied too much. Link to comment https://forums.phpfreaks.com/topic/118550-local-wamp-install-defaulting-to-index-page-on-specific-files/#findComment-610390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.