Fishcakes Exponent Installation

From Fishcakes Wiki

Jump to: navigation, search
Edit Menu

Image:Icon_Exponent_40px.png Fishcakes Exponent Installation

Notes on how Fishcakes Exponent Installation.


Contents

Fishcakes Exponent Installation

User Settings

  1. Login to Exponent CMS and goto Admin Control Panel > Configure Site > Edit.
  2. Set Default File Permissions to World Readable and Writable.
  3. Set Default Directory Permissions to World Readable and Writable. See also Forum: Image Upload Permission and Forum: Permissions Problems.
  4. Tick Use PHP mail() function.
  5. Set Title, Keywords and Description to suit the site.
  6. Change the Not Found error text (see below).
  7. Change the Access Denied error text (see below).
  8. Change the Session Expired error text (see below).
  9. Set Session Timout to 19600*5 for longer login.
  10. Set Date & Time formats. First upload Custom date/time files (see below). See also Forum: Editing Calendar Views.
  11. Install custom themes and remove unused ones.
  • FishcakesRev
  1. Install extra modules but don't remove unused ones until sure!
  • Bulletin Board
  • FAQ
  • Google Translation
  • Image Gallery with Lightbox
  • Keyword
  • Listings & Extended Listings
  • Page Displayer
  1. Goto Admin Control Panel > Configure Site > Edit.
  2. Change the Display Settings > Theme to FishcakesRev.
  3. Protect directories by editing .htaccess file and adding this code:
Options FollowSymLinks MultiViews

Content Not Found text

<div class="moduletitle">Content Not Found</div>
<p>
  The content you were looking for wasn't found on this
  site. It may have been deleted, or moved. If you're convinced
  it does exist, then the Search box above should help you find
  it.
</p>
<p>
  <a href="index.php" title="go to home page">&laquo; go to home page</a>
</p>

Access Denied text

<div class="moduletitle">Authorization Failed</div>
<p>
  You have tried to access a restricted area of this 
  website. You are not allowed to access this area or 
  perform this operation.
<p>

Session Expired text

<div class="moduletitle">Expired Login Session</div>
<p>
  Your session has expired because you were idle too
  long. Apologies for the inconvenience, but you will have
  to log back into the system to continue what you were
  doing.
</p>
<p>
  <a href="login.php" title="go to login page">&laquo; go to login page</a>.
</p>

Custom Date & Time Formats

/conf/data/                               (folder)
/conf/data/time_format.dropdown           (file)
/conf/data/datetime_format.dropdown       (file)
/conf/data/date_format.dropdown           (file)


Exponent Forum Posts

Posts made to the Exponent Forums to fix problems I've encountered.

Select a Page Error

Hi,

Did you ever manage to fix this problem? I'm getting an error when trying to use the HTML Text Editor's Insert/Modify Link function to Select a Page:

Not Acceptable:
An appropriate representation of the requested resource
/modules/navigationmodule/nav.php could not be found on this server.
Apache/1.3.37 Server at dansalmon.info Port 80

It works fine on my development site but on my live site I'm unable to use this feature. I've checked that all the files:

  • modules/nav.php
  • modules/navigationmodule/actions/linker.php
  • external/htmlarea/popups/section_linked.php

Everything seems to be in place and identical to my development environment.

Any ideas on what might be causing this problem?

Help greatly appreciated.

Cheers, Dan

  • Still no response...

Protecting Exponent Sub-directories

I'm running Exponent on a few sites and am concerned about anyone being able to view the contents of the various sub-directories, as this is the first place a hacker will go when looking to do mischief. I'd like to put an index.html file into each Exponent sub-directory with the redirect code:

   <HTML>
       <HEAD>
           <TITLE></TITLE>
       <META http-equiv=Refresh Content="0; Url=../">
       </HEAD>
   </HTML>

I've tried it on my development site and it seems to be ok, but before I do it to a live site I'd like to find out it's likely to cause any problems.

Any advice from more experinced Exponent users would be greatly appreciated.

Cheers

Reply from Cletus:

Hi Dan. Putting an index.html in each and every directory is not the proper way to solve this problem. This is a server config option that needs changed. You need to tell apache to NOT index directories. You can do this by editing your apache2.conf file and find the <Directory> entry that corresponds to your Exponent install directory. It should look something like this.

 <Directory /var/www/>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   allow from all
   # This directive allows us to have apache2's default start page
   # in /apache2-default/, but still have / go to the right place
   #RedirectMatch ^/$ /apache2-default/
 </Directory>

What you are going to do is remove the option for indexing . To do this change this line....

 Options Indexes FollowSymLinks MultiViews

...to look lik e this...

 Options FollowSymLinks MultiViews

If you are on a shared host you should be able to accomplish the same thing via a .htaccess file.

Hope this helps.

-Adam (cletus)

Image:Icon_Html_File_40px.png Fishcakes Wiki Reference File


Image:Icon Resources 20px.png Exponent CMS Resources

Official Exponent Resources


Unofficial Exponent Resources

MySQL Resources

PHP Resources


Personal tools