PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4658

PostPosted: Mon Mar 12, 2007 2:02 am Reply with quote Back to top

Make sure you have done the following;
In nukeroot/rnconfig.php change
Code:
$tnsl_bUseShortLinks   = FALSE;
$tnsl_bAutoTapBlocks   = FALSE;
to
Code:
$tnsl_bUseShortLinks   = TRUE;
$tnsl_bAutoTapBlocks   = TRUE;


Make sure you have copied the code in Shortlinks.htaccess file to your main htaccess file

[Edited by montego: I just corrected the .htaccess reference a bit]
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Mon Mar 12, 2007 6:45 am Reply with quote Back to top

Thanks! Yes, especially that last one gets folks more than 9 times out of 10. Smile
View user's profile Send private message Visit poster's website
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 181
Location: McLean, VA

PostPosted: Mon Mar 12, 2007 10:54 am Reply with quote Back to top

mod_rewrite could be a reason, too Wink
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Tue Mar 13, 2007 6:06 am Reply with quote Back to top

Good point Misha. Raven worked with me long back on how to test that mod_rewrite was in fact working properly. Check out this thread here:
Only registered users can see links on this board!
Get registered or login to the forums!


There were other tools provided by the GoogleTap/GTNG author to test mod_rewrite, but I found them to not work properly on my set up. So, the above approach should work every time with every set up.

There are several different approaches mentioned in the thread, so be sure to read it in its entirety.
View user's profile Send private message Visit poster's website
myrtletrees
Worker
Worker


Joined: Sep 13, 2005
Posts: 140

PostPosted: Sat Apr 14, 2007 4:35 pm Reply with quote Back to top

Having a little issue with Shortlinks
I get this at the top left of every page
Code:
[nextGenFunction] = Present In Header
[nextGenName] = News (Main Module)
[nextGenPath] = GT File :: ShortLinks/GT-News.php :: Does Exist
[nextGenPath] = Using GT File :: ShortLinks/GT-News.php
[nextGenPath] = Using GT File :: ShortLinks/GTZ-PageTap.php
[nextGenPath] = GT File :: ShortLinks/GTZ-PageTap.php :: Does Exist


adn this above every block:
Code:
[nextGenFunction] = Present In Block
[nextGenPath] = GTB File Does Not Exist


EDIT!!!

Sorry, I figured it out. I had the debug statement set to TRUE. Sorry all!
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Sun Apr 15, 2007 1:54 pm Reply with quote Back to top

Nope, this is good. Now everyone who sees this will know and not have the same issue. Thanks!
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Sat Apr 21, 2007 7:42 am Reply with quote Back to top

In addition, if you still get 404 errors, check to make sure you have the following line in your .htaccess file above all the rewrite statements:

RewriteEngine on

If you still get 404 errors, you must find out if your host has mod_rewrite active. The following thread will help you with that:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
r1_dave
New Member
New Member


Joined: Jun 15, 2007
Posts: 1

PostPosted: Sun Jun 17, 2007 3:25 am Reply with quote Back to top

Lo all

I have been spend hours to find out why it wasn't working for me. Mad
After a few miniutes back to Apache school overhere
Only registered users can see links on this board!
Get registered or login to the forums!


I added this line to my .htacces

Code:
RewriteBase /


Hope i help somebody whit this info..

Greetzz
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Mon Jun 18, 2007 7:22 am Reply with quote Back to top

r1_dave, thank you for this. I have never seen this needed (until now) at the root level, but this is also useful if one has troubles with subdomains. The "/" may be replaced with any path from the web root.
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2093
Location: near Albany NY

PostPosted: Wed Oct 03, 2007 2:36 pm Reply with quote Back to top

Quote:
Make sure you have copied the code in Shortlinks htaccess file to your main htaccess file


Well this had me puzzled! The only thing in the shortlinks htaccess was deny from all!!?? How could this fix anything? Problem was I looked in my nukeroot/shortlinks/.htaccess file. Logical eh? Gotta look in nukeroot/ShortLinks.htaccess. That's where the treasure trove of rewrites lies.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7339
Location: Arizona

PostPosted: Wed Oct 03, 2007 9:31 pm Reply with quote Back to top

Ok... I fixed "G"s original post just a bit... Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum