Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X install problem #20

Open
twslankard opened this issue Oct 26, 2011 · 6 comments
Open

Mac OS X install problem #20

twslankard opened this issue Oct 26, 2011 · 6 comments
Assignees

Comments

@twslankard
Copy link

Hi all,

I'm running into some installation issues on Mac OS X. Here's what I did:

cloned the repo into my web root

  1. navigated to the repo dir, where I'm greeted by a coordino page; the page tells me that to use automatic install, I should correct some permissions
  2. I correct the permissions and reload the page (chgrp -R _www app; chmod -R g+w app)
  3. I refresh the page, and see a completely blank page. (Inspecting the page source reveals the page is completely empty.)

Additionally,

  1. copied database_sample.php to database.php and manually changed settings.
  2. created a database user and database to match the settings.
  3. refresh the browser page, still see nothing

Thanks in advance for all of your help!

Additional Info:

Mac OS 10.6.8
Safari Version 5.1 (6534.50)

git show --name-only
commit f28b220

php --version
PHP 5.3.4 (cli) (built: Dec 15 2010 12:15:07)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

mysql --version
mysql Ver 14.14 Distrib 5.5.10, for osx10.6 (i386) using readline 5.1

@djstarr
Copy link

djstarr commented Oct 28, 2011

A note for 10.6.8 Server: the default site was set to not allow overrides (like the .htaccess mod_rewrites). You may need to change your site .conf file to AllowOverrides All instead of AllowOverrides None.

Truthfully I'm not sure if there is something more granular one could apply to make this work, but this fixed my install issues.

@twslankard
Copy link
Author

I notice that 10.6.8 (non-server) also has the default set to AllowOverrides None. I changed it to AllowOverrides All but unfortunately the problem persists.

@djstarr
Copy link

djstarr commented Oct 28, 2011

Try another unzip of the package. Make sure you've got everything in the root of the folder, not a subfolder. Also make sure that you've got the .htaccess files in the root, /app/, and /app/webroot/.

@twslankard
Copy link
Author

I re-downloaded, re-un-zipped, etc., to no avail.

However, it does appear the issue is Cake-related.

tail -f /var/log/apache2/error_log
[Mon Nov 07 12:12:06 2011] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in /Library/WebServer/Documents/Coordino/cake/libs/cache/file.php on line 248
[Mon Nov 07 12:12:06 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function cd() on a non-object in /Library/WebServer/Documents/Coordino/cake/libs/cache/file.php on line 248

I'll look into the problem further.

@zamoose
Copy link

zamoose commented Mar 5, 2012

Related: #24 and #38.

@zamoose
Copy link

zamoose commented Mar 5, 2012

CakePHP/timezone-related:

http://cakephp.lighthouseapp.com/projects/42648/tickets/672-call-to-a-member-function-cd-on-a-non-object

Try setting a timezone and see if it helps.

@Datawalke Datawalke self-assigned this Mar 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants