Author |
Message |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
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] |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
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. ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Misha
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/477eb75344d0082e450f2.gif)
Joined: Jul 30, 2006
Posts: 205
Location: McLean, VA
|
Posted:
Mon Mar 12, 2007 10:54 am |
|
mod_rewrite could be a reason, too ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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:
http://www.ravenphpscripts.com/postt7072.html
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/44fbb573445a9d36e3110.jpg)
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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:
http://www.ravenphpscripts.com/postt7072.html |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
r1_dave
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 15, 2007
Posts: 1
|
Posted:
Sun Jun 17, 2007 3:25 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 03, 2007 9:31 pm |
|
Ok... I fixed "G"s original post just a bit... ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
redmanu
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/4f25eb8d49515933222fb.gif)
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 http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
I added this line to my .htacces
Hope i help somebody whit this info..
Greetzz |
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
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. |
_________________ Thanks,
Rick Leigh |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 26, 2009 9:20 pm |
|
Also, make sure you uploaded the ShortLinks directory... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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: http://www.spidean.com/SpideanForums-viewthread-tid-5029.phtml
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 ![Sad](modules/Forums/images/smiles/icon_sad.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 ![Mad](modules/Forums/images/smiles/icon_mad.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
bdmdesign
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/5c753ecf4a7161090c367.jpg)
Joined: May 11, 2009
Posts: 154
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. |
_________________ CMS-Version: pragmaMx 1.12.3.1.33.4.14 :: PHP-Version: 5.3.14 :: MySQL-Version: 5.5.23-log :: Server-Version: Apache/2.2.21 (Linux/SUSE)
Projekt: osc4pragmaMx- 2.3.2 in development |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|