When I opened the link it came up with an error and when I lookup the line in Sql.php, there is only 377 lines of code but the error is referring to 1579. What's wrong with it?
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in C:\xampp\htdocs\projects\model\persistence\Sql.php on line 1579
It is really weird.
The default 128MB memory is large enough for all scripts (it may just be too small to convert big reports to PDF)
One option is to try and disable not used PHP extension.
For instance XDebug can consume memory.
I searched and found that line number 1579 can be line in calling script.
I found /model/persistence/SqlElement.php with line 1579 :
$result = Sql::query($query);
so it's a very good candidate for source of issue.
What you can do, to try and find hints, is activate some specific debugging mode : add in your parameters.php file a new parameter :
It is not is the /view/parameter.php wich is the screen (in /view) that displays parameters (user and global parameters).
I now realize that name is ambigous...
It is in the parameters.php (with an s) that contains your parameter (db infos, log infos).
Default location is /files/config/parameters.php, but you may (and should) have changed is on install.
You'll retreive the location of this file (if you don't remember where you moved it) in /tool/parametersLocation.php : it contains one only line with definition of location of parameters file
$parametersLocation = '../files/config/parameters.php'; // This is the default location
In the parameters.php fiel, you'll find location and name of your log file. Default is :
$logFile='../files/logs/projeqtor_${date}.log';
You can add $debugQuery=true; just after this line.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.