Problem installatio...
 
Notifications
Clear all

Problem installation

42 Posts
7 Users
0 Reactions
7,910 Views
(@chelle)
Posts: 122
Estimable Member
 

If I remember correctly, in 2.0 your username and password information for the database is in a file called dbconfig.php.  Check to see if that file exists.  If it does, post back to where it's located, is it in the same folder as your efiction?  The next step is to check your config.php and make sure it's pointing the script to the right location of your dbconfig.php file.


 
Posted : 02/04/2007 11:10 am
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

I found: I put db_config.php in the good directory and The table settingfanfictionsettings correctly settled down  but I always have the same problem:
http://www.harrypotterfanfictions-france.com/test/install/upgrade20.php?step=3
black page. Nevertheless Efiction 2.x works very well, I understand not why I have this page black for Efiction 3.2


 
Posted : 02/04/2007 11:13 am
(@chelle)
Posts: 122
Estimable Member
 

I don't know what would cause that as I've never run across that issue upgrading.  I wish I could offer suggestions..but I don't have any.


 
Posted : 02/04/2007 11:56 am
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

-> http://www.harrypotterfanfictions-france.com/test/install/upgrade20.php?step=1 :

Create Settings Table
Settings table created successfully!
Continue

-> http://www.harrypotterfanfictions-france.com/test/install/upgrade20.php?step=2&settingsprefix=test :

Configuration File Setup
Site Key
xxxxxxxxxx

-> http://www.harrypotterfanfictions-france.com/test/install/upgrade20.php?step=2 :

Configuration File Setup
Site settings have been moved to settings table.
Configuration file written.
Continue

-> http://www.harrypotterfanfictions-france.com/test/install/upgrade20.php?step=3
black page  πŸ˜₯


 
Posted : 02/04/2007 12:01 pm
(@carissa)
Posts: 791
Member Moderator
 

View the source on the black page and you'll see that the page isn't actually loading completely. It stops after the </head> tag. This usually means that everything didn't get uploaded properly to your site. You might want to check all the files, especially the ones in the install folder, and make sure they actually end with the php closing tag and that they are the same size as the ones in the download.


 
Posted : 02/04/2007 12:50 pm
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

In upgrade20.php I have:


//make a new TemplatePower object
echo "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>eFiction $version Install</title>
<style>
#settingsform { margin: 0; padding: 0; border: none; }
#settingsform FORM { width: 100%; margin: 0 10%; }
#settingsform LABEL { float: left; display: block; width: 30%; text-align: right; padding-right: 10px; clear: left; padding-top: 1px;}
#settingsform .textbox { margin: 1px 0; }
#settingsform .fieldset SPAN { float: left; display: block; width: 30%; text-align: right; padding-right: 10px; clear: left;}
#settingsform .fieldset LABEL { float: none; width: auto; display: inline; text-align: left; clear: none; }
#settingsform { float: left; margin: 1ex 10%; }
#settingsform .tinytoggle { text-align: center; }
#settingsform .tinytoggle LABEL { float: none; display: inline; width: auto; text-align: center; padding: 0; clear: none; }
#settingsform #submitdiv { text-align: center; width: 100%;clear: both; height: 3em; }
#settingsform #submitdiv #submit { position: absolute; z-index: 10001; margin: 1em; }
LABEL { float: left; display: block; width: 50%; text-align: right; padding-right: 10px; clear: left;}
.row { float: left; width: 99%; }
a.pophelp{
    position: relative; /*this is the key*/
    z-index:24;
    vertical-align: super;
}

a.pophelp:hover{z-index:100; border: none;}

a.pophelp span{display: none; position: absolute;}

a.pophelp:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:4em; width: 225px;
    border:1px solid #000;
    background-color:#CCC; color:#000;
    text-decoration: none;
    text-align: left;
    padding: 5px;
    font-weight: normal;
}
</style>
<link rel="stylesheet" type="text/css" href="'../default_tpls/style.css'></head>";"

$output = "";

include ("../includes/class.TemplatePower.inc.php");
include("../config.php");
if(isset($_GET['step']) && $_GET['step'] > 2) {
$settings = dbquery("SELECT tableprefix, language FROM ".$settingsprefix."fanfiction_settings WHERE sitekey = '$sitekey'");
list($tableprefix, $language) = dbrow($settings);
}
if(isset($language)) {
if(file_exists("../languages/{$language}.php")) include ("../languages/{$language}.php");
else include ("../languages/en.php");
if(file_exists("../languages/{$language}_admin.php")) include ("../languages/{$language}_admin.php");
else include ("../languages/en_admin.php");
if(file_exists("languages/$language.php")) include ("languages/{$language}.php");
else include("languages/en.php");
}
else {
include ("../languages/en.php");
include ("../languages/en_admin.php");
include("languages/en.php");
}

But there is only:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd"> 
<html><head><title>eFiction  Install</title>
<style>
#settingsform { margin: 0; padding: 0; border: none; }
#settingsform FORM { width: 100%; margin: 0 10%; }
#settingsform LABEL { float: left; display: block; width: 30%; text-align: right; padding-right: 10px; clear: left; padding-top: 1px;}
#settingsform .textbox { margin: 1px 0; }
#settingsform .fieldset SPAN { float: left; display: block; width: 30%; text-align: right; padding-right: 10px; clear: left;}
#settingsform .fieldset LABEL { float: none; width: auto; display: inline; text-align: left; clear: none; }
#settingsform { float: left; margin: 1ex 10%; }
#settingsform .tinytoggle { text-align: center; }
#settingsform .tinytoggle LABEL { float: none; display: inline; width: auto; text-align: center; padding: 0; clear: none; }
#settingsform #submitdiv { text-align: center; width: 100%;clear: both; height: 3em; }
#settingsform #submitdiv #submit { position: absolute; z-index: 10001; margin: 1em; }
LABEL { float: left; display: block; width: 50%; text-align: right; padding-right: 10px; clear: left;}
.row { float: left; width: 99%; }
a.pophelp{
    position: relative; /*this is the key*/
    z-index:24;
    vertical-align: super;
}

a.pophelp:hover{z-index:100; border: none;}

a.pophelp span{display: none; position: absolute;}

a.pophelp:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:4em; width: 225px;
    border:1px solid #000;
    background-color:#CCC; color:#000;
    text-decoration: none;
    text-align: left;
    padding: 5px;
    font-weight: normal;
}
</style>
<link rel="stylesheet" type="text/css" href="'../default_tpls/style.css'></head>[/code"]

Which takes care. I have Transferred again  files my steps but no change.
It is very strange.


 
Posted : 02/04/2007 1:47 pm
(@tammy)
Posts: 2577
Member Moderator
 

Your upgrade20.php is hugely wrong if that's all there is.


 
Posted : 02/04/2007 1:52 pm
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

It is complete here:
http://www.harrypotterfanfictions-france.com/Bureau.zip

Can anybody verify it please?
Thank you


 
Posted : 02/04/2007 2:03 pm
(@carissa)
Posts: 791
Member Moderator
 

Go to the downlaods page and download a new copy. Then open the  upgrade20.php file and compare it to the one you have on your server.


 
Posted : 02/04/2007 2:29 pm
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

The file is identical to the original.
Too install.php .


 
Posted : 02/04/2007 3:34 pm
(@tammy)
Posts: 2577
Member Moderator
 

Did you CHMOD your config.php file to 666?


 
Posted : 02/04/2007 5:22 pm
(@titipotter)
Posts: 24
Eminent Member
Topic starter
 

Yes,  CHMOD my config.php file to 666  πŸ˜₯


 
Posted : 03/04/2007 11:12 am
Page 3 / 3
Share: