Failed to initialize storage module in magento





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















When I upgraded Magento 1.7 to Magento 1.8 500 internal errors started to come on the page. I have removed this by changing the permission of index files (644).



But still I am facing an issue. 500 Internal error is gone but this error comes:




session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp)




I am storing the session in database. When I do some R&D, someone suggested to change the session.save_handler = user to session.save_handler = files but when I check PHP configuration, I found the same value.



Please suggest me a way how I can remove this error.










share|improve this question















migrated from stackoverflow.com Nov 4 '13 at 1:31


This question came from our site for professional and enthusiast programmers.

























    2















    When I upgraded Magento 1.7 to Magento 1.8 500 internal errors started to come on the page. I have removed this by changing the permission of index files (644).



    But still I am facing an issue. 500 Internal error is gone but this error comes:




    session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp)




    I am storing the session in database. When I do some R&D, someone suggested to change the session.save_handler = user to session.save_handler = files but when I check PHP configuration, I found the same value.



    Please suggest me a way how I can remove this error.










    share|improve this question















    migrated from stackoverflow.com Nov 4 '13 at 1:31


    This question came from our site for professional and enthusiast programmers.





















      2












      2








      2








      When I upgraded Magento 1.7 to Magento 1.8 500 internal errors started to come on the page. I have removed this by changing the permission of index files (644).



      But still I am facing an issue. 500 Internal error is gone but this error comes:




      session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp)




      I am storing the session in database. When I do some R&D, someone suggested to change the session.save_handler = user to session.save_handler = files but when I check PHP configuration, I found the same value.



      Please suggest me a way how I can remove this error.










      share|improve this question
















      When I upgraded Magento 1.7 to Magento 1.8 500 internal errors started to come on the page. I have removed this by changing the permission of index files (644).



      But still I am facing an issue. 500 Internal error is gone but this error comes:




      session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp)




      I am storing the session in database. When I do some R&D, someone suggested to change the session.save_handler = user to session.save_handler = files but when I check PHP configuration, I found the same value.



      Please suggest me a way how I can remove this error.







      magento-1.7 magento-1.8 session upgrade






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 19 '15 at 15:22









      7ochem

      5,87493770




      5,87493770










      asked Oct 23 '13 at 7:11









      mjdevlopermjdevloper

      1417




      1417




      migrated from stackoverflow.com Nov 4 '13 at 1:31


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Nov 4 '13 at 1:31


      This question came from our site for professional and enthusiast programmers.
























          3 Answers
          3






          active

          oldest

          votes


















          1














          Looks like you don't have write permissions in the folder where magento tries to put the sessions.

          In your case that's /tmp, but it shouldn't be that. it should write the sessions in MAGENTO_ROOT_DIR/var/session.



          Make sure the var/session folder exists and it is writable.






          share|improve this answer































            0














            For me I changed from 'files' to 'db' and was getting this error message. Found out that I never had core_session table in the db so just had to create table.






            share|improve this answer































              0














              Esta respuesta me funciono al 100% les dejo un tutorial para restablecerla https://www.youtube.com/watch?v=91hRSphTzdw





              share








              New contributor




              Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "479"
                };
                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: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                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
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f10332%2ffailed-to-initialize-storage-module-in-magento%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









                1














                Looks like you don't have write permissions in the folder where magento tries to put the sessions.

                In your case that's /tmp, but it shouldn't be that. it should write the sessions in MAGENTO_ROOT_DIR/var/session.



                Make sure the var/session folder exists and it is writable.






                share|improve this answer




























                  1














                  Looks like you don't have write permissions in the folder where magento tries to put the sessions.

                  In your case that's /tmp, but it shouldn't be that. it should write the sessions in MAGENTO_ROOT_DIR/var/session.



                  Make sure the var/session folder exists and it is writable.






                  share|improve this answer


























                    1












                    1








                    1







                    Looks like you don't have write permissions in the folder where magento tries to put the sessions.

                    In your case that's /tmp, but it shouldn't be that. it should write the sessions in MAGENTO_ROOT_DIR/var/session.



                    Make sure the var/session folder exists and it is writable.






                    share|improve this answer













                    Looks like you don't have write permissions in the folder where magento tries to put the sessions.

                    In your case that's /tmp, but it shouldn't be that. it should write the sessions in MAGENTO_ROOT_DIR/var/session.



                    Make sure the var/session folder exists and it is writable.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 7 '14 at 14:40









                    MariusMarius

                    168k28324694




                    168k28324694

























                        0














                        For me I changed from 'files' to 'db' and was getting this error message. Found out that I never had core_session table in the db so just had to create table.






                        share|improve this answer




























                          0














                          For me I changed from 'files' to 'db' and was getting this error message. Found out that I never had core_session table in the db so just had to create table.






                          share|improve this answer


























                            0












                            0








                            0







                            For me I changed from 'files' to 'db' and was getting this error message. Found out that I never had core_session table in the db so just had to create table.






                            share|improve this answer













                            For me I changed from 'files' to 'db' and was getting this error message. Found out that I never had core_session table in the db so just had to create table.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered May 19 '15 at 15:15









                            NasarallaNasaralla

                            1113




                            1113























                                0














                                Esta respuesta me funciono al 100% les dejo un tutorial para restablecerla https://www.youtube.com/watch?v=91hRSphTzdw





                                share








                                New contributor




                                Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.

























                                  0














                                  Esta respuesta me funciono al 100% les dejo un tutorial para restablecerla https://www.youtube.com/watch?v=91hRSphTzdw





                                  share








                                  New contributor




                                  Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                  Check out our Code of Conduct.























                                    0












                                    0








                                    0







                                    Esta respuesta me funciono al 100% les dejo un tutorial para restablecerla https://www.youtube.com/watch?v=91hRSphTzdw





                                    share








                                    New contributor




                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.










                                    Esta respuesta me funciono al 100% les dejo un tutorial para restablecerla https://www.youtube.com/watch?v=91hRSphTzdw






                                    share








                                    New contributor




                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.








                                    share


                                    share






                                    New contributor




                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.









                                    answered 9 mins ago









                                    RodolfoRodolfo

                                    1




                                    1




                                    New contributor




                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.





                                    New contributor





                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






                                    Rodolfo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Magento Stack Exchange!


                                        • 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.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f10332%2ffailed-to-initialize-storage-module-in-magento%23new-answer', 'question_page');
                                        }
                                        );

                                        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







                                        Popular posts from this blog

                                        What other Star Trek series did the main TNG cast show up in?

                                        Berlina muro

                                        Berlina aerponto