Syspass: Created entries not displayed

Created on 1 Feb 2017  路  33Comments  路  Source: nuxsmin/sysPass

Hi,

I'm using sysPass 2.0 RC3 and created my 1st 2 entries. I want to access to my created items and I'm getting this error:

Oops...
There was an error
Internal Server Error

What's wrong?

Br,
Lukas

All 33 comments

Do you mean when you want to edit them?. If so I pushed some changes since that release to the devel branch.

No, I create new entry, fill out all needed fields and save it.
When I go to magnifier then I'm getting this error. I Just want to see my created entries.

Sorry about pushing fast, but I would like to get sysPass 2.0 out as soon as possible so the development is so quickly :)

Actually, I'm also using the beta version in my company, so I get noticed about issues and fix them quickly.

and this is very nice from you! I will try last devel release...give me some sec.

No :-( same error

Oops...
There was an error
Internal Server Error

Umm, that's weird, I haven't got any issue viewing the accounts. Is there any error in the web server log?

I've added some entries too...
001
002

hmm that that must be a server issue, let me check the error log

Maybe this is the problem?

luks.technology [Wed Feb 01 20:18:44.605986 2017] [php7:error] [pid 153378] [client 84.189.203.156:58536] PHP Fatal error: Uncaught TypeError: Argument 1 passed to SP\Core\Session::setAccountColor() must be of the type array, string given, called in /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Account/AccountSearch.class.php on line 642 and defined in /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Core/Session.class.php:495\nStack trace:\n#0 /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Account/AccountSearch.class.php(642): SP\Core\Session::setAccountColor(' #')\n#1 /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Account/AccountSearch.class.php(332): SP\Account\AccountSearch->pickAccountColor(1)\n#2 /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Controller/AccountSearchController.class.php(194): SP\Account\AccountSearch->processSearchResults()\n#3 /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95a in /nfsmnt/hosting2_1/c/3/c3618d26-dbe0-436d-a4e5-95aa6eed1ce9/luks.technology/web/sysPass/inc/SP/Core/Session.class.php on line 495, referer https://luks.technology/sysPass/index.php

Really weird...because that is a silly piece of code that I haven't touched since a long time...

strange, do I have a special environment? :-)

BTW this is related to the accounts search

right and when I login into sysPass I'm getting same error and can't see any entries

maybe a PHP 7.x error?

Not sure...I would need to test it

Good news: After switching from PHP 7.1 to PHP 7.0 it's working fine!

Mmm, there would be some unexpected behavior within PHP 7.1

seems so. I will then let my config running with PHP 7.0
I hope you can fix it easily

Sure, I'm reading the 7.1 release notes to get some info...

PHP 7.1 has many changes and a big one is mcrypt, which is deprecated in favour of OpenSSL, and sysPass encryption relies on mcrypt, so I would need to work hard to get it working fine...I go fast but not so :))

Okay I undestand. Maybe you give a hint in your Wiki that sysPass users should use max. PHP 7.0

Right!. I will add a check too. Thanks for the feedback!

Then it works fine now?

you're welcome :)

yes, I can finally begin to add all my accounts / passwords :)

Great!

Here is my current environment, you can safely use sysPass but be aware to perform backups regularly :)
003

Wow many many entries :-)
Cron scheduled backup option would be very nice

Sure, but you can do it by using the API (local or remotely)

really ? Cool, can you please tell me how to do this?

First of all you need to generate a token by using the API Authorizations tab and then execute this script in a local o remote PC with PHP installed (there are many JSON-RPC clients on the internet...)

https://gist.github.com/nuxsmin/62338b33178544894cd7237c7fe170bd

Thank you very much I will try it

The API methods implemented are:

  • Accounts search/view/add/delete
  • Customers search/add/delete
  • Categories search/add/delete
  • Backup

Great possibilities !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DCWNZ picture DCWNZ  路  4Comments

LordSchnaps picture LordSchnaps  路  4Comments

GGOUSSEAUD picture GGOUSSEAUD  路  6Comments

PedroMD picture PedroMD  路  7Comments

supkk picture supkk  路  7Comments