Download & Extend

Error after install

Project:Spark
Version:8.x-1.0-alpha1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

I'm install Spark. Installation was good.
"Congratulations, you installed Spark!
Visit your new site."

After click on "Visit your new site." I see error:

Error

The website encountered an unexpected error. Please try again later.
Error messageDoctrine\Common\Annotations\AnnotationException: [Semantical Error] The class "Drupal\Core\Annotation\Plugin" is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the _class_ doc comment of "Drupal\Core\Annotation\Plugin". If it is indeed no annotation, then you need to add @IgnoreAnnotation("Plugin") to the _class_ doc comment of class Drupal\number\Plugin\field\widget\NumberWidget. in Doctrine\Common\Annotations\AnnotationException::semanticalError() (line 52 of /home/sashken/data/www/wmfree.ru/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php).

Comments

#1

Status:active» postponed (maintainer needs more info)

Ick! That's no good. Do you have any better results with alpha2?

#2

I'm try alpha2, please see screenshots.

AttachmentSize
spark 8.png 89.29 KB
spark 8-2.png 53.42 KB

#3

The first error is a known bug in 8.x: #1810258: PHP notices thrown in interactive installer

The second one though, I can't reproduce. :( Hm. What version of PHP?

#4

php 5.3.17

#5

HI, I have a similar error on install of drupal-8.x-dev, Nov-7 version. Screenshot attached and error text below. I'm installing on Mac OS X Mountain Lion, using MAMP, PHP 5.3.6, MYSQL 5.5.9. Setup a MAMP vhost to 'dev8.localhost'=> '~/Sites/drupal8' and began installing. Setup the database options and got the following error:

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://dev8.localhost/core/install.php?langcode=en&profile=standard&id=1... StatusText: OK ResponseText: Log in | Drupal @import url("http://dev8.localhost/core/misc/normalize/normalize.css?0"); @import url("http://dev8.localhost/core/modules/system/system.theme.css?0"); @import url("http://dev8.localhost/core/modules/system/system.base.css?0"); @import url("http://dev8.localhost/core/modules/user/user.css?0"); @import url("http://dev8.localhost/core/modules/system/system.admin.css?0"); @import url("http://dev8.localhost/core/modules/system/system.maintenance.css?0"); @import url("http://dev8.localhost/core/themes/seven/style.css?0"); Log in Installation tasksChoose language(done)Choose profile(done)Verify requirements(done)Set up database(done)Installation profile(active)Configure siteFinished [Semantical Error] The class "Drupal\Core\Annotation\Plugin" is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the _class_ doc comment of "Drupal\Core\Annotation\Plugin". If it is indeed no annotation, then you need to add @IgnoreAnnotation("Plugin") to the _class_ doc comment of class Drupal\user\Plugin\Core\Entity\User.

Apache error log entry:
[Wed Nov 07 15:53:21 2012] [error] [client 127.0.0.1] File does not exist: /Users/martysteer/Sites/drupal8/system, referer: http://dev8.localhost/core/install.php?langcode=en&profile=standard

When I click the link at the top 'the error page', the installer continues. I filled this out sitename and admin user info, continued and got "Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data." Apache error log for this step:

[Wed Nov 07 16:11:01 2012] [error] [client ::1] File does not exist: /Users/martysteer/Sites/drupal7/favicon.ico
[Wed Nov 07 16:11:03 2012] [error] [client ::1] File does not exist: /Users/martysteer/Sites/drupal7/favicon.ico
[Wed Nov 07 16:17:02 2012] [error] [client 127.0.0.1] File does not exist: /Users/martysteer/Sites/drupal8/system, referer: http://dev8.localhost/core/install.php?langcode=en&profile=standard&id=1&op=finished
[Wed Nov 07 16:17:15 2012] [notice] child pid 3616 exit signal Segmentation fault (11)

Kept trying. I noticed the drupal7 favicon error. I have the default MAMP 'localhost' vhost setup to a ~/Sites/drupal7 subdir, so I changed this default to ~/Sites/drupal8 and bounced the MAMP servers. Now I only get the following apache.log errors:

[Wed Nov 07 16:21:33 2012] [error] [client 127.0.0.1] File does not exist: /Users/martysteer/Sites/drupal8/system, referer: http://dev8.localhost/core/install.php?langcode=en&profile=standard&id=1&op=finished
[Wed Nov 07 16:21:47 2012] [notice] child pid 4293 exit signal Segmentation fault (11)

Perhaps 2 things going on here? The log entry with [client ::1] is weird. (I think the favicon.ico error is from my d7 theme base.)

If I go back to http://dev8.localhost/ I get a patrially themed login screen, but install hasn't completed so it doesn't work. I will try a fresh install in 'localhost', without the subdomain config and see what happens.

AttachmentSize
Screen Shot 2012-11-07 at 15.56.49.png 222.3 KB
Screen Shot 2012-11-07 at 16.36.38.png 73.83 KB

#6

So just tried again with default MAMP localhost vhost and got this error at the same point:

[Semantical Error] The class "Drupal\Core\Annotation\Plugin" is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the _class_ doc comment of "Drupal\Core\Annotation\Plugin". If it is indeed no annotation, then you need to add @IgnoreAnnotation("Plugin") to the _class_ doc comment of class Drupal\user\Plugin\Core\Entity\User.

Edit: oops... shouldn't post this in project/spark issues. It's base drupal... sorry.

#7

spark 8 alpha 4 i'm getting errors in screenshot. This was the same during alpha 2.

Local environment. Wampserver - php 5.4.3, mysql 5.5.24

AttachmentSize
spark8-install-errors.png 18.96 KB

#8

The error in #7 should be fixed now. I'm curious if you still get the Annotation error in the latest dev release? Currently, I'm not seeing any errors on install.

#9

Status:postponed (maintainer needs more info)» closed (cannot reproduce)

Closing due to no feedback. Have not seen this myself installing Spark all the time.