Please check you database connection in `app/Config/database.php` or may be some syntax error in you

277 views
Skip to first unread message

Ahmed Diab

unread,
May 16, 2017, 6:42:44 AM5/16/17
to Orangescrum Community Support
Hey guys,

i've just installed the app with your recommendations, and when i have finished the installation it shows up that a database connection problem,

But when i do change the debug to true, it shows the 

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

Can you advice me ?

marcio....@hiperformancesales.com

unread,
May 25, 2017, 11:29:32 AM5/25/17
to Orangescrum Community Support
Same problem here, using ubuntu with PHP7

Raakesh Kumar

unread,
Aug 29, 2018, 8:30:45 AM8/29/18
to Orangescrum Community Support
Have you guys found the solution?

Team Orangescrum

unread,
Sep 20, 2018, 9:46:04 AM9/20/18
to Orangescrum Community Support
Hi Rakesh,

Can you please share your error.log file inside "app/tmp/logs" directory? So we can have a look and let you know the solution.


Regards
Team Orangescrum

Viral Patel

unread,
Feb 19, 2019, 1:24:42 AM2/19/19
to Orangescrum Community Support
I only get this error when I click on "Email Reports" . Rest everything seems to be working fine. Below is the error from app/tmp/logs

2019-02-19 06:16:58 Warning: Warning (2): Use of undefined constant GA_CODE - assumed 'GA_CODE' (this will throw an Error in a future version of PHP) in [/var/www/html/orangescrum-master/app/View/Layouts/default_inner.ctp, line 105]
Trace:
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 230
include - APP/View/Layouts/default_inner.ctp, line 105
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92

I am using Ornagescrum 1.6.1 with php 7 on Centos7. 

Any suggestions would be really appreciated. 

Soumya

unread,
Feb 22, 2019, 8:34:41 AM2/22/19
to Orangescrum Community Support
Hi Viral,

Please change debug mode path is app/Config/core.php

Configure::write('debug',0); ->Configure::write('debug',2);

After run successfully run your project please change debug mode again

Configure::write('debug',2); ->Configure::write('debug',0);

Regards,
Soumya

Viral Patel

unread,
Feb 25, 2019, 12:47:02 AM2/25/19
to Orangescrum Community Support
This is what I get :
Warning (2): Use of undefined constant GA_CODE - assumed 'GA_CODE' (this will throw an Error in a future version of PHP) [APP/View/Layouts/default_inner.ctp, line 105]

No more details even after changing to Configure::write('debug',2)


Shakila Banu H

unread,
Feb 25, 2019, 1:35:12 AM2/25/19
to Viral Patel, Orangescrum Community Support
Good day Soumya,
Sure will check and revert back to you.
Thanks & Regards,
Shakilabanu H
Lucid Technologies & Solutions


--
You received this message because you are subscribed to the Google Groups "Orangescrum Community Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orangescrum-communit...@googlegroups.com.
To post to this group, send email to orangescrum-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orangescrum-community-support/1e4dabb0-1bec-41db-abcd-3a88d0b3511a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Soumya

unread,
Feb 25, 2019, 1:40:54 AM2/25/19
to Orangescrum Community Support
Hi Shakila,

This fix is for Community users who have installed Open source edition in their servers. Since you are using Cloud edition, it is not applicable for you. 

Can you please let me know the issue you are facing? So that I can help you out with appropriate solutions.

Thanks,
Soumya 


On Monday, February 25, 2019 at 12:05:12 PM UTC+5:30, Shakila Banu H wrote:
Good day Soumya,
Sure will check and revert back to you.
Thanks & Regards,
Shakilabanu H
Lucid Technologies & Solutions


On Mon, Feb 25, 2019 at 11:17 AM Viral Patel <viral...@gmail.com> wrote:
This is what I get :
Warning (2): Use of undefined constant GA_CODE - assumed 'GA_CODE' (this will throw an Error in a future version of PHP) [APP/View/Layouts/default_inner.ctp, line 105]

No more details even after changing to Configure::write('debug',2)


--
You received this message because you are subscribed to the Google Groups "Orangescrum Community Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orangescrum-community-support+unsub...@googlegroups.com.

Soumya

unread,
Feb 25, 2019, 1:43:13 AM2/25/19
to Orangescrum Community Support
Hi Viral,

Please revert back the value to 0 and let me know if it works for you.

Thanks,
Soumya

Viral Patel

unread,
Mar 29, 2019, 1:30:00 AM3/29/19
to Orangescrum Community Support
No luck Soumya. Still the same. 

Rajeev S

unread,
Mar 29, 2019, 9:01:29 AM3/29/19
to Viral Patel, Orangescrum Community Support
Hi Viral Patel,

Go to app/Lib/Error/AppExceptionRenderer.php and echo the message and exit. You will get the exact error message. So that you could resolve the issue.

On Fri, Mar 29, 2019 at 11:00 AM Viral Patel <viral...@gmail.com> wrote:
No luck Soumya. Still the same. 

--
You received this message because you are subscribed to the Google Groups "Orangescrum Community Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orangescrum-communit...@googlegroups.com.

To post to this group, send email to orangescrum-co...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Thanks & Regards,

Rajeev Gandhi. S

Soumya

unread,
May 2, 2019, 3:53:07 AM5/2/19
to Orangescrum Community Support
Hi Viral,

Can you please share the error.log file from app/tmp/logs?

Also, it would be great if you can send a screenshot of the issue.

Thanks,
Soumya
Orangescrum Team
Reply all
Reply to author
Forward
0 new messages