ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Elastix login page gives error HTTP ERROR 500 when login

    IT Discussion
    voip pbx freepbx elastix elastix 4 linux centos centos 7 httpd apache
    6
    24
    11.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gaurav BmotraG
      Gaurav Bmotra
      last edited by scottalanmiller

      Elastix login page gives error HTTP ERROR 500 when login

      in httpd logs it show

      [Thu Jun 09 14:24:31.005630 2016] [:error] [pid 4951] [client 203.134.216.114:23415] PHP Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/var/templates_c/wrt5759b45f015704_98867171 <-- \n thrown in /usr/share/php/Smarty/sysplugins/smarty_internal_write_file.php on line 46

      plz help ...

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        Which version of Elastix is this? 2.5? 4.0?

        And is this installed via RPM or from the ISO?

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          What user is httpd running as?

          Gaurav BmotraG 1 Reply Last reply Reply Quote 0
          • Gaurav BmotraG
            Gaurav Bmotra
            last edited by

            Elastix 4.0
            and i m using iso file to install

            1 Reply Last reply Reply Quote 0
            • Gaurav BmotraG
              Gaurav Bmotra @scottalanmiller
              last edited by

              @scottalanmiller
              user apache

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by scottalanmiller

                Before we put in a lot of time diagnosing this, Elastix 4.0 has a number of issues (not show stoppers, but issues) and the general consensus is to run FreePBX instead. They are very similar but FreePBX is more mature, more stable and has tons more people using it. Is that an option? If this is a fresh install, I would just switch right now and have the issue completely bypassed. Elastix 4 is a fine choice, but FreePBX is the better one as things stand today.

                That would fix this issue AND maybe some others all at once. I'd had to put in a lot of time trying to fix this and only THEN have the discussion that FreePBX is probably the better option for a new deployment.

                Gaurav BmotraG 1 Reply Last reply Reply Quote 0
                • Gaurav BmotraG
                  Gaurav Bmotra @scottalanmiller
                  last edited by

                  @scottalanmiller

                  can i install Freepbx on same ?? whre i have install Elastix

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • Gaurav BmotraG
                    Gaurav Bmotra
                    last edited by Gaurav Bmotra

                    https://xxx.xxx.xxx.xxx/admin/

                    it gives this with out enter how can authorizes myself to acces freePBX??


                    Unauthorized

                    You are not authorized to access this page.
                    Enable direct access (Non-embedded) to FreePBX® in "Security >> Advanced Security Settings" menu.
                    (FreePBX® is a Registered Trademark of Schmooze Com, Inc.)

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Gaurav Bmotra
                      last edited by

                      @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                      @scottalanmiller

                      can i install Freepbx on same ?? whre i have install Elastix

                      Just, just install directly over it. I've done several installs recently. Probably takes about ten minutes.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Here is the FreePBX download link...

                        https://www.freepbx.org/downloads/freepbx-distro/

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Gaurav Bmotra
                          last edited by

                          @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                          https://xxx.xxx.xxx.xxx/admin/

                          it gives this with out enter how can authorizes myself to acces freePBX??


                          Unauthorized

                          You are not authorized to access this page.
                          Enable direct access (Non-embedded) to FreePBX® in "Security >> Advanced Security Settings" menu.
                          (FreePBX® is a Registered Trademark of Schmooze Com, Inc.)

                          Did you go through the steps that it forced you to do on the local console after the first reboot? That should be where that gets set.

                          1 Reply Last reply Reply Quote 0
                          • Gaurav BmotraG
                            Gaurav Bmotra
                            last edited by Gaurav Bmotra

                            i have virtual server on cloud with centos 7 where i have already install Elastix ,,can i overide Freepbx to it ,, ?

                            if yes ,,, how ??

                            JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @Gaurav Bmotra
                              last edited by

                              @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                              i have virtual server on cloud with centos 7 where i have already install Elastix ,,can i overide Freepbx to it ,, ?

                              if yes ,,, how ??

                              You need to install FreePBX from the ISO in a clean manner.

                              Delete your current instance, spin up a new instance and install from the FreePBX ISO.

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Gaurav Bmotra
                                last edited by

                                @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                                i have virtual server on cloud with centos 7 where i have already install Elastix ,,can i overide Freepbx to it ,, ?

                                if yes ,,, how ??

                                If you install from ISO, it overwrites everything. You did an ISO install to a cloud service that has CentOS 7 already there? That would overwrite CentOS 7.

                                1 Reply Last reply Reply Quote 0
                                • Gaurav BmotraG
                                  Gaurav Bmotra
                                  last edited by

                                  after mounting the iso image wich directory have the files where to run
                                  for i in $(ls); do yum -y install $i; done

                                  ??

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Gaurav Bmotra
                                    last edited by

                                    @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                                    after mounting the iso image wich directory have the files where to run
                                    for i in $(ls); do yum -y install $i; done

                                    ??

                                    To do an ISO install you BOOT from the ISO. If you didn't boot from the ISO for Elastix 4 then you didn't do an ISO install but did an RPM install which explains the problems and that's why I asked in the first place. RPM installs have a lot of complications.

                                    1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      If you are doing Elastix 4 from RPM, here are the instructions: http://mangolassi.it/topic/6242/building-elastix-4-via-rpm-repo

                                      But we recommend FreePBX.

                                      1 Reply Last reply Reply Quote 0
                                      • Gaurav BmotraG
                                        Gaurav Bmotra
                                        last edited by

                                        do you have the RPM installation tutorial ??

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @Gaurav Bmotra
                                          last edited by

                                          @Gaurav-Bmotra said in Elastix login page gives error HTTP ERROR 500 when login:

                                          do you have the RPM installation tutorial ??

                                          I linked it one post above the question 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            denny
                                            last edited by denny

                                            1. Open port 443
                                              iptables -I INPUT -s your_network -p tcp --dport 443 -j ACCEPT

                                            🙂

                                            travisdh1T dbeatoD 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post