New answers tagged paths
There are several locations in the database where the URL is stored. You will need to go into those locations and change mymu to somethingelse. I made a list for myself on my blog, feel free to use it! :) Step 5 has the list of tables you need to alter.
there is a nice WordPress function that helps you anytime you don't want to check for missing "/" on your path. trailingslashit your example should be the recommended way written: require_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/upgrade.php' ); using this function, you never have to put "/" in front of your "relative" path, as this function ...
insert.php file that I made myself, actually I am new to wordpress, I want to that is there any mistake that i am making? Actually I want to store a plugin form information in the database. Your question is very light on detail but I suspect that the mistake you are making is loading a file in such a way as it loads outside the context of WordPress, ...
You should not need the / but try a slash at the start of the /wp-admin require_once( ABSPATH . '/wp-admin/includes/upgrade.php' ); But did you check if /wp-admin/admin-insert.php file exists? Is the ABSPATH defined? Add the following to check: // Is ABSPATH defined? if ( !defined('ABSPATH') ) die('-1'); Also, are you trying to run this without ...
Top 50 recent answers are included