Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:50 am EST

Geeklog Forums

Another install problem


Anonymous

Anonymous
Hi 8) After having configured config.php and lib-common.php, I have the following error : Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/data/village/oliwer/myprogs_levillage_org/www/config.php) is not within the allowed path(s): (../../) in /data/village/oliwer/myprogs_levillage_org/www/public_html/admin/install/install.php on line 79 What can I do ? Have I to modify install.php ?
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
When you list paths in php, you must start at the root. If /data represents the root, then it's okay. If it doesn't, you need to adjust your paths. Make sure your config.php is actually located under: /data/village/oliwer/myprogs_levillage_org/www/. If it is, also check what acceptable paths your server allows under openbase_dir. You may have to add this one. On my server, I can list a file's path a couple ways one of which includes the domain name. I've noticed under openbase_dir, check.php will always fail when verifying the permissions on the articles and userphotos image directories if I use the domain name in paths, but it passes just fine when I use the other way. I'm far from being an expert on openbase_dir but maybe some of this might give you ideas on where your problem lies.
 Quote

All times are EST. The time is now 12:50 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content