System does not open login with debug = 0

Mehr
7 Monate 3 Wochen her #160989 von eliseuborges
eliseuborges erstellte das Thema System does not open login with debug = 0
Dear,

We recently need to change limesurvey v2.06 + from one server to another.
I copied the files (which are around 9GB) and changed the bank connection string.

When I started the application for the first time, config.php was debug = 1 and the application opened the login screen, logged in and browsed some screens.

The problem is that by changing debug = 0 the application will load the login screen and will not open.


By realizing an application profile I noticed that the most invoked features are readdir and is_file.


Given this scenario, I have some doubts:

1. When changing servers do I have to apply some command to clear cache?

2. Can application folder size be the problem?

3. Is there any session setup that might be locking the login screen?

4. Is there any screen that I can access to test this?


can anybody help me?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #160998 von eliseuborges
eliseuborges antwortete auf das Thema: System does not open login with debug = 0
After debugging I realized that by setting 'combineJs' => false in the internal.php file the application loads correctly. Could someone tell me what that means?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #161000 von jelo
jelo antwortete auf das Thema: System does not open login with debug = 0
When combineJS is set to TRUE the javascripts send to the browser get optimized.
ftp.yiiframework.com/extension/extendedclientscript/

What causing this issue on one server and not on the other is hard to tell.
combineJS was involved in bugreports before.
bugs.limesurvey.org/view.php?id=9845

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #161001 von eliseuborges
eliseuborges antwortete auf das Thema: System does not open login with debug = 0
I am debugging the application and noticed that a loop is occurring within the garbageCollect method in the ExtendedClientScript.php file

I will continue the debug to understand the problem ...

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #161002 von jelo
jelo antwortete auf das Thema: System does not open login with debug = 0
What exact version/build of LS is used? What PHP version is used? That often changes when moving from one server to another. Try to set debug = 2 for a moment.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #161003 von eliseuborges
eliseuborges antwortete auf das Thema: System does not open login with debug = 0
PHP Version 5.4.23

$config = "2.06+";
$config = 184;
$config = 150831;



When I change to debug = 2 the login screen is loaded. After I log in, I get a message

"Use of undefined constant proxy_host_port - assumed 'proxy_host_port'"

I have already verified that this is a system error, but even correcting this error manually and then returning debug = 0, the system loops and does not open the login screen.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #161004 von eliseuborges
eliseuborges antwortete auf das Thema: System does not open login with debug = 0
After debugging the application, I discovered that DOCUMENT_ROOT was moving to another folder. With this the findFilesRecursive method was lost and looped. Fixed DOCUMENT_ROOT and it worked!

With the debug enabled this does not happen because javascript is not combined and consequently does not call the functions that cause the infinite loop.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha