PHPCI icon indicating copy to clipboard operation
PHPCI copied to clipboard

Notice: unserialize(): Error at offset 0 of 2 bytes in /opt/phpci/PHPCI/Model/Project.php line 100

Open MattMuffin opened this issue 9 years ago • 5 comments

Hello,

Here is the steps to reproduce:

  • create a Remote URL project
  • save
  • build
  • re-open the project settings
  • set the type to GitLab and URL to ssh://[email protected]/blabla/myproj.git
  • save

The screen shows the following message:

PHPCI Sorry, there was a problem Notice: unserialize(): Error at offset 0 of 2 bytes in /opt/phpci/PHPCI/Model/Project.php line 100

MattMuffin avatar Dec 15 '15 08:12 MattMuffin

If i do these steps I can regain access to the proper view:

update project set type = "remote" where id = 1;

There seems to be an issue when handling the GitLab type

MattMuffin avatar Dec 15 '15 08:12 MattMuffin

Notice: unserialize(): Error at offset 0 of 2 bytes in /usr/share/nginx/html/phpci/PHPCI/Model/Project.php line 100

Same issue.

hiteshmahajan avatar Dec 22 '15 12:12 hiteshmahajan

same problem today with paid hosted php-ci

Notice: unserialize(): Error at offset 0 of 2 bytes in /www/hosted-phpci/releases/20160427152035/PHPCI/Model/Project.php line 100

oxeron avatar Jun 29 '16 08:06 oxeron

Anyone know how to resolve this problem?

What is the cause?

joaomcarlos avatar Oct 04 '16 09:10 joaomcarlos

Apparently it has been fixed on May 28th by @timhovius . You might need to locate the push and pull the required files.

MattMuffin avatar Oct 04 '16 15:10 MattMuffin