Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Wed Feb 08, 2012 3:33 pm Reply with quote

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 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Wed Feb 08, 2012 5:36 pm Reply with quote

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.
 
View user's profile Send private message
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Wed Feb 08, 2012 6:29 pm Reply with quote

using EDL like I have for years
 
View user's profile Send private message
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Wed Feb 08, 2012 9:09 pm Reply with quote

fixed.

I goobered up the code.

DOH!

urlin i had it
' url ',
instead of
'" url "',

all works now
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Feb 09, 2012 7:18 am Reply with quote

Thanks for letting us know and glad you got it sorted.
 
View user's profile Send private message Visit poster's website
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Thu Feb 09, 2012 1:37 pm Reply with quote

amazing how overlooking something so obvious makes you go "huh why aint this working?"
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Feb 10, 2012 8:18 am Reply with quote

Been there. Done that. Numerous times. Smile

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Sat Feb 11, 2012 12:21 am Reply with quote

me to.. seems to be getting worse the older I get.
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Sat Feb 11, 2012 3:41 am Reply with quote

w2ibc wrote:
me to.. seems to be getting worse the older I get.

LOL, tell me about it Smile
 
View user's profile Send private message
w2ibc
Newbie
Newbie



Joined: Jul 14, 2009
Posts: 19

PostPosted: Sat Feb 11, 2012 2:07 pm Reply with quote

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.
 
View user's profile Send private message
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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©