| | |
CakePHP installation problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2005
Posts: 16
Reputation:
Solved Threads: 0
Hi all.
I've found a really nice looking calender, called CakeCalender that I want to install onto my site, it uses CakePHP http://cakephp.org/. I am having a problem setting this up and was wondering if anyone has used Cake before and if possible they would have a spare couple of minutes to help me install it correctly. I'vefollowed the instructions in the manual and it doesn't seem to work at all.
Dave
I've found a really nice looking calender, called CakeCalender that I want to install onto my site, it uses CakePHP http://cakephp.org/. I am having a problem setting this up and was wondering if anyone has used Cake before and if possible they would have a spare couple of minutes to help me install it correctly. I'vefollowed the instructions in the manual and it doesn't seem to work at all.
Dave
Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
•
•
Join Date: Jun 2005
Posts: 16
Reputation:
Solved Threads: 0
•
•
•
•
Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
I have installed Joomla now after finding jake to try and run the cake apps but still nothing is working.
Dave
•
•
Join Date: Jun 2005
Posts: 16
Reputation:
Solved Threads: 0
•
•
•
•
Which calendar were you trying to use? and which version of cake?
I am using cake 1.1.13.4450
Pay close attention to the version number here:
That's from his page.
Hmm, it will work. You have to add the user/administrator yourself, and the style is lacking. But it works... xD
http://testing.clear-mind.com/
http://testing.clear-mind.com/users/login
user: Testing
pass: testing
•
•
•
•
How to Install
1. Download CakePHP 1.2
2. Download Cake Calendar
3. Put both directories on your server
4. That's it!
Hmm, it will work. You have to add the user/administrator yourself, and the style is lacking. But it works... xD
http://testing.clear-mind.com/
http://testing.clear-mind.com/users/login
user: Testing
pass: testing
Last edited by DanceInstructor; Mar 30th, 2007 at 9:53 pm.
•
•
Join Date: Jun 2005
Posts: 16
Reputation:
Solved Threads: 0
Ok I've gone through and re-uploaded the directories to the server and I get the following messages
When I try and run Cake I get
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/php/cake/libs/view/templates/errors/home.ctp) is not within the allowed path(s): (/tmp/:/var/tmp/:/var/www/errors/:/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs) in /home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/cake/basics.php on line 1440
and when I try and run cakecalendar
Warning: require(cake/bootstrap.php) [function.require]: failed to open stream: No such file or directory in /home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cakecalendar/webroot/index.php on line 78
When I try and run Cake I get
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/php/cake/libs/view/templates/errors/home.ctp) is not within the allowed path(s): (/tmp/:/var/tmp/:/var/www/errors/:/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs) in /home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/cake/basics.php on line 1440
and when I try and run cakecalendar
Warning: require(cake/bootstrap.php) [function.require]: failed to open stream: No such file or directory in /home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cakecalendar/webroot/index.php on line 78
Ok. Find the file called bootstrap.php. It should be in app/config/bootstrap.php. Now edit bootstrap.php and add the following code:
[PHP]$modelPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/models');
$viewPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/views');
$controllerPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/controllers');[/PHP]
I think the paths are probably correct, but they may not be just right. So you may have to edit them slightly, maybe add the trailing / or whatever.
Let me know what happens.
Bah. The forum is cutting some of it off.
$modelPaths = array('....models');
$controllerPaths = array('...controllers');
[PHP]$modelPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/models');
$viewPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/views');
$controllerPaths = array('/home/vol3/myplace.us/daveclissold/daveclissold.com/htdocs/cake/app/controllers');[/PHP]
I think the paths are probably correct, but they may not be just right. So you may have to edit them slightly, maybe add the trailing / or whatever.
Let me know what happens.
Bah. The forum is cutting some of it off.
$modelPaths = array('....models');
$controllerPaths = array('...controllers');
![]() |
Other Threads in the PHP Forum
- Previous Thread: I need to go 7 days into the future
- Next Thread: Sessions, Headers & PDF
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube






