You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 64 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Still challenges with GT and mod_rewrite [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 6:52 pm Reply with quoteBack to top


Hi, all. Want you to know that when I stumbled across this thread from Zhen-Xjell's recent posts, I thought I had found Nirvana, Valhalla, and Heaven in one spot. I have been researching and studying for about 2.5 months now trying to teach myself how to do this, knowing that it would be a challenge.

I have read this entire thread at http://nukecops.com/postt362.html (all 250+ posts), attempted the install, and have then reread again completely. To no avail, I am pretty sure that my challenge is with the mod_rewrite since I am seeing the correct page URL's in the index.php (et al) on my current test implementation of the 6.5 Final Release found here . Unfortunately, the forums.html, links.html, etc don't seem to be getting dealt with in the mod_rewrite so as to be presented to the server correctly, allowing for the proper file to be returned to the browser (otherwise known as the 404).

You can see the PHP Info here. My concern is that under the "loaded modules" is says that mod_rewrite is there. Argh!
And I have zipped up my rewrite files and uploaded them here

My only guess at this point is that, if mod_rewrite is truly there and functioning (is there some easy way to test this with the php-nuke db?), that I might be having trouble with the .htaccess file. I created it in notpad saved as .htaccess (no txt extension), uploaded. Additionally, my new host allows me to create/edit files via their web based control panel, so I tried creating .htaccess in the proper $nbd where config.php and index.php are located.

One other "symptom", I clicked on the "private messages" link and received the following error information. I am sure it means "something", though what, I trust one of you will know!
Code:
Parse error: parse error, unexpected $ in /home/jdk/public_html/talk2/includes/sessions.php on line 772

Fatal error: Call to undefined function: append_sid() in /home/jdk/public_html/talk2/modules/Forums/common.php on line 181



Thanks for any help. I appreciate it.

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Mar 21, 2003 7:22 pm Reply with quoteBack to top

At a glance the files seemed ok but i redid your sessions.php file to see if it would help

http://nukecops.com/uploads/chatserv/sessions.zip

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 7:36 pm Reply with quoteBack to top

Hey, Chatserv. Thanks for your time and effort. I uploaded that sessions.php file but no changes. Still seeing the links (forums.html, links.html) being written to the web page, but clicking them and I am getting the 404.

Is there anything I can do at this point on my end to help with the trouble shooting? Just let me know. Thanks.

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Mar 21, 2003 7:50 pm Reply with quoteBack to top

I had a similar problem once, so let`s try what i did, chmod htaccess to 644

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 8:05 pm Reply with quoteBack to top

I remembered reading that you had done that in your thread, so I had given it a shot. To be thorough I went into the control panel at my host, and "reassigned" .htaccess 644. No luck, though. One thing I did see, and I am wondering about now is that my control panel has a little information about a file, and in regards to .htaccess, it says that it is "File type: ASCII English text".

Is that how it should be?

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 8:38 pm Reply with quoteBack to top

So, I thought I would create the .htaccess file again and upload via "binary" mode. Checked the chmod and it is 644. But now the File type is: ASCII English text, with CRLF line terminators.

And now I am getting a "Forbidden You don't have permissions to access" and the index.php page is not showing up. Argh! What did I do!?

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Mar 21, 2003 8:42 pm Reply with quoteBack to top

Just reupload it in ascii mode

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 8:47 pm Reply with quoteBack to top

Damn! I re-upped the file, and it still is giving me the Forbidden access. Going to try creating it again right on the server, and putting it where it goes. Argh!

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 8:57 pm Reply with quoteBack to top

Okay, got it up there and am now back to where I was, accessing the php-nuke site, but not getting the mod_rewrite to do its stuff.

Anything else I can/should do?

Oh, and I meant to say that the changes to the sessions.php file fixed that error code I was getting on the Private Messages page. Thanks.

Just wondering if there isn't some quick and dirty test I might be able to run on the php-nuke site/db that would effectively let us know whether or not mod_rewrite is actually functioning correctly. Thoughts? or is that not an effective trouble shooting method? Just reaching here.

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Fri Mar 21, 2003 9:32 pm Reply with quoteBack to top

chatserv wrote:
I had a similar problem once, so let`s try what i did, chmod htaccess to 644


On this note, I was reading through the documents that Imago had included in his Rewrite 1.95 zip, and he mentioned changing the chmod to "either" 644 or 666. I tried, but no go.

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Mar 21, 2003 11:03 pm Reply with quoteBack to top

I'm going to refer to my original question to you in the large thread.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
jamedkirk
Private
Private


Joined: Mar 21, 2003
Posts: 41

Location: World Citizen

PostPosted: Sat Mar 22, 2003 9:57 am Reply with quoteBack to top

Thanks Zhen-Xjell. Apologies for the double separate posting Embarassed
I'll post back there as well.

_________________
James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com

...just something else www.BoldlyGoing.com
Find all posts by jamedkirkView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 4.448 Seconds - 304 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::