Ticket Details

lithium 09 compatibility - a few small bugfixes

ENHANCEMENT Ticket (closed)

{{{
commit a45d13fdffb6013b53b1949118a250212e693708
Author: John Durkin <john@j2d3.com>
Date:   Wed Apr 28 19:41:20 2010 -0400

    fixed three files that had small typo errors preventing this app from working out of the box.

diff --git a/config/bootstrap/libraries.php b/config/bootstrap/libraries.php
index e103df1..7d6c011 100644
--- a/config/bootstrap/libraries.php
+++ b/config/bootstrap/libraries.php
@@ -21,7 +21,7 @@ require LITHIUM_LIBRARY_PATH . '/lithium/util/Inflector.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/util/String.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/core/Adaptable.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/core/Environment.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Base.php';
+require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Message.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Media.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Request.php';
 require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Response.php';
@@ -50,4 +50,4 @@ Libraries::add('lithium');
  */
 Libraries::add('app', array('default' => true));
 
-?>
\ No newline at end of file
+?>
diff --git a/config/connections.php b/config/connections.php
index 5ea54ea..994c1b5 100644
--- a/config/connections.php
+++ b/config/connections.php
@@ -9,7 +9,7 @@
 use \lithium\data\Connections;
 
 Connections::add('default', array(
-       'type' => 'Http',
+       'type' => 'http',
        'adapter' => 'CouchDb',
        'database' => 'anologue',
        'host' => 'localhost'
diff --git a/views/anologue/view.html.php b/views/anologue/view.html.php
index 910245b..c758f95 100644
--- a/views/anologue/view.html.php
+++ b/views/anologue/view.html.php
@@ -118,7 +118,7 @@
 <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
                anologue.setup({
-                       id: '<?=$data->id?>',
+                       id: '<?php echo $data->id ?>',
                        base: '<?php echo $this->_request->env('base') ?>',
                        line: <?php echo count($data->messages); ?>,
                        icon: '<?php echo $avatar; ?>',

}}}
on 04.28.10 reported by: j2d3 owned by: pointlessjon

Updates

on 08.05.10 by pointlessjon
  • description was changed
on 08.05.10 by pointlessjon
  • owner was changed to pointlessjon
  • status was changed to approved
hey john - awesome. do you have this pushed to a fork? that way i can just merge it in.
(fixed) on 10.02.10 by pointlessjon
  • status was changed to closed
  • resolution was changed to fixed
Thanks for your efforts, John. I don't remember if I applied the patch or had just moved on as I was in the middle of rewriting everything since the initial release of Anologue. Still, much appreciate.