Giter Club home page Giter Club logo

Comments (10)

mckern avatar mckern commented on September 28, 2024

@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.

josegonzalez avatar josegonzalez commented on September 28, 2024

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.

mrtazz avatar mrtazz commented on September 28, 2024

I just added requirements to the README (3a24a15). Let me know in case I missed something.

from morgue.

josegonzalez avatar josegonzalez commented on September 28, 2024

What does the config file look like, and where does it exist?

from morgue.

patcable avatar patcable commented on September 28, 2024

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.

josegonzalez avatar josegonzalez commented on September 28, 2024

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 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?)


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-26601409
.

from morgue.

josegonzalez avatar josegonzalez commented on September 28, 2024

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 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?)


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-26601409
.

from morgue.

patcable avatar patcable commented on September 28, 2024

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.

patcable avatar patcable commented on September 28, 2024

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.

josegonzalez avatar josegonzalez commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.