944,081 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 10866
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Mar 29th, 2007
0

CakePHP installation problem

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davec271 is offline Offline
16 posts
since Jun 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

ill try it on my lan and see what happens

are tou using the stable or devel version?
Last edited by jbennet; Mar 30th, 2007 at 4:33 am.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,528 posts
since Apr 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
I am using the free hosting service of my-pace.us as this is a personal site.

I have installed Joomla now after finding jake to try and run the cake apps but still nothing is working.

Dave
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davec271 is offline Offline
16 posts
since Jun 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

Which calendar were you trying to use? and which version of cake?
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

Which calendar were you trying to use? and which version of cake?
I am trying to use the CakeCalender by David Golding http://www.davidgoldingdesign.com/cakecalendar

I am using cake 1.1.13.4450
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davec271 is offline Offline
16 posts
since Jun 2005
Mar 30th, 2007
0

Re: CakePHP installation problem

Pay close attention to the version number here:

Quote ...
How to Install

1. Download CakePHP 1.2
2. Download Cake Calendar
3. Put both directories on your server
4. That's it!
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
Last edited by DanceInstructor; Mar 30th, 2007 at 9:53 pm.
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Mar 31st, 2007
0

Re: CakePHP installation problem

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davec271 is offline Offline
16 posts
since Jun 2005
Mar 31st, 2007
0

Re: CakePHP installation problem

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');
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Mar 31st, 2007
0

Re: CakePHP installation problem

Still getting the same errors.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
davec271 is offline Offline
16 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Password protecting a site
Next Thread in PHP Forum Timeline: one foreach loop with two $_post





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC