Tag: PHP Session

phpmyadmin – Cannot start session without errors, please check errors

Unfortunately sometimes we get the problem with phpMyAdmin, here is the error from phpMyAdmin on ubuntu machine. phpMyAdmin – Error [code] Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. [/code] To find out where the session.save path http://wiki.phpmyadmin.net/pma/session.save_path run this script …

Continue reading

Permanent link to this article: https://blog.openshell.in/2014/06/phpmyadmin-cannot-start-session-without-errors-please-check-errors/

session-start – headers already sent

This happens when you try to start session more than once. [php] The solution for above problem is 1) in php.ini file set session.autostart to 0 session.auto_start = 0 2) Placing a .htaccess file in the root of your web directory with the following value: php_flag session.auto_start 0 3) In your code use this line …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/10/1263/

PHP sessions problem

Below are some of the common problems faced by beginners while using sessions in PHP. Headers already sent This is the most commonly faced error is also the easiest to fix. Lets first see what a typical HTTP response looks like. As can see from the image headers always precede (come before) the content. The …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/php-sessions-problem/