When i uploded my site i get that error

When i uploded my site i get that error

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /storage/ssd4/867/4714867/public_html/eCommercy/eCommercy/admain/index.php:1) in /storage/ssd4/867/4714867/public_html/eCommercy/eCommercy/admain/index.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /storage/ssd4/867/4714867/public_html/eCommercy/eCommercy/admain/index.php:1) in /storage/ssd4/867/4714867/public_html/eCommercy/eCommercy/admain/index.php on line 4
faild to connectSQLSTATE[HY000] [1045] ProxySQL Error: Access denied for user ‘root’@‘2a02:4780:bad:f00d::17’ (using password: NO)

my site as working good withput any errors in localhost

Please add this line of code to your .Htaccess file

php_flag output_buffering on

And check your db credentials :slight_smile:

I had the same issue. But it got resolved without the addition of this line in my .htaccess.
Is this php_flag output_buffering on a must include even when you don’t encounter errors?

If you want to use sessions, well it is preferable.