SocialEngine 4: AP not loading correctly

Andrew - SocialEngine

Do you have an issue loading your Admin Panel?

Do you have a web address like : http://www.mysite.com/index.php?/admin/ and when you try to access your Package Manager the site crashes as your url is now : http://www.mysite.com/admin/

This issue is caused due to a change within the .HTACCESS file on your root folder (Location where SE is installed). This change may have happened by accident if you have added any mods to the .HTACCESS file but a lot of the time it can be caused SE itself not setting it correctly.

To fix this, add the following code to you current .HTACCESS file:

<IfModule mod_rewrite.c>
  Options +FollowSymLinks
  RewriteEngine On

  # Get rid of index.php
  RewriteCond %{REQUEST_URI} /index\.php
  RewriteRule (.*) index.php?rewrite=2 [L,QSA]

  # Rewrite all directory-looking urls
  RewriteCond %{REQUEST_URI} /$
  RewriteRule (.*) index.php?rewrite=1 [L,QSA]

  # Try to route missing files
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} public\/ [OR]
  RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png|ico|flv|htm|html|php|css|js)$
  RewriteRule . - [L]
 
  # If the file doesn't exist, rewrite to index
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

</IfModule>

# sends requests /index.php/path/to/module/ to "index.php"
# AcceptPathInfo On

# @todo This may not be effective in some cases
FileETag Size

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule>

Save and upload overwriting the old version to your SE root folder and all the issues should now be fixed.

Also make a backup of any documents changed in-case the changes don’t work correctly you can always revert back.

 Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting

Tags: , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *