Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hello
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:xampphtdocsprojectsmodelpersistenceSql.php on line 1579
Please advise.
Thanks
Thirumal
A "memory size" error will reproduce not always on same point.
When I opened the link
What did you do ?
Could you delail use case leading to error ?
This error throws at the same point every time when you open the login page.
Thanks
Thirumal
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 :
$debugQuery=true;
Test again and post log file.
Hello,
I have the exact same error. I already had a functioning installation with wordpress on my server and I tried to add projeqtor on it.
Where I have to set the $debugQuery=true; instruction in parameters.php?
I put it just after scriptlog instruction but I haven't more information in error.log
require_once "../tool/projeqtor.php";^M
scriptLog(' ->/view/parameter.php');^M
^M
$debugQuery=true;
Thanks for your help,
JC
Hi,
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.
Hi,
it was finally a problem with my php installation. Too many sessions in /tmp.
Sorry for the noise :whistle:
JC