Site on live server goes to 'start' and with an error

edited March 2018 in Installation
I have a working site on my local machine.

I uploaded everything to the live server but on the live server it redirects to mysite/start and I get this error:
The page isn’t redirecting properly

Why is that?

Comments

  • Do you have a working .htaccess file?
    Check the server logs, you might get more clues about what the web server service is complaining about
  • edited 5:45AM
    This is my htaccess:
    Options +FollowSymLinks


    RewriteEngine On
    RewriteBase /


    Order Deny,Allow
    Deny From All


    # Allow asset folders through
    RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L]

    # Protect application and system files from being viewed
    RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L]


    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule .* index.php/$0 [L]

    # Prevents access to dot files (.git, .htaccess) - security.
    RewriteCond %{SCRIPT_FILENAME} -d
    RewriteCond %{SCRIPT_FILENAME} -f
    RewriteRule "(^|/)\." - [F]


    Options -Indexes

    The error:
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    I don't see anything on the server's logs from today.

    I'm waiting to hear from my host if rewrite_mod is on.
  • edited 5:45AM
    I got confirmation that rewrite mod is on. I still have the same problem. Please can someone help?
  • edited 5:45AM
    If I disable htaccess and change the config['index_page'] to index.php I get page not found.
  • edited 5:45AM
    I found out that for some reason the index.php in the root folder was wrong. I uploaded it again, now I just get a blank page.

    I checked the php version, it was 5.6, changed it to 7, deleted the fuel folder and uploaded it again.

    Now I just get a blank page
  • edited 5:45AM
    I enabled errors and I get this:
    Type: RuntimeException

    Message: Unable to locate the model you have specified: Forms_model

    Filename: /home/noahscheeseco/public_html/fuel/codeigniter/core/Loader.php

    Line Number: 348

    But the forms_model is in the fuel/modules folder

    I changed the file name to: Forms_model, now I get this error:
    Message: require_once(/home/noahscheeseco/public_html/fuel/application/../../fuel/modules/fuel/models/base_module_model.php): failed to open stream: No such file or directory

    Filename: models/Forms_model.php

    Line Number: 3

    But the file exists
  • edited 5:45AM
    I removed the 'forms' from
    $config['modules_allowed'] = array(
    'user_guide',

    And now it works but I would like to know how to solve the problem if I do want to use the 'forms' module
  • edited 5:45AM
    Is the file name for the Forms_model actually lowercase "forms_model"? If so, that may be an older version of the module which requires an upgrade to be compatible with the newer versions of CodeIgniter.
Sign In or Register to comment.