CakePHP installation problem

Reply

Join Date: Jun 2005
Posts: 16
Reputation: davec271 is an unknown quantity at this point 
Solved Threads: 0
davec271 davec271 is offline Offline
Newbie Poster

CakePHP installation problem

 
0
  #1
Mar 29th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: CakePHP installation problem

 
0
  #2
Mar 30th, 2007
Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite.
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,146
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 530
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: CakePHP installation problem

 
0
  #3
Mar 30th, 2007
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.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 16
Reputation: davec271 is an unknown quantity at this point 
Solved Threads: 0
davec271 davec271 is offline Offline
Newbie Poster

Re: CakePHP installation problem

 
0
  #4
Mar 30th, 2007
Originally Posted by DanceInstructor View Post
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: CakePHP installation problem

 
0
  #5
Mar 30th, 2007
Which calendar were you trying to use? and which version of cake?
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 16
Reputation: davec271 is an unknown quantity at this point 
Solved Threads: 0
davec271 davec271 is offline Offline
Newbie Poster

Re: CakePHP installation problem

 
0
  #6
Mar 30th, 2007
Originally Posted by DanceInstructor View Post
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: CakePHP installation problem

 
0
  #7
Mar 30th, 2007
Pay close attention to the version number here:

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.
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 16
Reputation: davec271 is an unknown quantity at this point 
Solved Threads: 0
davec271 davec271 is offline Offline
Newbie Poster

Re: CakePHP installation problem

 
0
  #8
Mar 31st, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: CakePHP installation problem

 
0
  #9
Mar 31st, 2007
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');
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 16
Reputation: davec271 is an unknown quantity at this point 
Solved Threads: 0
davec271 davec271 is offline Offline
Newbie Poster

Re: CakePHP installation problem

 
0
  #10
Mar 31st, 2007
Still getting the same errors.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC