Hello,
last week I tried to install eFiction5, but I encountered some errors. First of all, I have to say that my site is hosted in some sort of "limited" host site (Altervista), so I don't have full access on directories or on htaccess.
I download the installer project from GitHub and copied all files and folders on my site root folder, then I try to open "index.php", but I get a 500 error:
Internal Server Error
realpath(): open_basedir restriction in effect. File(/var/www/html) is not within the allowed path(s): (/membri/heartbreakerz/:/membri2/heartbreakerz/:/membri/.dummy/)
I supposed that the installer tries to write something on those folder, but I don't have write permission and so it raise an exception.
Am I doing something wrong? Are there any other steps I should do before opening "index.php" (if it is the correct step, of course)?
Thanks,
Simona
Thank you very much for your reply, you are really kind! Unfortunately, un-commenting that line on htaccess didin't work.
As for now, my htaccess looks like this:
# Enable rewrite engine and route requests to framework
RewriteEngine On
# Some servers require you to specify the `RewriteBase` directive
# In such cases, it should be the path (relative to the document root)
# containing this .htaccess file
#
RewriteBase "/"
RewriteRule ^(tmp)/|.ini$ - [R=404]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# # av:php5-engine
AddHandler av-php56 .php
On my root folder, I have the following folders: cfg, inc, lib, ui_en. I don't have any folder related to fresh install or upgrade install, is it normal?
Entering the cfg folder, I have a config.ini file that looks like this:
[globals]
DEBUG = 2
UI = ui_en/
CACHE = FALSE
STRICT = TRUE
AUTOLOAD = "./inc/"
[routes]
;Landing page
GET @upgrade: /upgrade = upgrade->base
GET /fresh = installer->base
;upgrade config
GET @config: /upgrade/config = upgrade->config
POST /upgrade/config = upgrade->saveConfig
;fresh config
GET @freshconfig: /fresh/config = installer->config
POST /fresh/config = installer->saveConfig
;chapter storage
GET /upgrade/chapters/@where = upgrade->storage
GET /fresh/chapters/@where = installer->storage
;actual upgrade steps
GET /upgrade/steps/@step = upgrade->steps
GET /upgrade/steps/@step/@sub = upgrade->steps
GET /fresh/steps/@step = installer->steps
GET /fresh/steps/@step/@sub = installer->steps
I think I edited the "strict" value, hoping to have more information about the error, but I can't remember. Is there anything on this configuration I need to edit?
Thanks again,
Simona
Thank you very much for your reply! Updating the library didn't help, but I made a step forward.
At the beginning of lib/base.php, I added the following line:
$_SERVER['DOCUMENT_ROOT'] = '/membri/heartbreakerz/';
The previous error disappeared, but now I have this one:
Internal Server Error
Fatal error: Unknown: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/membri:/membri2)
Unfortunately, it seems somewhat related to the other one. My .htaccess is on the root folder (that should be "membri/heartbreakerz").
Any idea? :sad1:
Thanks,
Simona
Here you are: *removed from public eyes* (I feel dumb, but I didn't find the attachment button in the "Post reply" section... :oops:).
Thanks again for your help!
Simona
You are really kind, thanks for all your effort! I'll check the link you gave me, hoping to find a solution.
If I won't solve it, I'll think about migrating on other hosting site (I chose Altervista because it's free :down:).
I'm glad that, after all, the whole situation brought to you some positive side notes: a blessing in disguise :biggrin:
I'll let you know if I manage to solve the situation :happy:
Thanks,
Simona
