Comments (10)
@patcable PHP 5.3, 5.4, or 5.5? I get past this problem with 5.5, but then I see a missing requirement for 'EtsyInternalAuth/etsy_auth.php' (#4)
from morgue.
Seems like it might need a MORGUE_ENVIRONMENT
: https://github.com/etsy/morgue/blob/master/phplib/Configuration.php
Might be worth trying to set this up in Heroku. I've been using the buildpack by CHH for my own slim apps (I contributed the slim support) so I might end up doing this later today if I get a chance.
from morgue.
I just added requirements to the README (3a24a15). Let me know in case I missed something.
from morgue.
What does the config file look like, and where does it exist?
from morgue.
Did a git pull this morning, still running into:
[Fri Oct 18 10:44:29 2013] [error] [client 172.26.145.100] PHP Parse error: syntax error, unexpected '[' in /web/morgue/phplib/Postmortem.php on line 48
Running PHP 5.3.10-1ubuntu3.8, Apache 2.2.22. (Ubuntu 12.04)
Didn't know about the config file in config/{development,production}.json - wasnt sure if the web interface built it on first login. (Update the readme?)
from morgue.
Patrick: Seems like you need to run PHP 5.4 (contrary to the readme!)
because function array dereferencing came in at that version.
http://php.net/manual/en/migration54.new-features.php
From looking at the source, seems like you need to commit the config json
file. It doesn't appear to be generated.
On Fri, Oct 18, 2013 at 10:46 AM, Patrick Cable [email protected]:
Did a git pull this morning, still running into:
[Fri Oct 18 10:44:29 2013] [error] [client 172.26.145.100] PHP Parse
error: syntax error, unexpected '[' in /web/morgue/phplib/Postmortem.php on
line 48Running PHP 5.3.10-1ubuntu3.8, Apache 2.2.22. (Ubuntu 12.04)
Didn't know about the config file in config/{development,production}.json
- wasnt sure if the web interface built it on first login. (Update the
readme?)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-26601409
.
from morgue.
This pr might fix it: #7
On Fri, Oct 18, 2013 at 10:49 AM, Jose Diaz-Gonzalez <
[email protected]> wrote:
Patrick: Seems like you need to run PHP 5.4 (contrary to the readme!)
because function array dereferencing came in at that version.http://php.net/manual/en/migration54.new-features.php
From looking at the source, seems like you need to commit the config json
file. It doesn't appear to be generated.On Fri, Oct 18, 2013 at 10:46 AM, Patrick Cable [email protected]:
Did a git pull this morning, still running into:
[Fri Oct 18 10:44:29 2013] [error] [client 172.26.145.100] PHP Parse
error: syntax error, unexpected '[' in /web/morgue/phplib/Postmortem.php on
line 48Running PHP 5.3.10-1ubuntu3.8, Apache 2.2.22. (Ubuntu 12.04)
Didn't know about the config file in config/{development,production}.json
- wasnt sure if the web interface built it on first login. (Update the
readme?)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-26601409
.
from morgue.
Yeah, not a big deal re: the config file, just trying to make sure folks know the readme is a bit inconclusive :)
I'll merge #7 and see what happens.
from morgue.
Seeing this now. Setting 'tags" to off in my config file "fixes" it, but it would seem that there should be a 'tags' dir under features?
[Fri Oct 18 10:58:35 2013] [error] [client 172.26.145.100] PHP Fatal error: Uncaught exception 'ErrorException' with message 'include(tags/lib.php): failed to open stream: No such file or directory' in /web/morgue/index.php:397\nStack trace:\n#0 /web/morgue/index.php(397): Slim::handleErrors(2, 'include(tags/li...', '/web/morgue/ind...', 397, Array)\n#1 /web/morgue/index.php(397): include()\n#2 {main}\n thrown in /web/morgue/index.php on line 397
from morgue.
Also potentially fixed by #8
On Fri, Oct 18, 2013 at 11:03 AM, Patrick Cable [email protected]:
Seeing this now. Setting 'tags" to off in my config file "fixes" it, but
it would seem that there should be a 'tags' dir under features?[Fri Oct 18 10:58:35 2013] [error] [client 172.26.145.100] PHP Fatal
error: Uncaught exception 'ErrorException' with message
'include(tags/lib.php): failed to open stream: No such file or directory'
in /web/morgue/index.php:397\nStack trace:\n#0 /web/morgue/index.php(397):
Slim::handleErrors(2, 'include(tags/li...', '/web/morgue/ind...', 397,
Array)\n#1 /web/morgue/index.php(397): include()\n#2 {main}\n thrown in
/web/morgue/index.php on line 397—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-26602871
.
from morgue.
Related Issues (20)
- Add jabber/xmpp feature HOT 2
- Alert person requesting a facilitator when one found HOT 1
- Calendar on event page cannot load HOT 2
- Calendar event creation makes it easy to create unwanted events
- Importing schemas and destroying old tables
- Configure htaccess to support caching of resources for better performance
- Morgue docker container HOT 5
- Feature request: not-Jira / freeform remediation items
- feature request: authentication mechanism HOT 1
- syntax error, unexpected '[' in /var/www/morgue/htdocs/index.php
- Issue: "Couldn't get connection object."
- 分析一个问题?
- Feature Request: Add Slack integration documentation
- Change text of "delete forever" button on event page HOT 1
- Create a favicon.
- Add Pagination to Homepage HOT 1
- Improve styling on Anniversary page
- Latest morgue will not run; issues PHP error HOT 3
- "What happened?" field does not appear when editing HOT 5
- Sample config should provide calendar facilitator HOT 2
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 morgue.