Author |
Message |
arnoldkrg
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/025.gif)
Joined: Sep 15, 2003
Posts: 20
|
Posted:
Thu Jan 13, 2005 8:20 am |
|
I was just testing the 2.8 patches for PHP-Nuke 7.3 on a new install on a local apache server running on windows xp. Before the patches were applied, http://localhost/my73site opened the site with no problems. However, after applying the patches and resetting config.php, http://localhost/my73site gives a website not found error. But http://localhost/my73site/index.php opens the site properly. Now this doesnt seem to be a server problem because I have 2.8 patched PHP-Nuke 7.4,7.5, and 7.6 sites on the same server which open quite happily without having to include index.php in the path.
Is this some kind of bug related only to PHP-Nuke 7.3 2.8 patches. And can it, or should it be fixed. Everything else seems to work just fine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Jan 13, 2005 9:18 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arnoldkrg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 13, 2005 2:49 pm |
|
I've tried it via both http://localhost/my73site with that in the Site URL and also via a dynamic IP service with the correct dynamic address in the Site URL. Makes no difference. If I use index.php in the URL (not in the site URL in admin.php of course) the site opens, but without it the site doesnt. This is only with PHP-Nuke 7.3 after the 2.8 patches have been applied. Other than this, the site is fine, the activation link works with no problems.
I will go get a new copy of both the patches and PHP-Nuke 7.3, just in case there has been some corruption in the downloads and I will investigate further.
[SELFEDIT] Just to convince myself that it isnt something stupid that either me or my server has done, I downloaded fresh copies of both PHP-Nuke7.3 and the 2.8 patches for PHP-Nuke 7.3. I made a complete fresh install and then installed the patches. Same again. The site opens fine after the patches as long as it is accessed via localhost/my73site/index.php.
Then just to make even more sure, I downloaded fresh copies of PHP-Nuke 7.5 and the 2.8 patches for PHP-Nuke 7.5. Made a clean new install then applied the 2.8 patches. No problems.....the site opens without needing index.php in the URL. This definitely only happens with the 2.8 patches for PHP-Nuke 7.3[/SELFEDIT] |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 13, 2005 4:03 pm |
|
It is not a bug or the entire community would be sceaming, and they're not. Are you doing any mod_rewrites in .htaccess that might be causing this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arnoldkrg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 14, 2005 3:52 am |
|
No......Its a fresh install....I've added no .htaccess files other than those that come already included. I only use this server for development so its not a production site. I am just testing to make sure that a patched version of Approve_Membership will actually work on a patched version of PHP-Nuke 7.3. I guess you are right that, if there were a real problem with the 2.8 patches and PHP-Nuke 7.3, I would have heard about it too. I will go ahead and release the patched Approve_Membership.
Maybe its time that I did a complete uninstall and reinstall of Apache and PHP. They have been going for a couple of years now and there is no telling what unexpected effects I have introduced while I have been experimenting.
Thanks for the reassurance. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 14, 2005 5:08 am |
|
Try it, it's worth a shot. I have no ideas otherwise. Let us know! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
Member Emeritus
![](modules/Forums/images/avatars/Risque/fhf215.jpg)
Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Fri Jan 14, 2005 9:44 am |
|
Try commenting out the following from mainfile.php:
Code:if($_SERVER['REQUEST_URI'] != "/" AND substr($_SERVER['REQUEST_URI'], -1) == "/") {
header("Location: http://".$_SERVER['HTTP_HOST'].rtrim($_SERVER['REQUEST_URI'],'/'));
}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arnoldkrg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 14, 2005 11:20 am |
|
Yes that did it. Many thanks......I will be able to advise my users now if they run into similar problems. Any explanations why this code is in the 2.8 patches for PHP-Nuke 7.3 and not in the 2.8 patches for higher versions? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|