• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Blank page

Status
Not open for further replies.
Code:
# Disable server signature
#ServerSignature Off
 
# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks
 
# Turn on mod_rewrite
RewriteEngine On
 
# If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
# You will also have to change the path to reflect the path to your Chevereto installation
#RewriteBase /chevereto
 
# The /api rewrite
RewriteRule ^img2/([a-zA-Z0-9_-]+\.)(jpg|png|gif)$ img2/old/$1$2 [L] #legacy images
RewriteRule ^img2/thumbs/([a-zA-Z0-9_-]+\.)(jpg|png|gif)$ img2/old/$1th.$2 [L] #legacy thumbs
RewriteRule ^api$ api.php [L]
 
# If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
# Make sure to apply the correct paths to reflect your current installation
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/system/img/404.gif [NC,L]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.([a-z]{1,4})$ [NC]
RewriteRule . index.php [L]
 
I don't believe that his is a .htaccess error, this is your error:
Parse error: syntax error, unexpected '&', expecting ']' in includes/config.php on line 46
 
Here is line 46
Code:
$config[&# Set on/off the minify mode. If you turn on minify_files (true) the system will use the minified version of the

EDIT: Checking against a fresh config.php I see the current is missing information. I'll update and it should fix it 🙂

EDIT: That fixed it. Advise, don't stay up till 3am editing php files.
 
Status
Not open for further replies.
Back
Top