Success install. 500 error on Admin
  • I installed Newscoop without errors on shared host.. But when I try to go to admin area, I get the 500 error.

    Here is my htaccess file

    # There might be no access to apache config, set options here
     DirectoryIndex index.php index.html
     Options -Indexes FollowSymLinks -MultiViews

    AddType video/ogg .ogm
    AddType video/ogg .ogv
    AddType audio/ogg .ogg
    AddType video/mp4 .mp4
    AddType video/webm .webm

    # Options might not allowed here, use Rewrite rules instead
    <IfModule mod_rewrite.c>
        RewriteEngine On

        RewriteCond %{REQUEST_URI} /+get_img$
        RewriteRule . get_img.php [L]

        RewriteCond %{REQUEST_URI} /+attachment/+
        RewriteRule . attachment.php [L]

        RewriteCond %{REQUEST_URI} /+images/+cache
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule . index.php [L]

        RewriteCond %{REQUEST_URI} !\.php$
        RewriteCond %{REQUEST_URI} !\.html$
        RewriteCond %{REQUEST_URI} !\.css$
        RewriteCond %{REQUEST_URI} !\.js$
        RewriteCond %{REQUEST_URI} !\.ico$
        RewriteCond %{REQUEST_URI} !/+admin
        RewriteCond %{REQUEST_URI} !/+install
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+js
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+css
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+images
        RewriteCond %{REQUEST_URI} !/+themes
        RewriteCond %{REQUEST_URI} !/+videos
        RewriteCond %{REQUEST_URI} !/+pdf
        RewriteCond %{REQUEST_URI} !/+images/+cache
        RewriteRule . index.php [L]

        RewriteCond %{REQUEST_URI} .tpl$
        RewriteRule . index.php [L]

      #  RewriteCond %{REQUEST_URI} /+admin$|/+admin/+.*|/+admin-files
        RewriteRule . admin.php [L]
    </IfModule>

    # Uncomment it for gui backup/restore process
    # NOTE: It can be incompatible on some shared hosting
    #php_value output_buffering Off




    What can be wrong?? I cant see any errors either in cPanel
  • 7 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you should check apache error log
  • When I click the "Error Log" in Cpanel. No errors displays
  • This is the admin area : http://newscoop.roganett.com/test/admin/

    But when I see on file structure... Nothing like this is here  there are /admin-files and /admin-styles


  • Anyone?
  • I think it's something in the htaccess. So try to rename htacces to something else e.g. .htaccess-backup and refresh your site.
  • Reply to @janerikhiim:
    Hi, make sure the Apache server is configure to read .htaccess files, and make sure the file name is .htaccess.

    Newscoop package contains an htaccess file, which is renamed during installation time to .htaccess. In some setups for some reason this doesn't happen, and leads to a similar problem you are describing.

    All Best,
  • Hi. janerikhiim pls check configuration of the virtual host, <Directory> section. To read Apache htaccess files, AllowOverride must be equal All.

     <Directory /usr/local/www/******>
            AllowOverride All
            .......
        </Directory>

    After restarting apache u can login to adminpanel :)
    Post edited by Ruslan Shilov at 2012-11-05 05:45:36