Re: [PHPTAL] PHPTAL and Wordpress

2008-03-17 Thread Alister Cameron
Thank you, Kornel.
The secrecy issue or lack of GPL release is about not being sure how the
"business model" will shape up for this project... I don't live on charity
:)

That said I am as respectful as anyone of Open Source and am very keen to
make sure I get the relationship between revenue generation and Open Source
right!

Is this not everyone's problem?!?!

-A

On Mon, Mar 17, 2008 at 9:21 PM, Kornel Lesinski <[EMAIL PROTECTED]>
wrote:

> On 16 Mar 2008, at 03:49, Alister Cameron wrote:
>
> > In Wordpress, a theme is installed in the /wp-content/themes/
> > folder, including all dependencies and associated files.
> >
> > It would make sense for me then to install PHPTAL somewhere in there.
>
> Just after your e-mail Thomas Müller proposed solution that will help
> installing PHPTAL in any location. I think it's a good idea and I'll
> add it.
>
> > However no matter what I do, all I get is a "white screen of
> > death" (a PHP error of some sort).
> >
> > Now, not being a PHP guru, I don't know what to do.
>
> You've got a fatal error there somewhere. You can try to enable
> display_errors or set error_log in ini (or via ini_set()).
>
> If you still get blank screen despite that, it means that error
> occurs in code that uses @ operator (silences errors). Look for
> expressions like @some_function_call(); or @require "file"; — these
> may cause PHP to die with blank screen and no error logged.
>
> > The only location I can seem to install PHPTAL is the web root.
>
> You can install it anywhere in include_path. Try modifying it via
> set_include_path() (see http://phptal.motion-twin.com/manual/en/
> #installation)
>
> > Also, if I try and add PHPTAL into the code via a "global include"
> > that effects all pages, then it immediately "white screens" all
> > Wordpress admin pages.
>
> I think it dies because it can't find files it needs. Change of
> include_path should solve it.
>
> > PS. Happy to send the code I'm working on to the person who can
> > commit to "secrecy" and to working the problem out with me :)
>
> On the contrary, I'd love if you released the code under free license :)
>
> --
> regards, Kornel
>
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>



-- 
Alister Cameron
Managing Director
Cameron Creative Pty Ltd
www.cameroncreative.com

Creative, Strategic, Innovative... never boring!
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


Re: [PHPTAL] PHPTAL and Wordpress

2008-03-17 Thread Kornel Lesinski

On 16 Mar 2008, at 03:49, Alister Cameron wrote:

In Wordpress, a theme is installed in the /wp-content/themes/  
folder, including all dependencies and associated files.


It would make sense for me then to install PHPTAL somewhere in there.


Just after your e-mail Thomas Müller proposed solution that will help  
installing PHPTAL in any location. I think it's a good idea and I'll  
add it.


However no matter what I do, all I get is a "white screen of  
death" (a PHP error of some sort).


Now, not being a PHP guru, I don't know what to do.


You've got a fatal error there somewhere. You can try to enable  
display_errors or set error_log in ini (or via ini_set()).


If you still get blank screen despite that, it means that error  
occurs in code that uses @ operator (silences errors). Look for  
expressions like @some_function_call(); or @require "file"; — these  
may cause PHP to die with blank screen and no error logged.



The only location I can seem to install PHPTAL is the web root.


You can install it anywhere in include_path. Try modifying it via  
set_include_path() (see http://phptal.motion-twin.com/manual/en/ 
#installation)


Also, if I try and add PHPTAL into the code via a "global include"  
that effects all pages, then it immediately "white screens" all  
Wordpress admin pages.


I think it dies because it can't find files it needs. Change of  
include_path should solve it.


PS. Happy to send the code I'm working on to the person who can  
commit to "secrecy" and to working the problem out with me :)


On the contrary, I'd love if you released the code under free license :)

--
regards, Kornel


___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


Re: [PHPTAL] PHPTAL and Wordpress

2008-03-16 Thread Alister Cameron
Levi.
I am not sure I can see any evidence of a log file.

Where would it be?

-A

On Mon, Mar 17, 2008 at 10:29 AM, Levi Stanley <[EMAIL PROTECTED]> wrote:

> Hi Alister:
>
> There is no errors in the log file?  Also, what is your php.inimemory_limit?
>
> Best regards,
> Levi
>
> On Sat, Mar 15, 2008 at 11:49 PM, Alister Cameron <
> [EMAIL PROTECTED]> wrote:
>
> > Hi folks,
> > This is my first post on this group.
> >
> > I am integrating PHPTAL and Wordpress 2.5.
> >
> > I have thus far converted just the index.php page of my Wordpress theme
> > in to a template and am really enjoying myself. It's a learning curve, of
> > course, but so far no terrible issues.
> >
> > One thing that I am really stressing over, however...
> >
> > In Wordpress, a theme is installed in the /wp-content/themes/ folder,
> > including all dependencies and associated files.
> >
> > It would make sense for me then to install PHPTAL somewhere in there.
> >
> > However no matter what I do, all I get is a "white screen of death" (a
> > PHP error of some sort).
> >
> > Now, not being a PHP guru, I don't know what to do.
> >
> > The only location I can seem to install PHPTAL is the web root.
> >
> > Also, if I try and add PHPTAL into the code via a "global include" that
> > effects all pages, then it immediately "white screens" all Wordpress admin
> > pages.
> >
> > Again, I have no idea what's going on.
> >
> > The only way I have managed to get PHPTAL not to mess it all up is via
> > an include in the template PHP file itself, just before intantiating the
> > template object, and so forth.
> >
> > Any earlier in the PHP execution sequence and Wordpress gets upset.
> >
> > However it's all just white-screening for me so I can't diagnose the
> > issue.
> >
> > Can anyone help me on this? I am so so so keen to integrate PHPTAL with
> > a whole new kind of Wordpress theming/templating platform I'm working on,
> > which will allow a whole new level of power and flexibility, however I can't
> > with the present problem of intolerance which Wordpress 2.5 and PHPTAL
> > have for each other.
> >
> > Many thanks for any advice.
> >
> > By the way, I use MAMP, and a colleague who also uses mamp has had the
> > same problem.
> >
> > Cheers,
> >
> > -Alister
> >
> >
> > PS. Happy to send the code I'm working on to the person who can commit
> > to "secrecy" and to working the problem out with me :)
> >
> > --
> > Alister Cameron
> > Managing Director
> > Cameron Creative Pty Ltd
> > www.cameroncreative.com
> >
> > Creative, Strategic, Innovative... never boring!
> >
> > ___
> > PHPTAL mailing list
> > PHPTAL@lists.motion-twin.com
> > http://lists.motion-twin.com/mailman/listinfo/phptal
> >
> >
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>


-- 
Alister Cameron
Managing Director
Cameron Creative Pty Ltd
www.cameroncreative.com

Creative, Strategic, Innovative... never boring!
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


Re: [PHPTAL] PHPTAL and Wordpress

2008-03-16 Thread Levi Stanley
Hi Alister:

There is no errors in the log file?  Also, what is your php.inimemory_limit?

Best regards,
Levi

On Sat, Mar 15, 2008 at 11:49 PM, Alister Cameron <
[EMAIL PROTECTED]> wrote:

> Hi folks,
> This is my first post on this group.
>
> I am integrating PHPTAL and Wordpress 2.5.
>
> I have thus far converted just the index.php page of my Wordpress theme in
> to a template and am really enjoying myself. It's a learning curve, of
> course, but so far no terrible issues.
>
> One thing that I am really stressing over, however...
>
> In Wordpress, a theme is installed in the /wp-content/themes/ folder,
> including all dependencies and associated files.
>
> It would make sense for me then to install PHPTAL somewhere in there.
>
> However no matter what I do, all I get is a "white screen of death" (a PHP
> error of some sort).
>
> Now, not being a PHP guru, I don't know what to do.
>
> The only location I can seem to install PHPTAL is the web root.
>
> Also, if I try and add PHPTAL into the code via a "global include" that
> effects all pages, then it immediately "white screens" all Wordpress admin
> pages.
>
> Again, I have no idea what's going on.
>
> The only way I have managed to get PHPTAL not to mess it all up is via an
> include in the template PHP file itself, just before intantiating the
> template object, and so forth.
>
> Any earlier in the PHP execution sequence and Wordpress gets upset.
>
> However it's all just white-screening for me so I can't diagnose the
> issue.
>
> Can anyone help me on this? I am so so so keen to integrate PHPTAL with a
> whole new kind of Wordpress theming/templating platform I'm working on,
> which will allow a whole new level of power and flexibility, however I can't
> with the present problem of intolerance which Wordpress 2.5 and PHPTAL
> have for each other.
>
> Many thanks for any advice.
>
> By the way, I use MAMP, and a colleague who also uses mamp has had the
> same problem.
>
> Cheers,
>
> -Alister
>
>
> PS. Happy to send the code I'm working on to the person who can commit to
> "secrecy" and to working the problem out with me :)
>
> --
> Alister Cameron
> Managing Director
> Cameron Creative Pty Ltd
> www.cameroncreative.com
>
> Creative, Strategic, Innovative... never boring!
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal