wrapurl or wrapURL

Found a bug? Tell us!!
Post Reply
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

wrapurl or wrapURL

Post by Wizard »

I have a slight problem with this plugin. Before you added it to the online repository I installed it from RobA's web site. It was called wrapURL. Now that there is an upgrade I can't get it installed correctly since it's now called wrapurl. Oh the problems of case sensitive systems! I clicked on the upgrade from Spartacus, but all it did was create a second copy of the plugin. If I delete the old from my plugin directory then the frontpage fails. What do you suggest?
Wizard
My WeBlog
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: wrapurl or wrapURL

Post by garvinhicking »

Hm, that's a tough problem. Using upper/lowercasing is strongly discouraged for plugins.

With a bit of handwork you can:

1. Rename all files to lowercase (serendipity_event_wrapURL.php -> serendipity_event_wrapurl.php)

2. Rename all dirs to lowercase (serendipity_event_wrapURL -> serendipity_event_wrapurl)

3. Edit the PHP files and replace all occurences of serendipity_event_wrapURL -> serendipity_event_wrapurl

4. Go to the serendipity_plugins DB table and replace all occurences of serendipity_event_wrapURL -> serendipity_event_wrapurl.

Then you should be able to upgrade without loosing your config.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Thanks anyway

Post by Wizard »

That's what I was afraid of. I'm using a web hosting company for my blog site and I have limited access to the db. Plus, I'm no programmer, just a hack with limited programming skills. It's easier for me to remove my existing wrapURL configurations, delete the old plugin and install the current plugin wrapurl and recreate the configurations. A lesson well learned.
Wizard
My WeBlog
Post Reply