hello dear Pythonists hello dear Pythonexperts
well - today i have no python-question. i have some issues in installing a wordpress - and i hope you can help me...
meanwhile i have tried to install wp on a rootserver that is administrated by my friend i have got issues while trying to establish a db connection.
then i tried to run a test-teh connection script which gives back the following results
well - what does this script-results say - do i have issues and errors in the path of the pipe!?
do i have to do corrections here
update - update - i have gathered some more insights :
i have gathered some more infos and insights due to some more tests.
see the following data: - the outcome of a testscript:
the paths seem to be a problem - in the config
by the way: the character-code is 1252 ANSI L
any idea and help - i look forward to hear from you
regards
well - today i have no python-question. i have some issues in installing a wordpress - and i hope you can help me...
meanwhile i have tried to install wp on a rootserver that is administrated by my friend i have got issues while trying to establish a db connection.
then i tried to run a test-teh connection script which gives back the following results
Quote: Warning: mysqli_connect(): (HY000/2002): No such file or directory in
/sites/www.mysite.de/testconnection.php on line 2
Warning: mysqli_error() expects exactly 1 parameter,
0 given in /sites/www.mysite.de/testconnection.php on line 4
Could not connect:
well - what does this script-results say - do i have issues and errors in the path of the pipe!?
do i have to do corrections here
Quote: * For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define( 'WP_DEBUG', false );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __FILE__ ) . '/' );
}
/** Sets up WordPress vars and included files. */
require_once( ABSPATH . 'wp-settings.php' );
update - update - i have gathered some more insights :
i have gathered some more infos and insights due to some more tests.
see the following data: - the outcome of a testscript:
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /sites/www.mysite.de/tests.php on line 3 Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /sites/www.mysite.de/tests.php on line 4 could not connectsee the script:
<?php if(function_exists('mysqli_connect')){ if(!($link = mysqli_connect('localhost','user','passwd','my_db'))){ die('could not connect: ' . mysqli_error($link)); } } else { die("don't have mysqli"); } echo 'connect successfully'; mysqli_close($link);some ideas:
the paths seem to be a problem - in the config
by the way: the character-code is 1252 ANSI L
any idea and help - i look forward to hear from you
regards
Wordpress - super toolkits a. http://wpgear.org/ :: und b. https://github.com/miziomon/awesome-wordpress :: Awesome WordPress: A curated list of amazingly awesome WordPress resources and awesome python things https://github.com/vinta/awesome-python