Tuesday, March 4, 2014

Re: Media View Path - Strange behaviour

This happened a couple more times since I written the original email, it turns out when it cannot find the file, it prints an error with the wrong path. When the file is found, it uses the intended path.


On 1 March 2014 19:57, Stephen S <hellospeakman@gmail.com> wrote:
Doing pr(ROOT) will print D:\Work\DittoCake


On 1 March 2014 05:38, Andrew Lechowicz <drew.lechowicz@gmail.com> wrote:
What is the value of your `ROOT` constant on the windows machine?


On Friday, February 28, 2014 7:01:22 AM UTC-5, Stephen S wrote:
Hey

I've pulled some working code from a repository this morning, which works at the office using OSX, to my windows machine.

The media view is having strange and unexpected behaviour, here is the code (expected path and actual path).


If you read the book (http://book.cakephp.org/2.0/en/views/media-view.html) it states the path by default should be absolute unless it's relative to the webroot folder. This only happens on my windows installation.

Perhaps this is a bug I should report, rather than something I have done wrong?

Cheers!

--
Kind Regards
 Stephen Speakman

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.



--
Kind Regards
 Stephen Speakman



--
Kind Regards
 Stephen Speakman

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: