Jump to content
Proiyke

Courier-Deprixa-Pro-v3.2.6.2-Integrated-Web-System Issues

Recommended Posts

I get this response when I try to install Download Courier Deprixa Pro v3.2.6.2 – Integrated Web System on my website;

Warning: Cannot modify header information - headers already sent by (output started at /home/speedora/public_html/Tracking/setup/index.php:68) in /home/speedora/public_html/Tracking/setup/index.php on line 71.

Please I really need help with this

Share this post


Link to post
Share on other sites

This is the code;

  <!--  contents area start  -->
    <div class="row">
        <div class="col-md-12">
         <hr>
            <div class="table-responsive">
                <div class="">
                    <div class="col-lg-12 col-md-12">
                    <?php
                        if (!file_exists("../lib/config.ini.php")) {
                              if (file_exists("install.php")) {
                                  header("Location: install.php");
                              } else {
                                  die("<div style='text-align:center'>" 
                                      . "<span style='padding: 5px; border: 1px solid #999; background-color:#EFEFEF;" 
                                      . "font-family: Verdana; font-size: 11px; margin-left:auto; margin-right:auto; display:inline-block'>" 
                                      . "<b>Attention:</b>The configuration file is missing and a new installation cannot be started because the install file cannot be located</span></div>");
                              }
                          } elseif (file_exists("update.php")) {
                              header("Location: update.php");
                          } else {
                              die("<div class='alert alert-warning'>" 
                                  . "<button type='button' class='close' data-dismiss='alert' aria-label='Close'> <span aria-hidden='true'>&times;</span> </button>" 
                                  . "<h3 class='text-warning'><i class='fa fa-exclamation-triangle'></i> Warning</h3> <b>Attention:</b> The file config.ini.php already exists!<br>If you want to reinstall Advanced Login System you must first delete the config.ini.php</div>");
                          }
                    ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--  contents area end  -->
</div>

Share this post


Link to post
Share on other sites

You cannot send headers when anything has already been output.

You need to reorganize your code so that the php processing precedes the html output.

Share this post


Link to post
Share on other sites

Barand, 

Please can you help me reorganise it, I'm so confused here. I tried it on local host and it worked fine 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.