Code Monkey home page Code Monkey logo

Comments (2)

CaerphillyMediaLtd avatar CaerphillyMediaLtd commented on July 26, 2024

Ahh, that was just because I hadn't cleared the cache. I do have another issue however.

I keep getting a 401 unauthorized error when trying to connect to publisher, and I get a php error in the nginx log:

2018/06/26 14:04:26 [error] 6318#6318: *15 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/publisher/src/SWP/Bundle/CoreBundle/Controller/AuthController.php on line 104" while reading response header from upstream, client: 185.38.246.x, server: , request: "POST /api/v1/auth/superdesk/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "18.220.196.xx", referrer: "http://52.15.65.xx/"

from web-publisher.

CaerphillyMediaLtd avatar CaerphillyMediaLtd commented on July 26, 2024

This is a bug. During the interactive creation of the parameters.yml file if you only enter a single superdesk server IP it puts it there as a string instead of an array. But the PHP always assumes it's an array there so it runs into issues if it's not. I've created a fix and will make a pull request shortly.

from web-publisher.

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.