Relative links and Widgets problems on XAMPP setup
I have spent most of today trying to set up a copy of my blog locally to play around with. Following the instructions graciously provided on Podz’ site was simple enough, but goodness, it’s taken a lot of detail work to get it close to working.
One real hassle has been the fact that none of my relative links seemed to work on the new setup, so I had to convert most every href and src address in my various template files. That’s done now, and mostly working, with just a few stray links (like the “Next” button at the bottom of my main pages) still refusing to work. But the usefulness of doing theme tinkering locally is diminished if I’ll have to go changing everything back over again to implement any changes on my site. Is this problem possibly fixable, or just something I have to live with if using XAMPP?
The other problem is that the blog dies violently if I try turning Widgets on. With them activated (as they are on my live site, working just fine) my header appears on the main page, but then only the following underneath it, where the rest of the blog should be:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\…\wp-content\plugins\widgets\widgets.php on line 307
Fatal error: Cannot use string offset as an array in C:\…\wp-content\plugins\widgets\widgets.php on line 1482
Line 307 of widgets.php is
$params = array_merge(array($sidebar), $registered_widgets[$name][‘params’]);
and line 1482 is
$title = $options[$number][‘title’];
I’m stumped. Anyone have an idea of what’s going on here?
P.S. I tried using the version of widgets.php posted at http://betzster.no-ip.org/Blog/index.php/2006/04/03/sidebar-widgets-plugin-iis-fix/ but it returned the same errors related to the same lines of code; they just had different numbers (155 and 773 instead of 307 and 1482).
- The topic ‘Relative links and Widgets problems on XAMPP setup’ is closed to new replies.