Elxis CMS Forum
Support => Installation => Topic started by: Blacksoll on April 14, 2008, 07:45:08
-
PHP: database(/home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/../configuration.php): failed to open stream: No such file or directory
uri: index.php
path:
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/database.php, line 165
PHP: database(): Failed opening '/home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/../configuration.php' for inclusion (include_path='.:/usr/share/pear')
uri: index.php
path:
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/database.php, line 165
PHP: database(/home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/../offline.php): failed to open stream: No such file or directory
uri: index.php
path:
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/database.php, line 166
PHP: database(): Failed opening '/home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/../offline.php' for inclusion (include_path='.:/usr/share/pear')
uri: index.php
path:
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/httpd/vhosts/mysite.gr/httpdocs/demo/includes/Core/database.php, line 166
-
When you installed Elxis you should create a configuration.php file having as content the data it show you in a text area. Now there is no such file and Elxis can not initialize.
-
But there is a configuration.php file and an offline.php...........
I have opened them in text editor and i cant find a mistake.
-
But there is a configuration.php file and an offline.php...........
Maybe your looking at configuration.php-dist ???
-
No,i have double tsek it..........
-
If there is a configuration.php file then:
1. make sure you have deleted the installation/ folder
2. Open the configuration.php with a text editor and check these parameters if they have been set correctly:
$mosConfig_absolute_path = '/home/httpd/vhosts/mysite.gr/httpdocs/demo';
$mosConfig_cachepath = '/home/httpd/vhosts/mysite.gr/httpdocs/demo/cache';
$mosConfig_live_site = 'http://www.mysite.gr/demo';
is your domain mysite.gr?
-
One more thing... check your httpdocs directory permissions
-
configuration.php checked and o.k.
Permisions all set to 777.
I have tryed a fresh install at burnertech.eu but the same problem again....
Here is my configuration.php file :
<?php
$mosConfig_offline = '0';
$mosConfig_host = 'localhost';
$mosConfig_user = '******';
$mosConfig_password = '*******';
$mosConfig_db = 'elxis';
$mosConfig_dbprefix = 'elx_';
$mosConfig_dbtype = 'postgres7';
$mosConfig_lang = 'english';
$mosConfig_pub_langs = 'english,greek';
$mosConfig_alang = 'english';
$mosConfig_absolute_path = '/home/httpd/vhosts/burnertech.eu/httpdocs';
$mosConfig_live_site = 'http://burnertech.eu';
$mosConfig_sitename = 'BurnerTech';
$mosConfig_shownoauth = '0';
$mosConfig_useractivation = '1';
$mosConfig_uniquemail = '1';
$mosConfig_offline_message = 'Αυτός ο ιστότοπος είναι προσωρινά εκτός για λόγους συντήρησης.<br />Παρακαλούμε δοκιμάστε ξανά σε λίγο.';
$mosConfig_error_message = 'Αυτός ο ιστότοπος είναι προσωρινά μη διαθέσιμος.<br />Παρακαλούμε ειδοποιήστε το διαχειριστή του συστήματος';
$mosConfig_debug = '0';
$mosConfig_lifetime = '900';
$mosConfig_MetaDesc = 'elxis - Open Source CMS';
$mosConfig_MetaKeys = 'elxis cms, open source, multilingual, free cms, content managment, rtl compatible, web standards, elxis.org, adodb, xhtml valid';
$mosConfig_MetaTitle = '1';
$mosConfig_MetaAuthor = '1';
$mosConfig_locale = '';
$mosConfig_offset = '0';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hideRtf = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hideEmail = '0';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_sef = '0';
$mosConfig_vote = '0';
$mosConfig_gzip = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_link_titles = '0';
$mosConfig_error_reporting = -1;
$mosConfig_register_globals = 0;
$mosConfig_list_limit = '20';
$mosConfig_caching = '0';
$mosConfig_cachepath = '/home/httpd/vhosts/burnertech.eu/httpdocs/cache';
$mosConfig_cachetime = '1200';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'info@burnertech.gr';
$mosConfig_fromname = 'BurnerTech';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_smtpauth = '0';
$mosConfig_smtpuser = '';
$mosConfig_smtppass = '';
$mosConfig_smtphost = 'localhost';
$mosConfig_back_button = '0';
$mosConfig_item_navigation = '1';
$mosConfig_secret = 'k0APEvxHRbVY6KhK';
$mosConfig_pagetitles = '1';
$mosConfig_readmore = '1';
$mosConfig_hits = '1';
$mosConfig_icons = '1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_dirperms = '';
$mosConfig_helpurl = '';
$mosConfig_ftp = '0';
$mosConfig_ftp_host = '';
$mosConfig_ftp_user = '';
$mosConfig_ftp_pass = '';
$mosConfig_ftp_port = '21';
$mosConfig_ftp_root = '';
$mosConfig_access = '1';
$mosConfig_captcha = '1';
?>
-
The problem it shows you it is irrelevant with the real problem. The real problem is that Elxis can not login to your database. Please check again if the parameters bellow are correct:
$mosConfig_host = 'localhost';
$mosConfig_user = '******';
$mosConfig_password = '*******';
$mosConfig_db = 'elxis';
$mosConfig_dbtype = 'postgres7';
If you use strange characters in username or password this might be the problem (although you successfully installed elxis...)
-
Again everything checked.....No strange characters....just numbers
I have checked the database and all tables where there.So why not connect....They where created with the same parameters.
Even thought my phpPgAdmin,says : PostgreSQL 7.3.9-RH running on :5432
-
If you wish send me username/password/host for your FTP to check it by myself. I can not help you more from here, needs investigation and debug.
-
If you wish send me username/password/host for your FTP to check it by myself. I can not help you more from here, needs investigation and debug.
I have sent you a pm...Thanks !
-
Check your messages!
For all the others
The problem was that postgreSQL database reached the maximum number of connections with error message:
Unable to connect to PostgreSQL server: FATAL: Non-superuser connection limit exceeded
Maybe this is because of a high loaded server or a server misconfiguration. Some times it gets connected to the database, some others not, depending to the number of the other pg connections on the server.
Solution: increase pg max connections limit or use a super-user pg account (not recommended) or use mysql or change host.
-
Thanks....You gyes here Rock.....
Keep up the good work ;)
Long live ELXIS and i hope to use it for a long,long time.....