orangescrum-community icon indicating copy to clipboard operation
orangescrum-community copied to clipboard

Spinner spin round and round while Creating Task

Open corientdev opened this issue 9 years ago • 32 comments

Hi,

Spinner spin round and round while Creating Task

See the image its saving the task from last 20-25 Minutes

2015-07-09 13_07_09-orangescrum

corientdev avatar Jul 09 '15 07:07 corientdev

Is it a new installation or did anything happen (e.g. update, upgrade, changes within the code)? Make sure the database settings are correct (app/Config/database.php) and the app has write access to the database.

fbayer avatar Jul 09 '15 07:07 fbayer

  1. New fresh Installation it is.
  2. I don't think its SQL Error its working properly even task also gets added but it doesn't say Task added successfully or something it just get stuck at that spinner on Add Task page

corientdev avatar Jul 09 '15 07:07 corientdev

+1 In my fresh installation also occours:

  • no way to open tasks: if I click in a task "loading" message appear but nothing happens
  • In Dashboard: "Summary", "Recent Activities", "Development", "Task Status" spinner spin round and round and nothing happen.

cruggieri avatar Jul 09 '15 13:07 cruggieri

Hi, Please ensure that the Configure::write('debug',0); in the core.php. If the value is not set as 0 then set it to 0.

Orangescrum avatar Jul 10 '15 04:07 Orangescrum

@Orangescrum But CakePHP's debug mode could be very useful to finding bugs (if someone extend the app). If the spinner spins around all the time it seems like some AJAX calls do not complete properly?!

You could check this via your browser's developer tools (F12) and look up the XHR request and responses within the network tab.

fbayer avatar Jul 10 '15 06:07 fbayer

I set debug to zero in app/Config/core.php and lib/Cake/Console/Templates/skel/Config/core.php, but nothing changes.

cruggieri avatar Jul 10 '15 06:07 cruggieri

exception 'FatalErrorException' with message 'Call to a member function sendGridEmail() on a non-object' in /var/www/html/app/Lib/Error/AppExceptionRenderer.php:39 Stack trace: #0 /var/www/html/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Call to a membe...', '/var/www/html/a...', 39) #1 [internal function]: ErrorHandler::handleError(1, 'Call to a membe...', '/var/www/html/a...', 39, Array) #2 /var/www/html/lib/Cake/Core/App.php(929): call_user_func('ErrorHandler::h...', 1, 'Call to a membe...', '/var/www/html/a...', 39, Array) #3 /var/www/html/lib/Cake/Core/App.php(902): App::_checkFatalError() #4 [internal function]: App::shutdown() #5 {main}

Fatal Error Error: Call to a member function sendGridEmail() on a non-object File: /var/www/html/app/Lib/Error/AppExceptionRenderer.php Line: 39

Error while posting data to /easycases/ajaxpostcase

corientdev avatar Jul 10 '15 06:07 corientdev

Does this helps @Orangescrum ?

corientdev avatar Jul 10 '15 07:07 corientdev

Checked my error.log and I have the same error as @corientdev.

cruggieri avatar Jul 10 '15 07:07 cruggieri

Please suggest some fix anyone.. Error is not very clear..

corientdev avatar Jul 10 '15 09:07 corientdev

It works without error on my local windows pc

corientdev avatar Jul 10 '15 10:07 corientdev

Hi corientdev, Can you please provide the detail of the environment where you are getting the issue?

Orangescrum avatar Jul 10 '15 10:07 Orangescrum

Ubuntu 14.04.2 LTS hosted @ AWS 1gb ram vps server

corientdev avatar Jul 10 '15 10:07 corientdev

I don't know but the latest build i picked up from master today have lots of errors. Want me to submit?

I believe something might have happened while adding the timelog option

corientdev avatar Jul 10 '15 10:07 corientdev

timelog always display "There is some Problem Please check you database connection in app/Config/database.php or may be some syntax error in your code"

But the file is fine.

cruggieri avatar Jul 10 '15 15:07 cruggieri

+1 In my fresh installation also occours:

no way to open tasks: if I click in a task "loading" message appear but nothing happens
In Dashboard: "Summary", "Recent Activities", "Development", "Task Status" spinner spin round and round and nothing happen.

The error ocures onely when a Umlaut äöüß is in the name of the project. The database was created with "DEFAULT CHARACTER SET utf8"

nixwiek avatar Jul 24 '15 05:07 nixwiek

I am dealing with exactly same problem. I've checkout latest master code, but it does not help.

Anyone happens to know what I should do?

sn-ntu avatar Jul 28 '15 07:07 sn-ntu

Can you let us know , on what operating system you are installing orangescrum?

Orangescrum avatar Sep 04 '15 15:09 Orangescrum

Linux Ubuntu 14.04 LTS

corientdev avatar Sep 07 '15 08:09 corientdev

I am having the same issue. All works fine, but the error persists.

CentOS Linux release 7.1.1503 (Core)

drwest143 avatar Sep 08 '15 14:09 drwest143

Hi,

Please download the latest version of Orangescrum. We have fixed the issues.

Prabhudas avatar Sep 09 '15 03:09 Prabhudas

Hi Prabhu,

we have downloaded the latest version and configured on CentOS 7, we have the same issue, task never end up and it wont saved.

itzsashi avatar Sep 16 '15 04:09 itzsashi

Am 16.09.2015 um 06:35 schrieb itzsashi:

Hi Prabhu,

we have downloaded the latest version and configured on CentOS 7, we have the same issue, task never end up and it wont saved.

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/75#issuecomment-140624704.

same problem with new version.

If there is a

umlaut "äöü..." utf-8: &#246

in project Name. Orangescrum crashes.

nixwiek avatar Sep 24 '15 04:09 nixwiek

Hi, same problem here with latest ver. I must refresh after 10 seconds to see the task saved.. Anyone fixed?

cusumanodaniele avatar May 10 '16 09:05 cusumanodaniele

Any updates on this?

alexcumpanici avatar May 20 '16 17:05 alexcumpanici

I think owner is uninterested in solving bugs. He just want to be famous without working. He must be making some videos, uploading it on youtube and bragging somewhere about the software which doesn't work.. Lol

corientdev avatar May 23 '16 10:05 corientdev

I'm back. Orangescrum is working for us now. Finally. For some reasons, is working when mysql strict mode is disabled. It seems that the website does not conform to all mysql standards thus gets blocked.

alexcumpanici avatar May 23 '16 15:05 alexcumpanici

This issue is not solved. Im using latest version but im still getting this error. If explored in chrome developer mode i found it shows database error on Task detail Ajax request. while database connectivity is ok as ive already created project and tasks and also added users. Cuurently Im getting this error to POST data through ajax to url "http://myserve.in/projects/easycases/case_details

Is there anyone who is able to resolve this error.

bkrajendra avatar Aug 15 '16 14:08 bkrajendra

I have this error when I try to update my profile. I'm using lubuntu 16.04, fresh install. The developer tools give me these errors (the trim appears when I want to update the changes) :

X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside <meta>.
GET http://192.168.2.181/orangescrum/users/image_thumb/?type=photos&file=user.png&sizex=28&sizey=28&quality=100 500 (Internal Server Error)
Uncaught TypeError: Cannot read property 'trim' of undefined

I'm using mariadb, and not in strict mode (in fact, I have no mode at all, default).

medivhok avatar Sep 16 '16 16:09 medivhok

The are lot of issue in orangescrum. Its difficult to find out exact cause. Initially I was getting database error, while everything else was working fine, but getting database error while creating task or projects. I've resolved it as there was issue with my date configuration. there were few records with different date config and i changed date config latter this might have created some issue in time difference calculation script and casing error. wish i could only see when i open the error log.

After this everything was working fine and one day I found it again started giving database connection error for creating new project and task. I think this might be related to email as other database related function like creating template and other are working fine.

bkrajendra avatar Sep 19 '16 09:09 bkrajendra