Page 1 of 1

Warnings in SQL Builder

Posted: Mon Aug 23, 2021 4:57 pm
by jorgecam
Hi, I receive these warnings in SQL Builer, as text over the area where the tables are manipulated. The text prevents to modify the tables that appear below it, so it becomes SQL Builder not usable. It happens in chrome, edge and firefox.

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /srv/disk2/1955898/www/cosmovision.com.uy/nubuilder4/core/nuchoosesetup.php on line 39
Warning: session_start(): Cannot start session when headers already sent in /srv/disk2/1955898/www/cosmovision.com.uy/nubuilder4/core/nuchoosesetup.php on line 9

Attached is a screen shot.
sql_builder_warnings.jpg
thanks
Jorge

Re: Warnings in SQL Builder

Posted: Mon Aug 23, 2021 5:05 pm
by kev1n

Re: Warnings in SQL Builder

Posted: Mon Aug 23, 2021 6:59 pm
by jorgecam
Hi Kevin, it worked !! Thanks.
I looked into the forum but I missed that topic, sorry.
best,
jorge

Re: Warnings in SQL Builder

Posted: Tue Aug 24, 2021 9:21 am
by kev1n
Could you test if the modified nuselect.php file in the attachment also works?

Re: Warnings in SQL Builder

Posted: Wed Aug 25, 2021 12:00 am
by jorgecam
Nop. It doesn´t work

Re: Warnings in SQL Builder

Posted: Wed Aug 25, 2021 12:07 am
by jorgecam
Hi Kevin, I have just realized that the solution I tested yesterday (moving the <?php section to the begining) doesn´t work. The warnings dissapeared (that is why I tought it was ok), but the table region does not respond to the mouse clicks. I cannot move the tables, check fiels or create relationships.
best regards
jorge

Re: Warnings in SQL Builder

Posted: Wed Aug 25, 2021 7:53 am
by kev1n
What PHP version are you using? I once saw this error with an old hoster but since then I haven't seen it anywhere so I cannot replicate it.

This might help:

How to fix "Headers already sent" error in PHP
https://newbedev.com/how-to-fix-headers ... ror-in-php

Also try setting output_buffering=4096 (normally in php.ini) if it's off.