I found a solution!
Perhaps not the better one, but it seems to work correctly ...
I saw in the file "wp-config.php" the following lines:
Quote:
/** Chemin absolu de WordPress vers le dossier WordPress. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
This path is not correct, because the file "wp-config.php" is NOT at the root of Wordpress but in the folder "wp-content".
So I corrected this line this way:
Quote:
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/../');
Then I became a second fatal error in the file "init.php" contained in the folder "wordpress/wp-content/plugins/wpg2/g2image" (so a file of the WPG2-plugin).
The following line was the problem:
Quote:
require_once($g2ic_wp_rel_path.'wp-admin/admin.php');
Here we have also the problem that the folder "wp-admin" is NOT a sub-folder of "wp-content", but is on the same level.
So I corrected this line this way:
Quote:
require_once($g2ic_wp_rel_path.'../wp-admin/admin.php');
And whith these 2 small changes, it works!
What I find really strange is that despite the fact I changed ABSPATH in the file "wp-config.php" I don't encounter any problem ...
Does it mean that this variable isn't used by wordpress itself, but only by plugins like WPG2?