500 error due to function name conflict with reserved term #6
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: adphi/occweb#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I tried to use OCCWeb and was getting a 500 error. I tracked it down to the use of
list
in OCCController.php. PHP reserves list so the function can't be named that.I cloned master and made a branch with the necessary changes. I'm happy to file a PR if I can have write privileges. Otherwise you just need to rename the variable in OCCController.php and routes.php and it'll start working again.
I absolutely love what you've done here!
I tried editing the files suggested to eliminate the "list" function.
Still doesn't work.
Any suggestions?
Thanks
Which Nextcloud version are you using? Can you please share the logs?
I am using NC 18.0.0.
I have uploaded the php and nginx error logs. Is that all that you need?
Thanks
Where is the link to the uploaded logs?
Ahhhh - newbie here. I dropped the logs on the box that says "drop files here".
What is the protocol for files?
https://www.dropbox.com/s/3ju7fhm3k84wizc/error_nextcloud.log?dl=0
https://www.dropbox.com/s/0b7rrkdpjhz0oxg/error_nginx.log?dl=0
https://www.dropbox.com/s/1iw034u7f2bsqv1/error_php.log?dl=0
Let know if this works....
OK... So here is the error message:
I'll take a look..
Really appreciate this.
I love this app and have been using it for a while.
Thanks
please try v0.0.7rc1 pre-release and tell me if it fix the issue.
Well got a little further....
"Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
Remote Address: 192.168.1.29
Request ID: 87SgGHzQ4Fzbln0NaLt7
Although I am not sure I "installed correctly.
Not too familiar with installing other than through the store.
Let me work on it .....
This was the error log for what its worth:
https://www.dropbox.com/s/0ylu6umvgl49xxu/error_nginx2.log?dl=0
Confirm it is now working! Updated to latest version.
Kudos to adphi for staying on this.
Thanks