| Author |
Message |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
|
Posted:
Mon Mar 12, 2007 2:02 am |
|
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] |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Mon Mar 12, 2007 6:45 am |
|
Thanks! Yes, especially that last one gets folks more than 9 times out of 10.  |
|
|
|
 |
Misha Worker


Joined: Jul 30, 2006 Posts: 203 Location: McLean, VA
|
Posted:
Mon Mar 12, 2007 10:54 am |
|
mod_rewrite could be a reason, too  |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Tue Mar 13, 2007 6:06 am |
|
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:
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. |
|
|
|
 |
myrtletrees Involved


Joined: Sep 13, 2005 Posts: 259 Location: Cornfields of Indiana
|
Posted:
Sat Apr 14, 2007 4:35 pm |
|
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! |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sun Apr 15, 2007 1:54 pm |
|
Nope, this is good. Now everyone who sees this will know and not have the same issue. Thanks! |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Apr 21, 2007 7:42 am |
|
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:
|
|
|
|
 |
r1_dave New Member


Joined: Jun 15, 2007 Posts: 1
|
Posted:
Sun Jun 17, 2007 3:25 am |
|
Lo all
I have been spend hours to find out why it wasn't working for me.
After a few miniutes back to Apache school overhere
I added this line to my .htacces
Hope i help somebody whit this info..
Greetzz |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Mon Jun 18, 2007 7:22 am |
|
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. |
|
|
|
 |
fkelly Moderator

Joined: Aug 30, 2005 Posts: 3186 Location: near Albany NY
|
Posted:
Wed Oct 03, 2007 2:36 pm |
|
| 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. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Wed Oct 03, 2007 9:31 pm |
|
Ok... I fixed "G"s original post just a bit...  |
|
|
|
 |
redmanu New Member


Joined: Nov 06, 2008 Posts: 13
|
Posted:
Sun Nov 30, 2008 7:36 am |
|
Thx r1_dave! Works for me!
| r1_dave wrote: | Lo all
I have been spend hours to find out why it wasn't working for me.
After a few miniutes back to Apache school overhere
I added this line to my .htacces
Hope i help somebody whit this info..
Greetzz |
|
|
|
|
 |
myrtletrees Involved


Joined: Sep 13, 2005 Posts: 259 Location: Cornfields of Indiana
|
Posted:
Wed May 06, 2009 1:40 pm |
|
I'm back.
I'm starting a new install of Raven Nuke today.
I have followed this topic because I am having a problem with Shortlinks. All pages generate 404 errors.
I have all the shortlink.htaccess info in my main .htacces file. I also added
RewriteEngine on
RewriteBase /
Above all Rewrite rules.
I checked my server that is running PHP5 and Apache and mod-rewrite is enabled.
Any other ideas?
EDIT:
FIXED!
I added
RewriteBase /nuke
to my .htaccess since my nuke site does not run in my servers web root but runs in a subdirectory named nuke. Hope this helps others. |
|
|
|
 |
rickleigh Worker


Joined: Jan 06, 2009 Posts: 183
|
Posted:
Mon Oct 26, 2009 10:59 am |
|
My shortlinks are not auto rewriting in the address bar. But, when I type the shortlink in the bar my pages show up fine.
I have all rewrites from the sample pasted in my .htacces file and all settings in the RNconfig file set to true that need to be. |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
|
Posted:
Mon Oct 26, 2009 11:14 am |
|
Re upload your rnconfig.php file again after making sure the settings are set to true.
The fact that if you type a shortened url in the browser bars suggests the htaccess file is ok and that your server has mod_rewrite turned on so thats the only thing I can think of. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Mon Oct 26, 2009 9:20 pm |
|
Also, make sure you uploaded the ShortLinks directory... |
|
|
|
 |
rickleigh Worker


Joined: Jan 06, 2009 Posts: 183
|
Posted:
Sat Oct 31, 2009 11:07 pm |
|
It has something to do with my autothemes theme. When I test with a regular nuke theme, the short links work fine. I found this info at Autotheme's website.
| Quote: | OK, I have a fix for the links. Let me know if it helps the other problems.
Comment out: 'modules/AutoTheme/includes/atExtended' line 81
change:
return die();
to:
//return die();
-Shawn |
from link:
When I do this edit, it does allow the short links to work. But if I go to save a new block setup to the site, my browser errors out. Take the edit out; my blocks save fine.
Any ideas? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Tue Nov 03, 2009 6:37 am |
|
rickleigh, I don't use Autotheme so even though I am the developer for ShortLinks, I think it will be best for you to ask them directly. The bottom line is that the hooks within header.php and footer.php for ShortLinks have to process unabated and it looks like they may be overriding those? Not sure. |
|
|
|
 |
rickleigh Worker


Joined: Jan 06, 2009 Posts: 183
|
Posted:
Tue Nov 03, 2009 3:31 pm |
|
| montego wrote: | | rickleigh, I don't use Autotheme so even though I am the developer for ShortLinks, I think it will be best for you to ask them directly. The bottom line is that the hooks within header.php and footer.php for ShortLinks have to process unabated and it looks like they may be overriding those? Not sure. |
I have tried to contact them, but with no luck of a response  |
|
|
|
 |
rickleigh Worker


Joined: Jan 06, 2009 Posts: 183
|
Posted:
Fri Nov 06, 2009 5:03 pm |
|
Is Autothemes DEAD? I can't seem to get a reply on my issues on their site  |
|
|
|
 |
bdmdesign Worker


Joined: May 11, 2009 Posts: 151 Location: Winsen/Luhe; Germany
|
Posted:
Mon Nov 09, 2009 10:56 am |
|
Hello @ll
I have a rewrite problem, too.
its working fine, but my shop rules are not writen ?!?
All others works.
My Rules:
| Code: |
# osc-Cart4nuke 0.0.1
RewriteRule ^catalog.html modules.php?name=catalog [L]
RewriteRule ^catalog.html modules.php?name=catalog&file=index [L]
RewriteRule ^catalog-account.html modules.php?name=catalog&file=account [L]
RewriteRule ^catalog-account-history.html modules.php?name=catalog&file=account_history [L]
RewriteRule ^catalog-account-history-info.html modules.php?name=catalog&file=account_history_info&$2=$3 [L]
RewriteRule ^catalog-shopping-cart.html modules.php?name=catalog&file=shopping_cart [L]
|
Best Regards
Peter
Edit: I forgotten the GT File. |
|
|
|
 |
|
|
|
|