# |
Sep 22nd 2011, 07:32 |
dakota |
geoid: there wouldn't be, since it is included in the cake downloads already |
# |
Sep 22nd 2011, 07:32 |
geoid |
and no webroot/test.php doesn't exist, but there's nothing in the tuts about setting that up. |
# |
Sep 22nd 2011, 07:32 |
geoid |
dakota: http://www.mydomain.com/tests.php |
# |
Sep 22nd 2011, 07:31 |
eldamar |
dakota: thanks! that works |
# |
Sep 22nd 2011, 07:31 |
dakota |
geoid: and what url are you accessing? |
# |
Sep 22nd 2011, 07:31 |
dakota |
geoid: does webroot/test.php exist? |
# |
Sep 22nd 2011, 07:30 |
geoid |
Error: Test.phpController could not be found. |
# |
Sep 22nd 2011, 07:30 |
geoid |
I'm having some trouble getting cake unit tests working... could really use some help. I've followed the tuts, but I keep getting this error: |
# |
Sep 22nd 2011, 07:30 |
dakota |
eldamar: App::import('Vendor', 'Cpamf.WrapperClasses', array('file' => 'amfphp'.DS.'core'.DS.'amf'.DS.'util'.DS.'WrapperClasses.php')); |
# |
Sep 22nd 2011, 07:29 |
dakota |
eldamar: that's not how you'd do it |
# |
Sep 22nd 2011, 07:25 |
eldamar |
realized it's inside a plugin xD so i try this now but still no result App::import('Vendor', 'cpamf.amfphp/core/amf/util/WrapperClasses'); |
# |
Sep 22nd 2011, 07:25 |
geoid |
greetz! |
# |
Sep 22nd 2011, 07:20 |
Section58 |
project 'my pants' |
# |
Sep 22nd 2011, 07:20 |
lorfds |
that's kind of my issue right now.... I was looking for something a little more plug and plau |
# |
Sep 22nd 2011, 07:20 |
dakota |
lorfds: it is a fantastic project, and I really enjoyed playing with it though |
# |
Sep 22nd 2011, 07:19 |
dakota |
lorfds: it was simply too complex for our purposes |
# |
Sep 22nd 2011, 07:19 |
lorfds |
why did you avoid capistrano? |
# |
Sep 22nd 2011, 07:18 |
dakota |
lorfds: that said, I don't use capistrano. Rolled my own simpler deployment method written as a cake shell that uses rsync (and git) |
# |
Sep 22nd 2011, 07:18 |
dakota |
lorfds: There is even a project called 'capcake' that is made for cakephp |
# |
Sep 22nd 2011, 07:18 |
eldamar |
But i still get "Fatal error: Class 'ByteArray' not found" |
# |
Sep 22nd 2011, 07:18 |
eldamar |
App::import('Vendor', 'WrapperClasses', array('file' => 'amfphp'.DS.'core'.DS.'amf'.DS.'util'.DS.'WrapperClasses.php')); |
# |
Sep 22nd 2011, 07:18 |
eldamar |
Hmm, having some problems here... i need to utilize ByteArray in my model, this class is located in vendors/amfphp/core/amf/util/WrapperClasses.php and this is what i have in my model |
# |
Sep 22nd 2011, 07:17 |
dakota |
lorfds: luckily there are plenty of articles out there that detail how to use it with cakephp |
# |
Sep 22nd 2011, 07:16 |
Section58 |
learn ruby is probab;y one of them |
# |
Sep 22nd 2011, 07:16 |
lorfds |
not quite sure what I have to do on the ruby side to make it work |
# |
Sep 22nd 2011, 07:15 |
lorfds |
only thing is i dont have much ruby experience |
# |
Sep 22nd 2011, 07:15 |
diverdude |
thx guys |
# |
Sep 22nd 2011, 07:15 |
lorfds |
dakota--- I've been looking into that |
# |
Sep 22nd 2011, 07:15 |
diverdude |
ok...i18n and cake_session was the only problematic tables at least :) |
# |
Sep 22nd 2011, 07:15 |
dakota |
lorfds: capistrano is pretty darn cool for deployment |
# |
Sep 22nd 2011, 07:11 |
diverdude |
seems to be the only option |
# |
Sep 22nd 2011, 07:10 |
rchavik |
diverdude, just delete the cake_session table first, and recreate after bake |
# |
Sep 22nd 2011, 07:10 |
Section58 |
lorfds: email bluehost, get them to tell you whats what, thus not breaking client, and also getting the best answer |
# |
Sep 22nd 2011, 07:10 |
diverdude |
could tables be called something which makes bake ignore them? |
# |
Sep 22nd 2011, 07:09 |
Section58 |
lorfds: if bluehost allow you to use git, i would email them a extremely perciffic support question relating to git and how you wish to use it |
# |
Sep 22nd 2011, 07:09 |
rchavik |
~bin |
# |
Sep 22nd 2011, 07:09 |
lorfds |
they're good with it.... so I have to be good with it |
# |
Sep 22nd 2011, 07:09 |
lorfds |
Section58 - not mine, it's a clients setup |
# |
Sep 22nd 2011, 07:09 |
lorfds |
assume perms arent an issue.... what is the best deployment option |
# |
Sep 22nd 2011, 07:09 |
Section58 |
lorfds: i wouldn't bother with shared hosting, it doesn't have the same life style |
# |
Sep 22nd 2011, 07:09 |
diverdude |
Section58, w00t with all the options which needs to be entered |