Comments (8)
Second problem.
I put _ss_environment.php file.
Installer don't see constant from define('SS_DATABASE_NAME','db_name');
from silverstripe-installer.
You need to use global $database
On 28 July 2013 14:16, Jaroslav Stika [email protected] wrote:
- problem. I put _ss_environment.php file. Installer dont see
constant from define('SS_DATABASE_NAME','db_name');—
Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-21683344
.
from silverstripe-installer.
@JStika Do you have PHPUnit installed via PEAR? Or only via composer? Which version?
@dhensby No, SS_DATABASE_NAME is a valid way of supplying the database name.
from silverstripe-installer.
@dhensby Why I need to use glabal $database? In file /framework/docs/en/topics/environment-management.md if writen:
Available Constants
| SS_DATABASE_NAME
| Set the database name. Assumes the $database
global variable in your config is missing or empty. |
from silverstripe-installer.
@simonwelsh I've PHPUnit 3.7.22
from silverstripe-installer.
I did reinstall PHPUnit. Web installer works, but redirect ends with corrupted connection http://www.ss31b.sk.loc/home/successfullyinstalled?amp%3Bflushtoken=389e108729a54c81cd2a96510ce97e12&flush=1&flushtoken=130415e6cf8c6eb70081928d48d420a6
When I put http://www.ss31b.sk.loc/ I see:
I need to add Director::setBaseURL('/'); to file /mysite/_config.php, after this modification I see correct screens like this:
from silverstripe-installer.
Why I need to add Director::setBaseURL('/'); ???????????
from silverstripe-installer.
Closing this as it seems to relate to a specific issue on 3.* that has not been followed up. Reopen this issue if a specific example on 4.* can be provided.
from silverstripe-installer.
Related Issues (20)
- Version indicator in CMS should point to recipe version, not silverstripe/cms module version HOT 13
- new install results in duplicate assets yml config HOT 3
- Incude MFA module in new projects via installer HOT 6
- Failing tests on 4 branch HOT 1
- create-project includes an unnecessary .cow directory HOT 3
- Broken build - class org\bovigo\vfs\vfsStream is not found
- Broken build - multi-tab validation
- Broken build - Framework snippet undefined
- Composer update running out of memory on travis HOT 1
- Switch default mail transport to Swift_SendmailTransport HOT 10
- Does it support PHP 8.0.12? HOT 2
- Uncaught Exception: Error: no controller registered in SilverStripe\Dev\DevelopmentAdmin for: bulid IN GET dev/bulid HOT 1
- bad error message on invalid database password HOT 5
- CMS5 Upgrade all other installer dependencies HOT 2
- Broken builds HOT 1
- Broken builds HOT 1
- CMS 5: Ensure correct constraints for vendor-plugin and recipe-plugin before release HOT 2
- Unexpected new dev dependencies in recent installs HOT 4
- Could not find package silverstripe/installer with version 4.12.3. HOT 3
- Resources folder installed instead of _resources HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silverstripe-installer.