• 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.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

installation support

Status
Not open for further replies.
Check your file/folder permissions. If those are all correct, make sure you're using the right PHP version. :/ you're getting 500 error on everything after the main directory.
 
There are several issues with the static files. Just check this:

upload_2016-6-13_16-32-21.png

Usually this happens when you have a server that runs the webserver and your SFTP/FTP account under different groups. So what you upload via FTP is not accesible for the webserver. Is the most common reason, you should read this for more info about it: https://chevereto.com/community/thr...issues-update-images-logo-watermark-etc.4561/

If is not that, you will need to dig on your server error_log file, most likely is a permission issue.
 
thanks everyone.

I have spent my entire day in figuring out what must have been causing this issue. However, i couldn't find the exact reason. .🙁

  • Initially i though i must have set some kind of wrong access access privileges. To correct this, i have deleted the entire installation, cleaned up the data base and tried a fresh installation. It did not work
  • As per rodolfo above, i checked if teh web server and FTP accounts are at differnet group. i do not think, this could be the reason, since I have another xenforo website running in full swing without any issues. It uses same host (but different site account) and i have had zero issues with that.

upload_2016-6-13_18-40-11.png






  • Look at my installation screen , it is not even loading the logo

upload_2016-6-13_18-42-2.png



. Owner group and group information are same in file zilla

upload_2016-6-13_18-45-33.png
 
i have removed everything from the installation and ready go for another clean installation. Is there any way to check if the .htaccess is correct or not? infact my actual host name is http://cellarpix.nfshost.com/install
and i have added two aliase http://cellarpix.com/ and http://www.cellarpix.com/ . not sure, if this could be the culprit; nevertheless my other websites with similar set up perform extremely well without any issues... any help in this regard is highly appreciated..
 
update-

i found that the 'WEB' is the actual web user who needs the write permission

so i issued following commands on my shell command window (I do not have Cpanel hosting, but i have shared hosting and a conventional web interface) for all required folders. Still it's not working..

chgrp web /home/public/content

chmod g+w /home/public/content

see content and image owners are changed.

upload_2016-6-13_20-53-8.png


what surprises me the most is, i'm not able to browse this logo:

http://cellarpix.com/app/content/system/chevereto.png

and hitting on 500! This is the reson i'm inclined to think that it's an .htaccess issue
 
Last edited:
The error_log says:

Code:
/public/app/.htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

As you may notice 'Order' is not present in the root .htaccess file, so the problem is elsewhere. Most likely on the Apache configuration file.

Sadly I was unable to fix it for you. I couldn't locate your Apache configuration file (find command couldn't access to all dirs).
 
Well, this is what my hosting company replied:


There are a few incompatibilities between Apache 2.2 and 2.4. These are described in detail in the Apache 2.4 documentation.
http://httpd.apache.org/docs/2.4/upgrading.html

In most cases, the source of compatibility problems is an .htaccess file. If it is not compatible with Apache 2.4, it will cause your site to return "500 Internal Server Error."

To narrow down the specific cause, we recommend that you enable your site's error log in the member interface (if you haven't already). Once it is enabled, access the site a few times to exercise the error, and then the error_log file in your site's logs directory should point you directly to the problem.

The most common example comes from using the Order directive to restrict access to certain content. It has been completely removed from Apache 2.4, but is still very common in example files and configs distributed with many web applications that haven't been updated yet.

To update a 2.2 .htaccess file containing something like:

Code:
Order deny,allow
Deny from all

the 2.4 equivalent of both lines would be the single line:

Code:
Require all denied
to deny all access and:
Require all granted

to allow it.
Other 2.2-specific configuration directives that have changed in 2.4 can be similarly adapted. See the Apache documentation linked above for complete details.


now I can see that most of the .htaccess file in the script has following and this could be the reson behind hitting 500. Please advise, if this can be corrected.

Code:
<Files .*>
order allow,deny
deny from all
</Files>

SetHandler default-handler
 
amazing! you are the best!

Please let me know what all are the changes you made. So that in future, i wouldn't have to bug you if i have to make some changes...
 
Default .htaccess files for Chevereto have issues with Apache 2.4 (strict). 99% of Apache 2.4 setups use sort of a legacy mode which allow old rules to work without issues. In you case the old rules don't work, so this:

Code:
order allow,deny
deny from all

Must be changed to:
Code:
Require all denied

I must say that this is very odd. I've used Apache 2.4 for the last 3 years and never saw this. FYI one-click update (update from Chevereto's Dashboard) won't break your website. Manual update (you manually overriding system files) will trigger this error again. Try to always rely on the one-click update.
 
Status
Not open for further replies.
Back
Top