News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Very last version 2.1 b2

Started by GrCOTE7, September 02, 2015, 04:48:04 PM

Previous topic - Next topic

GrCOTE7

Hi, all,

Sorry, I don't speack english very well, then, i don't read all other posts...

I 've installed the very last version 2.1 b2, and all seems very well (Congratualtions to the Team - Great result :-) )

But, I observe just 1 error:

Please see points 1,2 and 3 on the screen's capture #1, and the error when click on point 4 (See the error in next post)


Thanks to say if yyou know, if it 's in actual developpment, or an other reason of that ?


GrCOTE7

The screen's capture of the error

Kindred

ummm..... what is the point of the db_lasterror being highlighted?

Are you saying that when you click on the "more detailed" link, it generates an error?  if so, what error is generated?

Also, specifically which build of beta 2 are you using? The one from this site here or the nightly build from github?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

live627


GrCOTE7

Hi, Kindred, Hi Live627,


And thanks for your answers...


@Kindred:

ummm..... what is the point of the db_lasterror being highlighted?
=> When l find a db_last_error.php file, I always see that in it:
<?php
$db_last_error 
0;
?>


Are you saying that when you click on the "more detailed" link, it generates an error?  if so, what error is generated?
=>Yes. Here you can see the error details: http://www.simplemachines.org/community/index.php?topic=539446.msg3834151#msg3834151

Also, specifically which build of beta 2 are you using? The one from this site here or the nightly build from github?
=> The very last version (cloned of release2.1 ). See image joined here: http://www.simplemachines.org/community/index.php?topic=539446.msg3834150#msg3834150


@live627:
I use the administrator account here... I think this account has all permissions


Thanks to looking for an idea about this issue...

GrCOTE7

Re...

A good news: I tried saveral manipulations, and 1 of them goes on  :D :

When we install the very last release2.1, the setting's file in the root folder is this:


<?php
$db_type 
'mysqli';
$db_name 'wwwconcr_forum';
$db_user 'root';
$db_passwd '';
$db_server 'localhost';
$db_prefix 'smf_';
$cookiename 'SMFCookie529';
$boardurl 'http://fc5fr';
$boarddir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr';
$sourcedir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr/Sources';
$cachedir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr/cache';
$mbname 'Fc5fr';
$language 'english';
$image_proxy_secret '68afa04cee5a00191509';
$image_proxy_enabled '';
$db_character_set 'utf8';
$webmaster_email 'Lio181@******.ext';
?>



I tried to put in this same place an 'old' setting's file:


<?php
$sg 
'PCLI';
/**
 * The settings file contains all of the basic settings that need to be present when a database/cache is not available.
 *
 * Simple Machines Forum (SMF)
 *
 * @package   SMF
 * @author    Simple Machines http://www.simplemachines.org
 * @copyright 2015 Simple Machines and individual contributors
 * @license   http://www.simplemachines.org/about/smf/license.php BSD
 *
 * @version   2.1 Beta 2
 */

########## Maintenance ##########
/**
 * The maintenance "mode"
 * Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
 * 0 is default and disables maintenance mode.
 * @var int 0, 1, 2
 * @global int $maintenance
 */
$maintenance 0;
/**
 * Title for the Maintenance Mode message.
 * @var string
 * @global int $mtitle
 */
$mtitle 'Maintenance Mode';
/**
 * Description of why the forum is in maintenance mode.
 * @var string
 * @global string $mmessage
 */
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';

########## Forum Info ##########
/**
 * The name of your forum.
 * @var string
 */
$mbname 'Fc5fr';
/**
 * The default language file set for the forum.
 * @var string
 */
$language 'french-utf8';
/**
 * URL to your forum's folder. (without the trailing /!)
 * @var string
 */
$boardurl 'http://fc5fr';
/**
 * Email address to send emails from. (like [email protected].)
 * @var string
 */
$webmaster_email 'Lio181@*****.ext';
/**
 * Name of the cookie to set for authentication.
 * @var string
 */
$cookiename 'SMFCookie529';

########## Database Info ##########
/**
 * The database type
 * Default options: mysql, postgresql
 * @var string
 */
$db_type 'mysql';
/**
 * The server to connect to (or a Unix socket)
 * @var string
 */
$db_server 'localhost';
/**
 * The database name
 * @var string
 */
$db_name 'wwwconcr_forum';
/**
 * Database username
 * @var string
 */
$db_user 'root';
/**
 * Database password
 * @var string
 */
$db_passwd '';
/**
 * Database user for when connecting with SSI
 * @var string
 */
$ssi_db_user '';
/**
 * Database password for when connecting with SSI
 * @var string
 */
$ssi_db_passwd '';
/**
 * A prefix to put in front of your table names.
 * This helps to prevent conflicts
 * @var string
 */
$db_prefix 'smf_';
/**
 * Use a persistent database connection
 * @var int|bool
 */
$db_persist 0;
/**
 *
 * @var int|bool
 */
$db_error_send 0;

########## Cache Info ##########
/**
 * Select a cache system. You want to leave this up to the cache area of the admin panel for
 * proper detection of apc, memcache, output_cache, smf, or xcache
 * (you can add more with a mod).
 * @var string
 */
$cache_accelerator 'smf';
/**
 * The level at which you would like to cache. Between 0 (off) through 3 (cache a lot).
 * @var int
 */
$cache_enable 0;
/**
 * This is only used for memcache / memcached. Should be a string of 'server:port,server:port'
 * @var array
 */
$cache_memcached '';
/**
 * This is only for the 'smf' file cache system. It is the path to the cache directory.
 * It is also recommended that you place this in /tmp/ if you are going to use this.
 * @var string
 */
$cachedir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr/cache';

########## Image Proxy ##########
# This is done entirely in Settings.php to avoid loading the DB while serving the images
/**
 * Whether the proxy is enabled or not
 * @var bool
 */
$image_proxy_enabled '';

/**
 * Secret key to be used by the proxy
 * @var string
 */
$image_proxy_secret 'f851ff6b085f5aedd65a';

/**
 * Maximum file size (in KB) for indiviudal files
 * @var int
 */
$image_proxy_maxsize 5192;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
/**
 * The absolute path to the forum's folder. (not just '.'!)
 * @var string
 */
$boarddir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr';
/**
 * Path to the Sources directory.
 * @var string
 */
$sourcedir 'C:\\xampp\\htdocs\\w\\wwwconcr\\public_html\\forum_concrete5_fr/Sources';
/**
 * Path to the Packages directory.
 * @var string
 */
$packagesdir dirname__FILE__ ) . '/Packages';
/**
 * Path to the tasks directory.
 * @var string
 */
$tasksdir $sourcedir '/tasks';

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
if ( file_existsdirname__FILE__ ) . '/db_last_error.php' ) ) {
include( dirname__FILE__ ) . '/db_last_error.php' );
}

if ( ! isset( 
$db_last_error ) ) {
// File does not exist so lets try to create it
file_put_contentsdirname__FILE__ ) . '/db_last_error.php',
                   '<' '?' "php\n" '$db_last_error = 0;' "\n" '?' '>' );
$db_last_error 0;
}


# Make sure the paths are correct... at least try to fix them.
if ( ! file_exists$boarddir ) && file_existsdirname__FILE__ ) . '/agreement.txt' ) ) {
$boarddir dirname__FILE__ );
}
if ( ! 
file_exists$sourcedir ) && file_exists$boarddir '/Sources' ) ) {
$sourcedir $boarddir '/Sources';
}
if ( ! 
file_exists$cachedir ) && file_exists$boarddir '/cache' ) ) {
$cachedir $boarddir '/cache';
}

$db_character_set 'utf8';
?>



and now, see the joined image :-)


As core coder, perhaps you can so say what is necessary in this last setting's file for this page run too.... ;-)...


Kindred

ok... "very last release" is really not a useful term.

nightly build from GitHub as of 02-Sept would be useful


Also, the db_last_error that you pointed out in your bits of code are part of the global variable definition for the function ---  so, of course it does not set a value to it in that location.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: