Roundcube Community Forum

 

Error 500 not database

Started by itvalentino, September 25, 2006, 05:25:07 PM

Previous topic - Next topic

itvalentino

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.

bpat1434

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.
 
 

itvalentino

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!