Author Topic: include configuration issues  (Read 5959 times)

Offline littlebluepixle

  • Newbie
  • *
  • Posts: 1
include configuration issues
« on: January 04, 2010, 12:18:35 AM »
Hi,

Just wanted to post about an issue I had when making some changes to my main.inc.php file.

I had created two new host specific configurations and created an array in the mail.inc file to point to one of these based on the host header the user comes in from. When I attempted to log in to the site I was show the following;

Warning: include(config/.inc.php) [function.include]: failed to open stream: No such file or directory in /usr/share/roundcube/program/include/main.inc on line 176

After much searching and lots of talk about php5 configurations being and not being the issue, merge-array syntax not being correct and quite a few sites showing the same error, I checked the permissions on the new files I created.

Moral of the story. Make sure you have execute permissions enabled for your configuration files so the main.inc reference will work.

Cheers.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,878
    • SKaero - Custom Roundcube development