Re: PHPUnit installation problem

2012-03-26 Thread resting
Ah..that's weird, it works in the global vendors dir. The File Iterator is installed if I specify the global vendors dir. So its a include_path problem? On Tuesday, 27 March 2012 11:16:15 UTC+8, euromark wrote: > > where exactly is your `File/Iterator/Autoload.php`? > try to put all the "installed

Re: PHPUnit installation problem

2012-03-26 Thread euromark
where exactly is your `File/Iterator/Autoload.php`? try to put all the "installed" folders into the global vendors dir: /root/vendors/PHPUnit/... /root/vendors/File/... ... /root/app/ this worked for me since the global vendors path is part of the include path by default Am Dienstag, 27. März

Re: PHPUnit installation problem

2012-03-26 Thread euromark
Alternatively, you can try to install it via cake shell: https://github.com/dereuromark/PHPUnit-Cake2 from your app dir ...app>cake Phpunit.Phpunit install Am Montag, 26. März 2012 09:42:06 UTC+2 schrieb resting: > > from: > http://book.cakephp.org/2.0/​en/development/testing.html

Re: Installation problem with newly baked app

2012-01-19 Thread Daniel
I uncommented the following line: define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' . DS . 'cake' . DS . 'lib'); ... and the error went away. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.

Re: Installation problem with newly baked app

2012-01-12 Thread Sam Sherlock
Open index.php and test.php in webroot. A line which includes lib/Cake is commented out - uncomment it. - S On 13 Jan 2012 07:46, "Russ" wrote: > Hi Daniel, > > I haven't used WAMP to setup, but I do have Cake 2.0 installed on a > Windows 7 machine. (as well as Linux and Vista). > > One thing t

Re: Installation problem with newly baked app

2012-01-12 Thread Russ
Hi Daniel, I haven't used WAMP to setup, but I do have Cake 2.0 installed on a Windows 7 machine. (as well as Linux and Vista). One thing to check would be your .htaccess files (there is one at the base cake installation, the app folder, and the webroot folder. Also make sure in your WAMP setting

Installation problem with newly baked app

2012-01-12 Thread Daniel
I just installed Cake 2 on windows 7 running WAMP server, in folder C: \wamp\www\cake. I baked a new app that is in folder C:\wamp\www \swr_app and set up my default database connection. But when I browse in localhost/swr_app I get the following error: ( ! ) Warning: include(Cake\bootstrap.php)

Re: CAKE PHP Installation Problem

2012-01-01 Thread Laerte M. Rodrigues
verify if the rewrite_module is enabled in your apache server 2012/1/1 Wanted > Believe me I have done Everything according to the tutorialsin > my case its http://localhost/cakephp1.3/ > > and Everything is green in the end > > but when I goto http://localhost/cakephp1.3/posts it

Re: CAKE PHP Installation Problem

2012-01-01 Thread Suelen Goularte Carvalho
Hi, when this occured with me I changed the order of my rules, but in my case I was using the IIS webserver. On Sun, Jan 1, 2012 at 7:57 PM, Wanted wrote: > Believe me I have done Everything according to the tutorialsin > my case its http://localhost/cakephp1.3/ > > and Everything is

Re: CAKE PHP Installation Problem

2012-01-01 Thread Điển vũ
If you ask this kind question. Even best developer php don't know where error is. And my friends take half hour to complete that example when begin to learn cakephp. I learned that example , too. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out t

CAKE PHP Installation Problem

2012-01-01 Thread Wanted
Believe me I have done Everything according to the tutorialsin my case its http://localhost/cakephp1.3/ and Everything is green in the end but when I goto http://localhost/cakephp1.3/posts it says The requested URL /cakephp1.3/posts was not found on this server. Please help me

Plug-in to manage permission installation problem..

2011-01-02 Thread John Maxim
http://www.alaxos.net/blaxos/pages/view/7 I followed the link above, and found that I can't access the admin/acl page with an Auth generated "not Authorised to access this location" I tried fixing after reading the comments by bypassing the first time access using: Configure :: write('acl.group.

Re: Installation problem

2010-10-19 Thread cricket
On Tue, Oct 19, 2010 at 7:37 AM, Tilen Majerle wrote: > missing index.php file? :D Or DirectoryIndex is set to index.html only. DirectoryIndex index.php index.html Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received thi

Re: Installation problem

2010-10-19 Thread Tilen Majerle
missing index.php file? :D -- Tilen Majerle http://majerle.eu 2010/10/18 Greengny > Hello > > Trying to install Cake. Using Apache and PHP 5. > > I have installed it in c:\gg\apache22\htdocs\cake. c:\gg > \apache22\htdocs\ is my document root. > > When I try to access http:\\localhost\cake...

Installation problem

2010-10-19 Thread Greengny
Hello Trying to install Cake. Using Apache and PHP 5. I have installed it in c:\gg\apache22\htdocs\cake. c:\gg \apache22\htdocs\ is my document root. When I try to access http:\\localhost\cakeI get a directory listing instead of the Cake PHP page. What am I doing wrong? Thank you Check o

Re: CakePHP Installation problem !

2009-10-17 Thread Andras Kende
You could put your cpanel directory inside webroot as: app/webroot/ cpanel so it will bypass cakephp rewrite rules.. Andras On Oct 17, 2009, at 2:27 AM, DatacenterHellas wrote: > > In the past a create an application by using regular PHP, with no > usage of any kind of framework. This appl

CakePHP Installation problem !

2009-10-16 Thread DatacenterHellas
In the past a create an application by using regular PHP, with no usage of any kind of framework. This application is the Controll Panel of a web site. The installation of this application is like that : http://www.domainname.ext/cpanel/index.php Now I create the front end of the application by

Debug Kit installation problem

2009-08-06 Thread Dumas
Hi! I just tried to install the debug kit in one of my controllers, so I did exactly how it is described here: http://thechaw.com/debug_kit/wiki/home But I always get following error: Notice (8): Undefined offset: 0 [APP/plugins/debug_kit/controllers/ components/toolbar.php, line 505] Fatal err

Re: installation problem.........help needed

2009-08-02 Thread Hols Kay
Try the suggestions in this thread: http://groups.google.com/group/cake-php/browse_thread/thread/889295952424caf9/245af39a60260f4c?#245af39a60260f4c On Aug 2, 10:18 am, mridulesh kumar wrote: > i uploaded a cake php script in the webroot of my server.upon > acceessing the index page iam getting

Re: installation problem.........help needed

2009-08-02 Thread Vijay Kumbhar
Hello Mridulesh, This problem is related with .htaccess at your root folder 7 which is in app folder too. Please add the document root path of the server before the line where webroot is written. It will be like RewriteEngine on RewriteRule^$add site_document_path here webroot/

Re: installation problem.........help needed

2009-08-02 Thread brian
core.php: Configure::write('debug', 2); Also, check the server's error log. On Sun, Aug 2, 2009 at 5:18 AM, mridulesh kumar wrote: > > i uploaded a cake php script in the webroot of my server.upon > acceessing the index page iam getting a blank page. > can anyone plz tell wats the issue.server i

installation problem.........help needed

2009-08-02 Thread mridulesh kumar
i uploaded a cake php script in the webroot of my server.upon acceessing the index page iam getting a blank page. can anyone plz tell wats the issue.server is supporting all the requirements. help needed. --~--~-~--~~~---~--~~ You received this message because you

Re: Installation Problem: CakePHP 1.2.3.8166 on CENTOS and database.php

2009-05-19 Thread brian
As an aside (I don't think it's necessarily related), I recently upgraded PHP on RHEL from 5.1.6 to 5.2.6 using Jason Litka's repo. It worked like a charm. Just FYI, in case you have both the desire and the ability to do so on the CentOS box. http://www.jasonlitka.com/yum-repository/ On Tue, May

Re: Installation Problem: CakePHP 1.2.3.8166 on CENTOS and database.php

2009-05-19 Thread Joel Hughes
Using PHP 5.1.6 and mod_rewrite is enabled. Everything works perfectly (htaccess, error reporting etc...) until the database.php file is added - as if that's the problem - really strange. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Installation Problem: CakePHP 1.2.3.8166 on CENTOS and database.php

2009-05-18 Thread Brett Wilton
what version of PHP is the centos machine running ? have you got all the required .htaccess files and mod_rewrite installed in apache2 ? - http://wiltonsoftware.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Installation Problem: CakePHP 1.2.3.8166 on CENTOS and database.php

2009-05-18 Thread TWIOF
Hello all, I'm having a little trouble with a particular installation of cake (1.2.3.8166) I have it running fine on my windows machine but on my Centos machine I get a strange error when renaming the database.php.sample to database.php The messages appear but the wrapper and any associated bits

Re: cake PHP installation problem

2008-02-07 Thread Samuel DeVore
see my sig On Feb 7, 2008 2:03 AM, Rgarg <[EMAIL PROTECTED]> wrote: > > Hi > > i am trying to cake php folder(cake_1.1.19.6305) on our server(eg > server.com). > > i have created model(product.php), views(view/products/index.thtml) > and controller(product_controller.php) > > everything w

cake PHP installation problem

2008-02-07 Thread Rgarg
Hi i am trying to cake php folder(cake_1.1.19.6305) on our server(eg server.com). i have created model(product.php), views(view/products/index.thtml) and controller(product_controller.php) everything working fine on http://server.com/cake_1.1.19.6305/products/index when i try http://se

cake PHP installation problem

2008-02-07 Thread Rgarg
Hi i am trying to cake php folder(cake_1.1.19.6305) on our server(eg server.com). i have created model(product.php), views(view/products/index.thtml) and controller(product_controller.php) when i try http://server.com/cake_1.1.19.6305/ it shows index page with Your database configurat

Re: Installation problem on a sahred server

2007-08-24 Thread Owki
For those who might be interested, here is the solution: My site is hosted by OVH whose implementation of DOCUMENT_ROOT and PHP_SELF is very exotic. Therefore most dir paths in Cake are wrong. I had to add a workaround in dispatcher.php and basics.php. On 23 août, 16:55, Owki <[EMAIL PROTECTED]

Installation problem on a sahred server

2007-08-23 Thread Owki
Hello everyone, I am trying to install a Cake application on a server. It was developed on my PC and worked fine with the standard distribution - no changes to .htaccess or directory structure. Now I have copied the whole cake directory into the www directory on my server. Problem is that the C

RE: Installation Problem -- Need Help!!![Scanned]

2007-03-08 Thread Buckner, Mark
4:13 PM To: Cake PHP Subject: Re: Installation Problem -- Need Help!!![Scanned] Yes, the file is in the cake/app/controllers/ dir. Here is the code for the posts_controller.php: class PostsController extends AppController { var $name = 'Posts'; function index() { $t

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread Somewhere
Yes, the file is in the cake/app/controllers/ dir. Here is the code for the posts_controller.php: class PostsController extends AppController { var $name = 'Posts'; function index() { $this->set('posts', $this->Post->findAll()); } function view($id = null) {

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread hydra12
I could be wrong, but it sounds like cake is having trouble finding your posts_controller.php. I'm assuming that it's in cake/app/ controllers/posts_controller.php? The class should be class PostsController extends AppController. Is that what you have? It might help if you could put your code

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread Somewhere
It's the default structure that comes directly out of the cake box. I never changed it. Is it what you need? Thanks a lot! On Mar 7, 1:40 pm, "hydra12" <[EMAIL PROTECTED]> wrote: > What is your current directory structure? That would help in > diagnosing your problem. > > On Mar 7, 12:06 pm, "So

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread hydra12
What is your current directory structure? That would help in diagnosing your problem. On Mar 7, 12:06 pm, "Somewhere" <[EMAIL PROTECTED]> wrote: > Yes, thank you for the reply! I have succesfully installed Cake now. > I followed the online example of Blog and created the DB and the code. > But w

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread Somewhere
Yes, thank you for the reply! I have succesfully installed Cake now. I followed the online example of Blog and created the DB and the code. But when I tried to connect to it, I got this fatal error: Fatal error: Class 'PostsController' not found in /usr/local/apache2/ htdocs/cake/cake/dispatcher.

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread Christopher E. Franklin, Sr.
You are going to have to read the installation instructions again all the way through as well as the manual on www.cakephp.org On Mar 7, 7:46 am, "Somewhere" <[EMAIL PROTECTED]> wrote: > Thank you, guys, for your help! > I just changed it to the dev installation and it works as it is. > But when

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread Somewhere
Thank you, guys, for your help! I just changed it to the dev installation and it works as it is. But when I opened the default page in a browser, it said: "Your database configuration file is not present." Do you know what it refers to? Thanks a lot! S. On Mar 6, 8:51 pm, "hydra12" <[EMAIL PRO

Re: Installation Problem -- Need Help!!!

2007-03-06 Thread hydra12
I don't know what your setup is like, but I explained to someone else how I do my alternative setup here: http://groups.google.com/group/cake-php/browse_thread/thread/8f96dbb2bc3a9557/bd341672e9029bd8#bd341672e9029bd8 I have a cake folder and an app folder inside my server's document root (htdocs

Re: Installation Problem -- Need Help!!!

2007-03-06 Thread Christopher E. Franklin, Sr.
I uploaded my bootstrap and core.php to the files section of this group: http://groups.google.com/group/cake-php/files?hl=en The only thing I have changed in core.php was the DEBUG and the CAKE_SESSION_SAVE' parts. Change define('CAKE_SESSION_SAVE', 'database'); to define('CAKE_SESSION_SAVE', 'p

Installation Problem -- Need Help!!!

2007-03-06 Thread Somewhere
I just installed the CakePHP on the Apache 2.0 with PHP 5. I used the Alternative installation on the CakePHP manual. However, when I tried to connect to the default page on a web browser, I got this error message: "Warning: require(config/core.php) [function.require]: failed to open stream: No s

Re: Installation Problem - Please Help

2006-11-28 Thread Eric C Blount
lease > which is 5.2.0 vs. my existing PHP release which is 5.2.0-dev, I tried > to reinstall my existing PHP using release 5.2.0. After the new > install of PHP 5.2.0, then the cakePHP works also. I come to a > conclusion of my cakePHP installation problem must be something in the > 5.

Re: Installation Problem - Please Help

2006-11-28 Thread jskw
f PHP 5.2.0, then the cakePHP works also. I come to a conclusion of my cakePHP installation problem must be something in the 5.2.0-dev release that causes cakePHP not able to work. Anyway, I am glad I am finally able to move on beyond this cakePHP installation problem. Thank you very much for your

Re: Pretty URLs Develpoment Installation Problem

2006-11-18 Thread josh southern
I got mod_rewrite turned on, so the links above don't help solve the problem. I'd still like to know if anyone has seen the /cgi-php/phpwrapper thing before, though... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Pretty URLs Develpoment Installation Problem

2006-11-17 Thread josh southern
I'm trying to get a development install up and running on a shared server (No mod_rewrite or access to the httpd.conf file), but am having problems with: define ('BASE_URL', env('SCRIPT_NAME')); This line in the core.php file, which usually allows me to run a development install when there is no

Re: installation problem

2006-10-27 Thread Hong
Hi Clark, do you mean that i have to create a project directory and copy the files there but it also sound a little confusing for the cake_core_include_path regards Hong --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: installation problem

2006-10-23 Thread [EMAIL PROTECTED]
define('ROOT', '/home/dho/projects/projectxy/trunk'); define('APP_DIR', 'app'); define('CAKE_CORE_INCLUDE_PATH', '/home/dho/projects/cake_1.2.x.x'); You want those 3 lines in your app/webroot/index.php file, obviously with paths that are valid for your setup. Then you can setup a virtual host w/

installation problem

2006-10-23 Thread Hong
I have downloaded cakephp and having follow the installation process, i am unable to set the root directory and app directory to work. it seems a lttle confusing i install it as running as a localhost. please assist --~--~-~--~~~---~--~~ You received this messa

Installation Problem - open_basedir restriction in effect

2006-04-14 Thread Kit
I get the following errors when setting up cakePHP in the production setup. Warning: main() [function.main]: open_basedir restriction in effect. File(C:\php5\pear/cake\bootstrap.php) is not within the allowed path(s): (D:\Inetpub\Customers\perfectwebhosting\3497-mrkws\ns.marik.ws) in D:\Inetpub\C