Thanks for the feedback, i'll do some readup on the JIRA and use the
correct channels next time.
People who has the same problem and can't wait for the SVN update can
use attached patch or simply replace line 41 in index.php with:
require_once 'src/' . ucfirst($className) . '.php';
All the best,
Tommie
Chris Chabot wrote:
Hey Tommie,
As Cassie pointed out, the JIRA issue tracker is the preferred place
for this, and thanks for reporting it! But in this case i can report
that the bug has already been fixed here locally (oddly enough OSX
doesn't trip on it, but my linux systems do, hence the reason why it
slipped thru). Expect it to be fixed in the svn repo somewhere in the
next day or 2.
-- Chris
On Mar 6, 2008, at 11:32 AM, Tommie Podzemski wrote:
Hi everyone,
Notice that the php-version asks for src/jsLibrary.php while the
filename is src/JsLibrary.php. This causes my webserver to fail as
the case of the files are different.
I could probably fix this myself, but i don't have enough knowledge
in regards of committing to a SVN, nor do i believe that i would
have the access to do so.
Error occurs on a freshly checked out revision 634210.
Thanks,
Tommie
Index: php/gadgets/index.php
===================================================================
--- php/gadgets/index.php (revision 634218)
+++ php/gadgets/index.php (working copy)
@@ -38,7 +38,7 @@
function __autoload($className)
{
- require_once 'src/' . $className . '.php';
+ require_once 'src/' . ucfirst($className) . '.php';
}
$servletMap = array($config['web_prefix'] . '/files' => 'FilesServlet',
$config['web_prefix'] . '/js' => 'JsServlet', $config['web_prefix'] . '/proxy'
=> 'ProxyServlet', $config['web_prefix'] . '/ifr' => 'GadgetRenderingServlet',
$config['web_prefix'] . '/rpc' => 'RpcServlet');