Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ IIS Specific Issues :: Archives ⇒ Install Fatal Error :: Archived


Install Fatal Error :: Archived
Only discuss issues with IIS servers in here.
Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  IIS Specific Issues

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

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
kd7tqn
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
kd7tqn
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
kd7tqn
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
kd7tqn
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
kd7tqn
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 26
Location: Auburn, Wa
PostPosted: 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
View user's profile Visit poster's website
albanialove
Nice poster
Nice poster

Offline Offline
Joined: Dec 13, 2004
Posts: 83

PostPosted: 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
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Tue Nov 29, 2005 9:14 pm
Post subject: Re: Install Fatal Error

albanialove wrote:
Ok something is gooing good but:
roni.altervista.org/AL.../index.php

is one error in the end of site

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
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
albanialove
Nice poster
Nice poster

Offline Offline
Joined: Dec 13, 2004
Posts: 83

PostPosted: 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
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: 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 Laughing

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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: 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
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  IIS Specific Issues
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy