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

Undefined index: user #1308

Open
4 tasks done
frimdo opened this issue Mar 12, 2017 · 4 comments
Open
4 tasks done

Undefined index: user #1308

frimdo opened this issue Mar 12, 2017 · 4 comments

Comments

@frimdo
Copy link

frimdo commented Mar 12, 2017

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

  • You're running the latest release version of PHPCI.
  • Ensure that you're running at least PHP 5.3.6, you can check this by running php -v
  • You've run composer install --no-dev -o from the root of your installation.
  • You have set up either the PHPCI Worker, Daemon or Cron Job to run builds.

Brief issue explanation

When trying to edit project, I get error message. This happens only when in Where is your project hosted? is Gitlab and Repository Name / URL (Remote) or Path (Local) is https://gitlab.com/...

Expected behaviour

After clicking on Edit project button, I expect some form where I could edit the project.

Actual behaviour

After clicking on Edit project button, I get page with thiss error message

Sorry, there was a problem
Notice: Undefined index: user in /var/www/html/PHPCI/Controller/ProjectController.php line 261

Steps to reproduce

  1. Add a new project
  2. Try to edit it

Environment info

Operating System:

Debian GNU/Linux 8 

PHP Version:

PHP 7.1.2 (cli) (built: Feb 28 2017 17:47:07) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

MySQL Version:

mysql  Ver 14.14 Distrib 5.7.17, for Linux (x86_64) using  EditLine wrapper
@frimdo
Copy link
Author

frimdo commented Mar 13, 2017

Update: This issue happends when the project is misconfigured. The biggest problem is, that the project is undeletable. Delete button sends me to URL javascript:confirmDelete('http://89.36.221.90/project/delete/1', 'Project', true) which looks something like this:

[object Object]

@wired00
Copy link

wired00 commented May 30, 2019

@frimdo I know very old post, but i don't suppose you can remember what you meant by "project is misconfigured"? I'm experiencing this issue trying to get PHPCI going. I think i should abandon it, but i'm stubborn! We need to install a CI pipeline on prem. gocd/jenkins don't cut it

@ptejada
Copy link
Contributor

ptejada commented May 30, 2019

@wired00 If you must use this. Try PHP Censor, a fork of this project.

@frimdo
Copy link
Author

frimdo commented Jun 24, 2019

Hi, I am sorry, but I have no idea. I left this project years ago :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants