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

Test delivery doesn't work due to php7 #1

Open
bvarnai opened this issue Mar 4, 2017 · 9 comments
Open

Test delivery doesn't work due to php7 #1

bvarnai opened this issue Mar 4, 2017 · 9 comments

Comments

@bvarnai
Copy link

bvarnai commented Mar 4, 2017

Right after test taker start a test an error is displayed
Fatal error: Cannot use qtism\common\datatypes\Float as Float because 'Float' is a special class name in /var/www/html/taoQtiTest/helpers/class.TestSession.php on line 31
It seems is not yet supported see https://forge.taotesting.com/boards/6/topics/2804. I wonder how to use this container than?

@alroniks
Copy link
Owner

alroniks commented Mar 6, 2017

Hi @bvarnai

Thank you for your interest. Unfortunately, Docker support TAO is currently experimental. However, I use it every day to work with the TAO project.

PHP7 is not officially supported, but I use the TAO with PHP 7.1 and it works fine for me. I remember that we fixed the issues that you describe, but I'm not sure that it was delivered to the latest version. I updated image by the new version (RC7) a few weeks ago, perhaps you used an older version RC3 without support php7.

As it's experimental repository, some changes can be undocumented, but you can find latest instructions how to run TAO in Docker here - https://gist.github.com/Alroniks/4a09104ef35198171e537e29b94bddb4

Please, try run it again. And feel free to ask anything about TAO and Docker.

@don-smith
Copy link

@alroniks if you're not experiencing this, I suspect you've done something to your environment that is different from the environment created by the instructions in the README. I'm experiencing the same issue as @bvarnai without any modification.

I appreciate this is experimental, and it has been a huge help to me, but I just though you should know it's currently broken for those of us with fresh environments. Cheers!

@aroca
Copy link

aroca commented Jan 30, 2018

The same problem here following the actual README

@aroca
Copy link

aroca commented Jan 31, 2018

Seems like an old issue, but i still see the same problem. Anyone using this?

Cheers!

@alroniks
Copy link
Owner

Hi @aroca
Yes, it is an old issue, but actually, TAO platform works with 7.1. But it seems that in the image the old code base. I will check it tomorrow morning and update Dockerfile.

@aroca
Copy link

aroca commented Feb 2, 2018

Hi @alroniks how are you? any update on this? I dont want to bother you, but if you need a hand testing or in any way, just shout. Cheers!

@aroca
Copy link

aroca commented Feb 6, 2018

Tried to build Dockerfile but errors out with some missnaming packages.

E: Package 'libpng12-dev' has no installation candidate

Fixed that but it then fails with:

ERROR: `/tmp/pear/temp/redis/configure --with-php-config=/usr/local/bin/php-config --enable-redis-igbinary=y' failed
The command '/bin/sh -c yes | pecl install redis' returned a non-zero code: 1```

@aroca
Copy link

aroca commented Feb 16, 2018

Hello! Any news about this? Cheers!

@aroca
Copy link

aroca commented Feb 16, 2018

If anybody hit this bug, just to let you know that pointing to the latest RC it works.. so just modify that until this is addressed. Cheers

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

4 participants