I just installed version 2.6 and when I go to htdocs/compta/bank/treso.php?account=1 I have a white page? This page is the planned transactions of a bank account.
I have no problem on my fresh migration to 2.6
Can you activate “display_error” or your php.ini ?
Maybe it can show you some information about an error
Thanks,
No I can’t activate the errors (we don’t have access to the php.ini file.
The server is recently updated to php5. So more security like no error reporting, …
I’ve tried in the file treso.php these lines to have the error reporting:
error_reporting(E_ALL);
ini_set(“display_startup_errors”,“1”);
ini_set(“display_errors”,“1”);
But I can’t see the errors, still a white page.
It must be something, but with no errors it’s impossible to locate the problem.
Do you known how many memory is allowed by page ?
I don’t know the memory by page. Where can I find this? I know I have unlimited bandwith.
I now see that I also have a white page in system information - PHP:
htdocs/admin/system/phpinfo.php
Normaly I know the phpinfo page works. I also see that the php information in our online shop is gone.
I know I had to change some files of our website, because of the new php 5, but also for security. I know the security is very high now on the server because of possible attacks.
But it’s strange that it will have effect on dolibarr and just on one page. The phpinfo.php file is not important and like is said it works before.
phpinfo may have been disabled for security reasons.
you’re right, Dolibarr should work even with a very high security setup, but may be ther is a bug somewhere. However to find it, i don’t see any solution else than having the error_log file after calling the page.
Can’t you ask your web hosting provider ?
Hi Eldy,
I have the error now thanks to the server administrator.
Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /…/…/…/…/…/…/htdocs/compta/bank/treso.php on line 224
If you change a file or files, can you tell me which one to download from CVS or you can give me the rule that has change in the file or files.
Thanks
Can you try to edit line 171 of file compta/bank/treso.php to change
$tab_sqlobjorder=array();
into
$tab_sqlobjOrder=array();
the second O is uppercase.
And tell me if it solves.
It works, the error is gone.
Thanks