Author Topic: Error 500 not database  (Read 4193 times)

Offline itvalentino

  • Newbie
  • *
  • Posts: 8
Error 500 not database
« on: September 25, 2006, 05:25:07 PM »
I'm not the only one with this problem.
After instaling (Cpanel X - linux Apache- php myadmin) I found this message (after deleting htacces):
"Warning: include_once(config/main.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/original/public_html/extromail/program/include/main.inc on line 43

Warning: include_once() [function.include]: Failed opening 'config/main.inc.php' for inclusion (include_path='/home/original/public_html/extromail/:/home/original/public_html/extromail/program:/home/original/public_html/extromail/program/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/original/public_html/extromail/program/include/main.inc on line 43

Warning: include_once(config/db.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/original/public_html/extromail/program/include/main.inc on line 52

Warning: include_once() [function.include]: Failed opening 'config/db.inc.php' for inclusion (include_path='/home/original/public_html/extromail/:/home/original/public_html/extromail/program:/home/original/public_html/extromail/program/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/original/public_html/extromail/program/include/main.inc on line 52

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/original/public_html/extromail/program/include/main.inc on line 53 "
Anyone could help ?????
I've tried for 2 nights.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Error 500 not database
« Reply #1 on: September 29, 2006, 10:25:19 PM »
Seems you need to add a trailing slash to the environment variables. Try changing this line:
ini_set('include_path'$INSTALL_PATH.PATH_SEPARATOR.$INSTALL_PATH.'program'.PATH_SEPARATOR.$INSTALL_PATH.'program/lib'.PATH_SEPARATOR.ini_get('include_path'));
to this
ini_set('include_path'$INSTALL_PATH.PATH_SEPARATOR.$INSTALL_PATH.'program/'.PATH_SEPARATOR.$INSTALL_PATH.'program/lib/'.PATH_SEPARATOR.ini_get('include_path'));
in index.php of the root folder in Roundcube.
 
  

Offline itvalentino

  • Newbie
  • *
  • Posts: 8
Re: Error 500 not database
« Reply #2 on: October 02, 2006, 08:39:36 AM »
I resolved.
It was from php.ini.
Now I have another problem .
When I try to see the attachments , I could see only images or text file.
If I try to download a zip archive and go with open , it opens the archive , but it's nothing there.
If I try to save it , the same.
Thank you!