luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
811 stars 206 forks source link

import script error on Windows 10 #993

Closed kmergen closed 7 years ago

kmergen commented 7 years ago

What steps will reproduce the problem?

Setup step php index.php import

What is the expected result?

What do you get instead? (A Screenshot can help us a lot!)

Exception while importing: 'Static function admin\base\Filter::identifier() should not be abstract' in file 'C:\www\luya1\vendor\luyadev\luya-module-admin\src\base\Filter.php' on line '39'.

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version
PHP Version 5.6.24
Platform Wamp64
Operating system Windows 10
nadar commented 7 years ago

Yes, this is a bug on the beta8 release with php 5.4 - 5.6. Sorry to say that. Rc1 release will be in the next days, so you could temporary just install the dev-master kickstarter which fixes this problem.

composer global require "fxp/composer-asset-plugin:^1.0@dev
kmergen commented 7 years ago

Thanks. Have try to install dev-master but get the following error if i try to migrate: Exception 'ReflectionException' with message 'Class admin\Module does not exist'

Before I run migration I have copied the two dist files in configs folder.

nadar commented 7 years ago

Yes, i just saw this too, just change in your env-local.php config from 'class' => 'admin\Module', to 'class' => 'luya\admin\Module',

kmergen commented 7 years ago

Thanks. It worked now . I will explore the cms now.

nadar commented 7 years ago

all right enjoy, let us know via gitter if you need support or have any questions.