Another technical post for today. But before I get to that: I ran this promotion on my previous post, and it worked well– so here it is again:
The first person to post a comment on this post will get a promo code for a free copy of Whiteboard Pro: Collaborative Drawing, a $3.99 value. So if you don’t have a copy already… post a comment!
WebSVN is a great tool for browsing your source code and its history. SVN is a great source control system, and it’s a lot more useful when you can easily go back in time using any web browser. But it’s not so great when something goes wrong, like this:
Warning: Invalid argument supplied for foreach() in /home/…/…/websvn/listing.php on line 104
Google turned up a few possible solutions (upgrading SVN or MySQL, or downgrading WebSVN), but these were not the cause of my problem.
My solution was to edit the configuration file at /include/config.php
Change this:
$config->addRepository(‘RepositoryName’, ‘file:/home/…/svn/repository’);
to this:
$config->addRepository(‘RepositoryName’, ‘file:///home/…/svn/repository’);
(Add two more forward slashes after file:/)
That did the trick! Hope this helps someone else out there.
Adversite here
Comments
I’m not sure why I’m receiving this but I sure would like a free copy of your software.
Leave A Comment