| Author |
Message |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Wed Feb 08, 2012 3:33 pm |
|
playing with shortlinks with RN25
in my downloads im getting
Warning: preg_replace() [function.preg-replace]: Unknown modifier 'o' in /includes/tegonuke/shortlinks/shortlinks.php on line 211
I did have this working before in RN24. |
Last edited by w2ibc on Wed Feb 08, 2012 9:10 pm; edited 1 time in total |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 383
|
Posted:
Wed Feb 08, 2012 5:36 pm |
|
I believe preg_replace returns NULL (or 0) if an error occurs, which seems to indicate a condition where no match has been found.
I'm not sure why that would be the case without diving into the code but I'm sure Montego will know.
I'm assuming your using the Downloads module that shipped with RN 2.5, that Shortlinks have been turned on in webroot/rnconfig.php and your htaccess file has the taps in place. |
| |
|
|
 |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Wed Feb 08, 2012 6:29 pm |
|
using EDL like I have for years |
| |
|
|
 |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Wed Feb 08, 2012 9:09 pm |
|
fixed.
I goobered up the code.
DOH!
urlin i had it
' url ',
instead of
'" url "',
all works now |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Thu Feb 09, 2012 7:18 am |
|
Thanks for letting us know and glad you got it sorted. |
| |
|
|
 |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Thu Feb 09, 2012 1:37 pm |
|
amazing how overlooking something so obvious makes you go "huh why aint this working?" |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Fri Feb 10, 2012 8:18 am |
|
Been there. Done that. Numerous times.  |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Sat Feb 11, 2012 12:21 am |
|
me to.. seems to be getting worse the older I get. |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 383
|
Posted:
Sat Feb 11, 2012 3:41 am |
|
| w2ibc wrote: |
| me to.. seems to be getting worse the older I get. |
LOL, tell me about it  |
| |
|
|
 |
w2ibc
Newbie


Joined: Jul 14, 2009
Posts: 14
|
Posted:
Sat Feb 11, 2012 2:07 pm |
|
i remember when I used to do everything.. Now im afraid to do 70% of what I used to do due to ether injury or i done forgot how to do it. |
| |
|
|
 |
|
|