-
Notifications
You must be signed in to change notification settings - Fork 38
You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1. #103
Comments
Yeah, the |
those options is not applicable for php7. But to solve this problem i had to replace the Doctrine Annotations directory with a version found here: https://github.com/doctrine/annotations/releases/tag/v1.2.5. Then i got i new error message.. Would Openskedge run on PHP7? |
I got it running, had to edit the composer.json file. |
Strange.. every page works but one. The /app.php/users returns: The server returned a "500 Internal Server Error" |
Changed to "doctrine/orm": ">=2.4.0,<2.5-dev", in composer.json and the users page also loaded. |
I am so glad to have found this discussion as I was also getting this error (and a headache from the brick wall). Thank-you for posting it publicly. I tried several other suggestions for similar problems that I found elsewhere, but replacing the Doctrine Annotations solved this issue for me. It looks like most of the changes that you recommended for the composer.json file have been changed on the version I installed, but I still had to replace the Doctrine Annotations as you described above. |
can someone suggest what folder do i need to replace for Doctrine. I Downloaded the new Annotations folder from the above URL as per stedy6 Aug31. |
/var/www/html/openskedge/vendor/doctrine/annotations for me, basically inside your openskedge folder then vendor ... |
when i try to use the command: php app/console doctrine:database:create
i get this error:
[Doctrine\Common\Annotations\AnnotationException]
You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1.
im using ubuntu 16.04 and i guess this is an php7 issue? How could i solve this.
The text was updated successfully, but these errors were encountered: