Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
PHP Fatal error
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP Fatal error (Read 9028 times)
ccabman
Newbie
Posts: 2
PHP Fatal error
«
on:
June 30, 2007, 23:30:26 »
when I call
www.mydomaim.com
I get this
" Fatal error: main() [function.require]: Failed opening required 'includes/Core/security.php' (include_path='.:/usr/local/lib/php') in /homepages/18/XXXXXXX/htdocs/cms/index.php on line 12 "
I can go to
www.mydomaim.com/installation/
and run the installer just fine.
I get the same error when I go back to
www.mydomaim.com
please help!
«
Last Edit: July 01, 2007, 04:02:47 by ccabman
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: PHP Fatal error
«
Reply #1 on:
July 01, 2007, 09:00:07 »
1. Check if this is the real path to your elxis root ( what is the XXXXXXX? Is it OK? ):
/homepages/18/
XXXXXXX
/htdocs/cms/
2. Remove/Rename the /installation directory after install.
3. Check that the configuration.php file was created in your elxis root folder.
4. Check that the file /includes/Core/security.php exists
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ccabman
Newbie
Posts: 2
Re: PHP Fatal error
«
Reply #2 on:
July 01, 2007, 10:30:13 »
#1. XXXXXXX is my user name from my hosting company. I did not want to give it out. so #1 is fine
#2. Did that, and there is no change.
#3. The configuration.php file is there with all of my settings from the installer.
#4. /includes/Core/security.php dose exists. and I tried all the different cmod settings. I get the same error.
Hmmm...
I use
http://www.1and1.com/?k_id=9956978
for my hosting company maybe they are the the problem.
I don't know?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: PHP Fatal error
«
Reply #3 on:
July 01, 2007, 10:55:02 »
Do this:
Open index.php
add in the top of the file:
$elxroot = dirname(__FILE__);
replace this:
require_once( 'includes/Core/security.php' );
with this:
require_once( $elxroot.'/includes/Core/security.php' );
replace this:
if ( !file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10 ) {
header( 'Location: installation/index.php' );
exit();
}
include_once( 'globals.php' );
require_once( 'configuration.php' );
with this:
if ( !file_exists( $elxroot.'/configuration.php' ) || filesize( $elxroot.'/configuration.php' ) < 10 ) {
header( 'Location: installation/index.php' );
exit();
}
include_once( $elxroot.'/globals.php' );
require_once( $elxroot.'/configuration.php' );
Tell me if the problem solved.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
PHP Fatal error