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
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/ on line 2
Warning: mysqli_error() expects exactly 1 parameter,
0 given in /sites/ 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
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/ on line 3
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /sites/ on line 4 could not connect
see the script:

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';
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


Wordpress-development - a Toolset:
why not try to install it from the hosting cpanel...

Top Page

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

Forum Jump:

Users browsing this thread: 1 Guest(s)