I decided to try the Scripteen Image Hosting Script but only the homepage works, all other pages are giving me 404 not found errors.
I installed it in a img folder, i followed the instructions but i can't figure it out.
I uploaded the files through ftp, edited bootsrap.php and db.php, i imported the scripteen.sql database.
bootstrap.php:
.httaccess file contains:
LE: I moved the files to the root folder and now it works. Don't know why though.
I installed it in a img folder, i followed the instructions but i can't figure it out.
I uploaded the files through ftp, edited bootsrap.php and db.php, i imported the scripteen.sql database.
bootstrap.php:
Code:
define('SITE_URL', 'http://domain.tld/img');
.httaccess file contains:
Code:
# BEGIN Scripteen FREE Image Hosting Script<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# general catch-all
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1&%{QUERY_STRING} [L]
</IfModule>
# END
LE: I moved the files to the root folder and now it works. Don't know why though.
Last edited: