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

trying to access /admin/group/index #1469

Closed
hdushku opened this issue Sep 9, 2017 · 5 comments
Closed

trying to access /admin/group/index #1469

hdushku opened this issue Sep 9, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@hdushku
Copy link

hdushku commented Sep 9, 2017

What steps will reproduce the problem?

trying to access:
https://domain.com/luya-kickstarter/public_html/admin/group/index

and the same error goes when I try to access:
Users
Groups
Languages
Tags

What is the expected result?

and shows 500 internel server error

Error: [$compile:tpload] http://errors.angularjs.org/1.6.7-build.5456+sha.3651e42/$compile/tpload?p0=admin%2Fgroup%2Findex&p1=500&p2=Internal%20Server%20Error
at main.js:7
at main.js:161
at main.js:136
at m.$digest (main.js:147)
at m.$apply (main.js:150)
at l (main.js:102)
at K (main.js:107)
at XMLHttpRequest.A.onload (main.js:108)

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

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

Additional infos

Q A
LUYA Version
PHP Version
Platform Apache/XAMPP/MAMPP/etc.
Operating system Windows/Linux Server/OSX/etc.
@nadar
Copy link
Contributor

nadar commented Sep 9, 2017

what luya version? Did you login sucessfull? what webserver are u using? could you post me a screenshot of the xhr request (like from the developer toolbar in chrome, i assume the bearer token is missing, but i am not sure). What Browser are u using?

@hdushku
Copy link
Author

hdushku commented Sep 9, 2017

Latest version from:
https://luya.io/guide/install
On
c9.io
Yes I installed and loged in succesfully
screenshot_1

@nadar
Copy link
Contributor

nadar commented Sep 9, 2017

ok i assume what could happen there. Is it possible that you set YII_DEBUG to true in your config and also change the error report to display everything or do you get any response from this 500 internal pages?

Thanks for the report!

(btw: are you developing inside c9 env and this is a preview of the site or are using it as a host?)

nadar added a commit that referenced this issue Sep 9, 2017
@nadar
Copy link
Contributor

nadar commented Sep 9, 2017

i just teste to run on c9.io as well, its a problem with php short open tag which is not enabled by default on your apache, but of course this should not be a required. So i pushed a fix for this problem.

Change your composer json to require latest dev-master

"require": {
        "luyadev/luya-core" : "^1.0@dev",
        "luyadev/luya-module-admin" : "^1.0@dev",
        "luyadev/luya-module-cms" : "^1.0@dev"
},

and run composer update in 10 minutes (after that the subsplit has pushed to latest code to all repos).

@nadar nadar added bug and removed bug:research labels Sep 9, 2017
@nadar nadar self-assigned this Sep 9, 2017
@nadar nadar added this to the 1.0.0 milestone Sep 9, 2017
@nadar nadar closed this as completed in 98a944e Sep 9, 2017
@nadar
Copy link
Contributor

nadar commented Sep 9, 2017

@hdushku i tested on my c9 ide and it works fine after the update. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants