How to fix: “phpMyAdmin - Error Cannot start session without errors”?PHP User in NGINX not Accessing...
Non-Cancer terminal illness that can affect young (age 10-13) girls?
Why is working on the same position for more than 15 years not a red flag?
Why didn't Tom Riddle take the presence of Fawkes and the Sorting Hat as more of a threat?
"on its way" vs. "in its way"
Do authors have to be politically correct in article-writing?
How do I draw the dashed lines as shown in this figure
What is the difference between rolling more dice versus fewer dice?
Has any human ever had the choice to leave Earth permanently?
Cat is tipping over bed-side lamps during the night
Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?
Why do neural networks need so many training examples to perform?
Why avoid shared user accounts?
Ellipses aligned on the same boundary point
Does diversity provide anything that meritocracy does not?
Is a new boolean field better than null reference when a value can be meaningfully absent?
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
How do you voice extended chords?
Is this ordinary workplace experiences for a job in Software Engineering?
Why was Lupin comfortable with saying Voldemort's name?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Early credit roll before the end of the film
Boss asked me to sign a resignation paper without a date on it along with my new contract
How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?
What is a good reason for every spaceship to carry a weapon on board?
How to fix: “phpMyAdmin - Error Cannot start session without errors”?
PHP User in NGINX not Accessing File, Permission with Groupunable to open phpmyadmin Error during session start; please check your PHP …etcHow to make nginx connect php-fpm with 127.0.0.1, not server's public ip?Date --set not permitted to user www-dataPHP FPM / Nginx on Debian Jessie: error 500 and no logsphpmyadmin database upload breaking offPhp permission denied on connection to /tmp/redis.socket on cpanelOwner of php session folder keeps changingCant open phpMyAdminModify the file 'config.inc.php' for XAMPP, PHPMyAdmin & MySQL setup
When I try to login to PHPmyadmin, I get the following error:
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
I tried to fix by changing permissions of the /tmp
(listed as sessions path in php.ini) to 755
, then tried 777
.
I also tried changing user and group ownership with chown
to www-data
. (www-data
listed as user for php-fpm and Nginx).
Tried multiple web browsers, deleting cookies, deleting all session files from server's /tmp
folder.
PHP info shows sessions loaded. Not sure what else it could be, all other areas of the site load perfect and there's nothing in error logs related.
Is this something you are familiar with?
php phpmyadmin
add a comment |
When I try to login to PHPmyadmin, I get the following error:
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
I tried to fix by changing permissions of the /tmp
(listed as sessions path in php.ini) to 755
, then tried 777
.
I also tried changing user and group ownership with chown
to www-data
. (www-data
listed as user for php-fpm and Nginx).
Tried multiple web browsers, deleting cookies, deleting all session files from server's /tmp
folder.
PHP info shows sessions loaded. Not sure what else it could be, all other areas of the site load perfect and there's nothing in error logs related.
Is this something you are familiar with?
php phpmyadmin
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18
add a comment |
When I try to login to PHPmyadmin, I get the following error:
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
I tried to fix by changing permissions of the /tmp
(listed as sessions path in php.ini) to 755
, then tried 777
.
I also tried changing user and group ownership with chown
to www-data
. (www-data
listed as user for php-fpm and Nginx).
Tried multiple web browsers, deleting cookies, deleting all session files from server's /tmp
folder.
PHP info shows sessions loaded. Not sure what else it could be, all other areas of the site load perfect and there's nothing in error logs related.
Is this something you are familiar with?
php phpmyadmin
When I try to login to PHPmyadmin, I get the following error:
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
I tried to fix by changing permissions of the /tmp
(listed as sessions path in php.ini) to 755
, then tried 777
.
I also tried changing user and group ownership with chown
to www-data
. (www-data
listed as user for php-fpm and Nginx).
Tried multiple web browsers, deleting cookies, deleting all session files from server's /tmp
folder.
PHP info shows sessions loaded. Not sure what else it could be, all other areas of the site load perfect and there's nothing in error logs related.
Is this something you are familiar with?
php phpmyadmin
php phpmyadmin
edited Dec 22 '16 at 8:12
Scott
15.9k113990
15.9k113990
asked Oct 8 '13 at 2:59
HaydenHayden
21114
21114
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18
add a comment |
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18
add a comment |
3 Answers
3
active
oldest
votes
PHP "sessions" store variables so they can persist across multiple HTTP requests.
PHP sends your browser a single cookie that serves as a key. The key is used to retrieve the values from server-side storage.
By default, PHP uses files to store session data on the webserver (which in your case is actually your local PC). Your error indicates that your webserver can't retrieve the file, so it can't restore the variables, and phpMyAdmin can't proceed.
This is likely due to filesystem permissions issues on your local PC.
Do following things
Try to open phpmyadmin in another browser. If it opens then it means it is related with your browser cache memory so try to delete cache and temp files of your browser then restart your wampsever.
Second thing,
If the first one fails, try to delete session files of phpmyadmin which is located in C:/wamp/tmp. Do not delete the temp folder but the content inside the temp folder.
Restart your wampsever and it will work.
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
add a comment |
Also check your session.save_handler
value in your php.ini
. I got this error when I changed it to memcached
, and worked again when changing back to files
.
add a comment |
I had the same issue and resolved it with the following command:
sudo chmod 777 /var/lib/php/session/
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f655790%2fhow-to-fix-phpmyadmin-error-cannot-start-session-without-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
PHP "sessions" store variables so they can persist across multiple HTTP requests.
PHP sends your browser a single cookie that serves as a key. The key is used to retrieve the values from server-side storage.
By default, PHP uses files to store session data on the webserver (which in your case is actually your local PC). Your error indicates that your webserver can't retrieve the file, so it can't restore the variables, and phpMyAdmin can't proceed.
This is likely due to filesystem permissions issues on your local PC.
Do following things
Try to open phpmyadmin in another browser. If it opens then it means it is related with your browser cache memory so try to delete cache and temp files of your browser then restart your wampsever.
Second thing,
If the first one fails, try to delete session files of phpmyadmin which is located in C:/wamp/tmp. Do not delete the temp folder but the content inside the temp folder.
Restart your wampsever and it will work.
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
add a comment |
PHP "sessions" store variables so they can persist across multiple HTTP requests.
PHP sends your browser a single cookie that serves as a key. The key is used to retrieve the values from server-side storage.
By default, PHP uses files to store session data on the webserver (which in your case is actually your local PC). Your error indicates that your webserver can't retrieve the file, so it can't restore the variables, and phpMyAdmin can't proceed.
This is likely due to filesystem permissions issues on your local PC.
Do following things
Try to open phpmyadmin in another browser. If it opens then it means it is related with your browser cache memory so try to delete cache and temp files of your browser then restart your wampsever.
Second thing,
If the first one fails, try to delete session files of phpmyadmin which is located in C:/wamp/tmp. Do not delete the temp folder but the content inside the temp folder.
Restart your wampsever and it will work.
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
add a comment |
PHP "sessions" store variables so they can persist across multiple HTTP requests.
PHP sends your browser a single cookie that serves as a key. The key is used to retrieve the values from server-side storage.
By default, PHP uses files to store session data on the webserver (which in your case is actually your local PC). Your error indicates that your webserver can't retrieve the file, so it can't restore the variables, and phpMyAdmin can't proceed.
This is likely due to filesystem permissions issues on your local PC.
Do following things
Try to open phpmyadmin in another browser. If it opens then it means it is related with your browser cache memory so try to delete cache and temp files of your browser then restart your wampsever.
Second thing,
If the first one fails, try to delete session files of phpmyadmin which is located in C:/wamp/tmp. Do not delete the temp folder but the content inside the temp folder.
Restart your wampsever and it will work.
PHP "sessions" store variables so they can persist across multiple HTTP requests.
PHP sends your browser a single cookie that serves as a key. The key is used to retrieve the values from server-side storage.
By default, PHP uses files to store session data on the webserver (which in your case is actually your local PC). Your error indicates that your webserver can't retrieve the file, so it can't restore the variables, and phpMyAdmin can't proceed.
This is likely due to filesystem permissions issues on your local PC.
Do following things
Try to open phpmyadmin in another browser. If it opens then it means it is related with your browser cache memory so try to delete cache and temp files of your browser then restart your wampsever.
Second thing,
If the first one fails, try to delete session files of phpmyadmin which is located in C:/wamp/tmp. Do not delete the temp folder but the content inside the temp folder.
Restart your wampsever and it will work.
edited 9 mins ago
answered Sep 17 '15 at 19:49
Prashant PokhriyalPrashant Pokhriyal
717
717
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
add a comment |
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Good hint for caching. Bad call on the OS (if the user chmods permissions then it is probably not on windows)
– Hennes
Jun 28 '16 at 14:29
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
Clearing TMP worked for me, thank you.
– Gaz Smith
33 mins ago
add a comment |
Also check your session.save_handler
value in your php.ini
. I got this error when I changed it to memcached
, and worked again when changing back to files
.
add a comment |
Also check your session.save_handler
value in your php.ini
. I got this error when I changed it to memcached
, and worked again when changing back to files
.
add a comment |
Also check your session.save_handler
value in your php.ini
. I got this error when I changed it to memcached
, and worked again when changing back to files
.
Also check your session.save_handler
value in your php.ini
. I got this error when I changed it to memcached
, and worked again when changing back to files
.
answered Oct 15 '15 at 9:17
Jesús CarreraJesús Carrera
1112
1112
add a comment |
add a comment |
I had the same issue and resolved it with the following command:
sudo chmod 777 /var/lib/php/session/
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
add a comment |
I had the same issue and resolved it with the following command:
sudo chmod 777 /var/lib/php/session/
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
add a comment |
I had the same issue and resolved it with the following command:
sudo chmod 777 /var/lib/php/session/
I had the same issue and resolved it with the following command:
sudo chmod 777 /var/lib/php/session/
edited Oct 17 '16 at 20:39
3498DB
15.8k114762
15.8k114762
answered Oct 17 '16 at 11:07
Qaisar AliQaisar Ali
19
19
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
add a comment |
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. Part of providing a good answer is providing some context for your answer. Please edit your answer and explain why it is the correct solution to this problem.
– cascer1
Oct 17 '16 at 12:00
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f655790%2fhow-to-fix-phpmyadmin-error-cannot-start-session-without-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
stackoverflow.com/questions/5013118/…
– nuthan
Jul 16 '14 at 7:18