Warning: Failed opening './include/config.php' for ...

K

kresek

Guest
hi

i need help with it:

Warning: Failed opening './include/config.php' for inclusion (include_path='.:/usr/share/pear') in /home/www/server/movies/install.php on line 34

Fatal error: Cannot instantiate non-existent class: simplelogin in /home/www/server/movies/include/common_start.php on line 42


all paths to DaDaBIK files appear to be correct
i don't know what to do :-(

---
kresek
 
D

Debbie S

Guest
kresek

Is your site URL set as the full "http://www.site.com/dadabik-dir/" format? What other settings/paths did you set in config.php?

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
D

Debbie S

Guest
kresek

You could also try posting the files up to the server again (make sure you transfer as ASCII).

I just found some information at php.net regarding FileDiscripter limits on servers >>> http://bugs.php.net/bug.php?id=18244. This may or may not help.

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
K

kresek

Guest
my config.php:

$host = 'localhost';
$db_name = 'movies';
$user = 'root';
$pass = 'jskimdl';
$site_url = 'http://xxx.xxx.xxx.xxx/server/movies/';

xxx.xxx.xxx.xxx <- my ip

the rest i left this option as was
 
D

Debbie S

Guest
kresek

I'm not really sure what to suggest at this point. If your DaDaBIK installation is supposed to be part of your web site, and your web site is located at http://xxx.xxx.xxx.xxx/server/, then I don't know why the installation is not finding the config.php file.

Can you send me a link (through private email) where I can view your site, the DaDaBIK files as you've configured them and a dump of your DB? I'll have a look and see where the problem might be.

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
D

Debbie S

Guest
kresek

Try this ...

In most of my installations on my work servers, I've set up the URL to DaDaBIK as relative to document root links:

// DaDaBIK complete url (e.g. http://www.mysite.com/path_to_dadabik/)
$site_url = '/dadabik-dir/';

I've done this because I work on one development site/server and two production servers which all have different IP addresses. This way I can test my DaDaBIK installations in all locations without having to worry about changing the site url in each location.

This kind of link tells the server to go to the document root and find the files from there. In your case, I'm not sure if the url would read '/movies/' or '/server/movies/' so you'd have to try each. This is a much cheaper solution if it works than getting a static IP.

Let me know if this helps at all.

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
D

Debbie S

Guest
Hannes & Kresek

The error message reported in the first post is an indication that PHP cannot FIND the file requested. Folders created on web servers are automatically made accessible unless changed by the user who created them.

There are no special permission requirements on the web server needed in order to run DaDaBIK since all the writing and creating is done within MySQL.

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
Top