• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Error page line123 on loader.php

Status
Not open for further replies.

mysta11

Chevereto Member
Dear Mr. Rodolfo

Today, i checked and saw that my website is error with below log:

[Fri Oct 31 10:30:22 2014] [error] [client 180.93.140.73] PHP Parse error: syntax error, unexpected '[' in /home/mysta11/public_html/app/loader.php on line 123

Can you help me to resolve or explain this issue.

Now, my website could not access (http://anhso.info)
 
That is because you overwrote the default .htaccess file. Always keep this in mind:

Update from 3.X (Arvixe)
The update procedure is exactly the same but unless is explicitly mentioned do not change the root.htaccess file. If somehow you replaced this file make sure to have this line of code at the very top of the file:

AddHandler application/x-httpd-php54 .php54 .php

Source: https://chevereto.com/docs/update-guide#from-3x-arvixe
 
there is content of my website's htaccess

# Disable server signature
ServerSignature Off

# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks

<IfModule mod_rewrite.c>

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
# If you are using alias is most likely that you will need this.
#RewriteBase /

# 404 images
# 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) - [NC,L,R=404]
#RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/404.gif [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
RewriteRule . index.php [L]

</IfModule>
AddHandler application/x-httpd-php54 .php54 .php

I believe that i follow your procedure and this line alway in my file. there have more solution?
 
Read closely... "..make sure to have this line of code at the very top of the file"
 
Status
Not open for further replies.
Back
Top