Page 1 of 1

wrapurl or wrapURL

Posted: Sun Sep 04, 2005 7:41 pm
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?

Re: wrapurl or wrapURL

Posted: Mon Sep 05, 2005 1:35 pm
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

Thanks anyway

Posted: Mon Sep 05, 2005 11:22 pm
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.