Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 path-issues in installing a wordpress - wrong pipe-path - like a testscript says
#1
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

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 connect
see 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-development - a Toolset: wpgear.org
Quote
#2
why not try to install it from the hosting cpanel...
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Web Hosting Discount for Wordpress, Magento, PHP based applications johncamp 1 50 Nov-15-2019, 12:48 PM
Last Post: Larz60+
  WORDPRESS DISADVANTAGES Anshsachdeva 3 223 Sep-11-2019, 05:46 PM
Last Post: nilamo
  Python path not detected even it run in cmd. rorjet 3 859 Jun-22-2018, 09:10 AM
Last Post: DeaD_EyE

Forum Jump:


Users browsing this thread: 1 Guest(s)