Getting started

The following requirements are necessary to get Redaxscript running:

Requirements

  • Apache or Microsoft IIS
  • MySQL 5.0 database
  • PHP version 4.3.0 or above

Optional

  • Apache module mod_rewrite and mod_deflate
  • Permission to .htaccess
Need a compatible web host? PHP and MySQL supporting web hosting plans are most likely to support this requirements.

Installation

Wizard

1. Download and unpack the latest Redaxscript package to a local folder.

2. Upload all files to your website.

3. Grant write permission on config.php by setting chmod to 666.

4. Execute install.php and follow the instructions.

5. Revoke write permissions on config.php by setting chmod to 444.

6. Delete install.php from your website!

7. Have fun.

Alternate

1. Download and unpack the latest Redaxscript and SQL package to a local folder.

2. Upload needed files, except install.php, to your website.

3. Login to your database and import the SQL file.

4. Edit the config.php to setup your database connection:

  • $r['host'] = 'localhost';
  • $r['name'] = 'name';
  • $r['user'] = 'user';
  • $r['password'] = 'password';
  • $r['prefix'] = '';

5. Login to administration with user and password: admin

6. Have fun.

Troubleshooting

Rewrite error

Problem: Home works but other sections return an error.

Solution 1: Setup the rewritebase in your .htaccess:

Syntax: rewritebase /path

Solution 2: Setup the allowoverride in your .htaccess.

Syntax: allowoverride fileinfo

Solution 3: Remove .htaccess and Redaxscript will fall back to string mode.

Fatal error

Problem: Instead of seeing what you expected you get a blank screen.

Solution 1: Verify your server provides PHP 4.3.0 or above.

Solution 2: Edit index.php and post the error reporting to the Google group.

Syntax: error_reporting(-1);

Charset error

Problem: Special characters are not displayed correctly.

Solution: Setup the adddefaultcharset in your .htaccess:

Syntax: adddefaultcharset utf-8

Session error

Problem: Your session cannot be started or expires frequently.

Solution: Setup another session path in your .htaccess:

Syntax: session.save_path /sessions