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

Installation displayed as complete w/o editing core.php #256

Closed
ghost opened this issue Jan 21, 2014 · 5 comments
Closed

Installation displayed as complete w/o editing core.php #256

ghost opened this issue Jan 21, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2014

Created by polerin, 4th Oct 2010. (originally Lighthouse ticket #158):


Third step of the install, config directory writable, but core.php not.

Page displays success message, but at the top of the layout the a warning is displayed. Warning below

Warning and trace below.
Warning (2): fopen(/var/www/13_clients/coleman/config/core.php) [http://php.net/function.fopen]: failed to open stream: Permission denied [CORE/cake/libs/file.php, line 154]
Code | Context

$mode = "w"
$force = false

fopen - [internal], line ??
File::open() - CORE/cake/libs/file.php, line 154
File::write() - CORE/cake/libs/file.php, line 245
InstallController::finish() - APP/plugins/install/controllers/install_controller.php, line 234
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83

@ghost
Copy link
Author

ghost commented Jan 21, 2014

4th Oct 2010, polerin said:


On second look, it seems like core.php should have been writable. Any changes in specific I should be looking for to see if it actually did write?

@ghost
Copy link
Author

ghost commented Jan 21, 2014

4th Oct 2010, fahad19 said:


did you 'chmod 0777 config' from your app directory before running the installer?

@ghost
Copy link
Author

ghost commented Jan 21, 2014

4th Oct 2010, polerin said:


Nope. 770 with the correct group ;)

That being said, the ticket was more in reference to the installer thinking it was completed correctly than to my having a problem installing.

@rchavik
Copy link
Member

rchavik commented Jan 22, 2014

TODO: Need to verify in recent master

@rchavik
Copy link
Member

rchavik commented Jan 23, 2014

This still happens in 1.5.x, although with a different file, ie: Config/croogo.php

rchavik added a commit to rchavik/croogo that referenced this issue Jan 27, 2014
rchavik added a commit to rchavik/croogo that referenced this issue Jan 27, 2014
@rchavik rchavik closed this as completed Jan 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant