Re: How do i install phingless BC?

Matias Hegoburu <matiashegoburu-/[email protected]> Fri, 13 May 2005 09:45:13 -0700 (PDT)
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
Well the first thing i did was copying everything (testsite, binarycloud and vortex) to the www directory. Ok everything worked fine (kinda, cause im on Win2k and i cant run the bootstrap but i "ran" the script manually). So, next step, tried taking binary cloud and vortex out of the www directory, so i modified binarycloud.php's include path to look like this:
 
define('BC_PATH_INCLUDE',   realpath(dirname(__FILE__) . '/../../..'));
 
(just moved the folders one level up, but no matter where i place the folders or whether i put a relative or full path, i get the same error).
 
And this is the msg i get from bc:
Error Type: Php User Error
Message: Smarty error: [in binarycloud/debug/tpl/LogMessages.tpl line 4]: [plugin] modifier 'string_format' is not implemented (core.load_plugins.php, line 118)
File/Line: E:\Archivos de programa\apachefriends\xampp\binarycloud\smarty\libs\Smarty.class.php/1088
Context (3): [toggle] 
Backtrace (13): [toggle]
 
Now, theres a very suspicious entry in the backtrace and i dont know where is that path coming from, take a look:
 
smarty_core_load_plugins(array, object) [toggle source]
file: E:\Archivos de programa\apachefriends\xampp\htdocs\testsite\tmp\smarty\bin\en_US\%%F2\F2A\F2A6DE99%%LogMessages.tpl.php
line: 4
[param 1] (object) {smartytemplate} (
    $template_dir = array(
        0 => (string) ".",
        1 => (string) "E:\Archivos de programa\apachefriends\xampp\php\pear\",
        2 => (string) "E:\Archivos de programa\apachefriends\xampp",
        3 => (string) "E:\Archivos de programa\apachefriends\xampp\htdocs\testsite",
        ),
    $compile_dir = (string) "E:\Archivos de programa\apachefriends\xampp\htdocs\testsite/tmp/smarty/bin/en_US",
    $config_dir = (string) "E:\Archivos de programa\apachefriends\xampp\htdocs\testsite",
    $plugins_dir = array(
        0 => (string) "E:\Archivos de programa\apachefriends\xampp\htdocs/binarycloud/smarty/libs/plugins",
        1 => (string) "E:\Archivos de programa\apachefriends\xampp\htdocs\testsite/smarty-plugins",
        ),
 
Why is plugins_dir pointing to xampp/htdocs/binarycloud? it should be xampp/binarycloud instead... Btw, im running php 4.3.11 and apache 2 on win2k.
 
--- Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]> wrote:
> Matias Hegoburu wrote:
> > Could somebody give me instructions on how to do
> this
> > correctly? Cause i have dled the files so far,
> copied
> > the testsite to the www folder of apache, but i
> cant
> > run the testsite unless bc and vortex folders are
> in
> > www too. What am i missing here? Where do i set up
> the
> > path? I tried modifying testsite's binarycloud.php
> > without success... so after trying a lot i have
> > decided it was time to ask for some help...
> 
> Modifying testsite/htdocs/binarycloud.php should be
> enough.
> Did you setup a vhost ? can you describe your
> install and the error you
> get ?
> 
> Pay attention to the line
> define('BC_PATH_INCLUDE',  
> realpath(dirname(__FILE__) . '/../..'));
> You have to edit it to point to the dir where you
> installed binarycloud
> and vortex. Here I have:
> define('BC_PATH_INCLUDE',  
> '/usr/local/binarycloud/r3');
> 
> I have in this dir
> /usr/local/binarycloud/r3$ ls
> binarycloud  docsite  etc  LICENSE  README  testsite
>  tools  vortex
> 
> tools isn't necessary to start, so if you have there
> binarycloud and
> vortex, should work.
> -- 
> Jean-Christophe Michel
> _______________________________________________
> dev mailing list
> dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
> http://lists.binarycloud.com/mailman/listinfo/dev
> 


		
---------------------------------
Discover Yahoo!
 Find restaurants, movies, travel & more fun for the weekend. Check it out!

_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev