| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 4:15 pm Post subject: Re: Install Fatal Error |
|
now that i am in the IIS spacific forum, i am still having the same troubles as in the first post.
is it a problem with IIS?
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Nov 29, 2005 4:24 pm Post subject: Re: Install Fatal Error |
|
No it's a problem with how PHP is setup and a small glitch inside Dragonfly.
Find in cmsinit.inc
| PHP: |
ini_set('magic_quotes_sybase', 0);
|
replace with
| PHP: |
if (CAN_MOD_INI) ini_set('magic_quotes_sybase', 0);
|
Find
| PHP: |
require_once(BASEDIR.'config.php');
|
and delete the line
Find
| PHP: |
# we define our own error handler require_once(CORE_PATH.'classes/cpg_debugger.php');
|
replace with
| PHP: |
# we define our own error handler require_once(CORE_PATH.'classes/cpg_debugger.php'); require_once(BASEDIR.'config.php');
|
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 5:31 pm Post subject: Re: Install Fatal Error |
|
okey i have done that and now i get a similer error, but it fixed the first one
Fatal error: require_once() [function.require]: Failed opening required 'config.php' (include_path='c:\windows\php\includes') in C:\Inetpub\wwwroot\PNWRR\includes\cmsinit.inc on line 148
this one is on line 148 and the last error was on 147
frustrating
jason
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 5:38 pm Post subject: Re: Install Fatal Error |
|
in this file cmsinit.inc i deleted the line that you told me
i copied the area where i deleted that line, and identified line 148 for you. if i counted right.
} else {
require_once(BASEDIR.'includes/cpg_page.php');
$errorpage = cpg_header($title);
$errorpage .= "<center>$message</center>";
$errorpage .= cpg_footer();
if (isset($SESS)) $SESS->write_close();
die($errorpage);
}
}
if (file_exists('config.php')) {
require_once('config.php'); ------this is line 148-----
} else {
}
require_once(CORE_PATH.'db/db.php');
require_once(CORE_PATH.'classes/cpg_cache.php');
require_once(CORE_PATH.'classes/time.php');
require_once(CORE_PATH.'functions/linking.php');
if (!defined('XMLFEED') && !defined('INSTALL')) {
require_once(CORE_PATH.'functions/display.php');
require_once(CORE_PATH.'classes/cpg_member.php');
require_once(CORE_PATH.'classes/session.php');
require_once(CORE_PATH.'classes/template.php');
}
thank you for all your help so far, i appreceate it.
but i still have some issues to resolve
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Nov 29, 2005 5:45 pm Post subject: Re: Install Fatal Error |
|
My problem the above "find & replace" was based on a newer cmsinit.inc.
Delete around 148
| PHP: |
if (file_exists('config.php')) { require_once('config.php'); } else { }
|
So in a clean 9.0.6.1 delete the whole
| PHP: |
if (file_exists('config.php')) { require_once('config.php'); } else { require_once(BASEDIR.'config.php'); }
|
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 6:23 pm Post subject: Re: Install Fatal Error |
|
Mr DJmase, you did it. it works now. thank you so much
Jason
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 6:26 pm Post subject: Re: Install Fatal Error |
|
well i didnt get very far. clicked lets build the database
and got this error
Fatal error: require() [function.require]: Failed opening required 'includes/classes/installer.php' (include_path='c:\windows\php\includes') in C:\Inetpub\wwwroot\PNWRR\install\step1.php on line 161
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Nov 29, 2005 7:00 pm Post subject: Re: Install Fatal Error |
|
Open config.php and add a line at the bottom
| PHP: |
set_include_path(ini_get('include_path').PATH_SEPARATOR.C:InetpubwwwrootPNWRR);
|
If that doesn't work please ask the server admin to properly setup PHP.
This is because many add-on scripts and some scripts inside DF are not changed yet to use BASEDIR and CORE_PATH due to the fact that there are loads of them and that it isn't foolproof as of yet.
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
kd7tqn Newbie


Offline Joined: Sep 09, 2005 Posts: 26 Location: Auburn, Wa
|
Posted: Tue Nov 29, 2005 8:29 pm Post subject: Re: Install Fatal Error |
|
okey, i did that.
and it gave me this error.
Parse error: syntax error, unexpected $end in C:\Inetpub\wwwroot\PNWRR\config.php on line 194
line 194 is the one i just added at the end.
here is a edited copy of the config.php
the denied email domains are just above that
$DeniedReferers = array('unknown', 'bookmark', 'xxx', 'www.sex', 'customscoop', 'adminshops.', 'locators.com', 'southafrica2000.com');
$sitekey = '+L.D#V^k.9xWBsY{LpL0Or5z(4Mex3l^c-)cV4zQVh4NpZtT!V&^)fy,kGSa%drc}R^y2Qgn-20ro^ln7RIXi)=TrfXqp^Re*H(DnYH-&qPpQ1yZ]h%1dJuTHn8RM.g[';
//session_save_path('/home/SOMETHING/tmp');
set_include_path(ini_get('include_path').PATH_SEPARATOR.'C:\Inetpub\wwwroot\PNWRR\');
i am the server administrator. it is a fresh install of php 5.1.0
kd7tqn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2k3,IIS,Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
albanialove Nice poster


Offline Joined: Dec 13, 2004 Posts: 83
|
Posted: Tue Nov 29, 2005 8:43 pm Post subject: Re: Install Fatal Error |
|
Ok something is gooing good but:
roni.altervista.org/AL.../index.php
is one error in the end of site
albanialove's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Php 5.0.4 /MySQL 5.0.26/DF CMS 9.1.1.RC2
|
|
| Back to top |
|
 |
xfsunoles XHTML Specialist


Offline Joined: Apr 30, 2004 Posts: 2502 Location: Melbourne, Florida
|
Posted: Tue Nov 29, 2005 9:14 pm Post subject: Re: Install Fatal Error |
|
can you paste the error here cos visitor can't see it?
xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
|
|
| Back to top |
|
 |
albanialove Nice poster


Offline Joined: Dec 13, 2004 Posts: 83
|
Posted: Tue Nov 29, 2005 9:26 pm Post subject: Re: Install Fatal Error |
|
This in the end of site:
includes/cmsinit.inc
CMS Warning line 578: The function cookiedecode() is deprecated in Dragonfly. Please use the global array $userinfo
albanialove's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Php 5.0.4 /MySQL 5.0.26/DF CMS 9.1.1.RC2
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Nov 29, 2005 10:12 pm Post subject: Re: Install Fatal Error |
|
| kd7tqn wrote: |
okey, i did that.
and it gave me this error.
Parse error: syntax error, unexpected $end in C:\Inetpub\wwwroot\PNWRR\config.php on line 194 |
Damn windows os should be double slashed
| PHP: |
set_include_path(ini_get('include_path').PATH_SEPARATOR.'C:\\Inetpub\\wwwroot\\PNWRR');
|
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
xfsunoles XHTML Specialist


Offline Joined: Apr 30, 2004 Posts: 2502 Location: Melbourne, Florida
|
Posted: Tue Nov 29, 2005 10:20 pm Post subject: Re: Install Fatal Error |
|
| albanialove wrote: |
This in the end of site:
includes/cmsinit.inc
CMS Warning line 578: The function cookiedecode() is deprecated in Dragonfly. Please use the global array $userinfo |
This can be happen in theme....
in theme.php, does it have cookiedecode?
xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
|
|
| Back to top |
|
 |
WebSiteGuru 1000+ Posts Club


Offline Joined: Jun 09, 2005 Posts: 2318
|
Posted: Tue Nov 29, 2005 10:30 pm Post subject: Re: Install Fatal Error |
|
| xfsunoles wrote: |
| albanialove wrote: |
This in the end of site:
includes/cmsinit.inc
CMS Warning line 578: The function cookiedecode() is deprecated in Dragonfly. Please use the global array $userinfo |
This can be happen in theme....
in theme.php, does it have cookiedecode? |
Looks like you are missing $userinfo in the global array in the theme.php. But then I could be wrong.
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
|
|
| Back to top |
|
 |
|
|