Closed grolimur closed 9 years ago
Hi
It comes from a misconfiguration of the /application/config/database.php file Check your parameters again
Thanks. I checked, fixed and then got an Error 403. I tried to changed the parameters in the .htaccess file as follow, but got an Server Error (500):
<VirtualHost *:81>
ServerName -- my host here --
DocumentRoot "www/readerself"
DirectoryIndex index.php
#### Apache 2.2 syntax
<Directory "www/readerself">
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
#### Apache 2.4 syntax
<Directory "www/readerself">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
What am I doing wrong ?
Do you have an access to Apache logs ? /var/log/apache2/error.log To see what happens?
Usually a 500 error means a problem with the .htaccess file (but I see you have "AllowOverride All")
Yes, I have access to the Apache log.
[Mon Sep 22 08:19:33 2014] [alert] [client XX.XXX.XXX.XX] /home/www/d3af2759598cc9f80ddcf0bbbc88320e/web/.htaccess: <VirtualHost not allowed here
I know it prevents Reader Self from working well, but I'm not sure what that exactly means.
I had not seen in your comment that you change .htaccess to define a VirtualHost You can't set a VirtualHost in this file :) First restore the original .htaccess file
Do you have already a site defined in Apache configuration ? Something like /etc/apache2/sites-enabled/000-default ? What is the DocumentRoot on this file or in apache2.conf ?
Did you try to access your default vhost and put a new folder inside with readerself ? http://localhost/readerself http://localhost:81/readerself
(If you want to use port 81, did you add it in ports.conf ?)
Hi,
Just a dumb question.
The error message is Unable to load the requested language file: language/english/db_lang.php
.
Could the problem be there is no 'english' folder as it's called 'en' ?
By the way, I restored the .htaccess file. And my entire website is online again. :)
It's not the problem The "english" value is the default setting in CodeIgniter
The folders are ok /application/language/en/ /system/language/en/
To solve this error you can get the last file /application/config/config.php (I changed to $config['language'] = 'en';)
After that you will see the real database error
Hi,
When I try to install Reader Self on a server I get this error: Unable to load the requested language file: language/english/db_lang.php
I can I fix that? Is it possible that it comes from a misconfiguration of the .htaccess file (VirtualHost / Directory) ?
Thanks for any help provded!