Tag Info

New answers tagged

1

You'll want to add these to your wp-config.php file: define( 'NOBLOGREDIRECT', '' ); define( 'WP_HOME', 'http://dev.domain.com' ); define( 'WP_SITEURL', 'http://dev.domain.com' ); So in its entirety, you'll have: $base = '/'; /** Multisite / Wordpress Network **/ define( 'WP_HOME', 'http://dev.domain.com' ); define( 'WP_SITEURL', ...


0

The settings itself are all fine. But the rights might be the problem. Change the rights recursively for wp-content to 777. This may raise security concerns and you have to take good care of who can access and write files to this directory. You may also have to change the rights for the folders wp-admin and wp-includes to 777. Note that is not recommended. ...


1

That message means that the php engine tried and failed to find a directory to which to temporarily store the uploaded file until l they are process by php scripts. Since it is happening before any script is being run it is very unlikely that you will be able to solve this by writing any php code. You might be able to change the php upload_tmp_dir setting ...


1

try to use get_temp_dir() to see if wordpress is using your WP_TEMP_DIR constant. i've tried this code in wp-config.php and it works define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/'); but you have to put it before the /* That's all, stop editing! Happy blogging. */ in your wp-config.php file.


0

The problem is not in WordPress, it is in your Varnish or Apache configuration. Static files, such as CSS, JS, Images, these are served by Apache without going through WordPress at all. WordPress will simply use whatever URL you configure it to use. It doesn't care about port or domains, as such. So, if your request to your site to get the CSS is ...


-2

Did you changed the Wordpress URL in Settings->General? http://example.com/wp => http://example.com:8080/wp I didn't try, but it should be the same as moving a wp-installation to another domain.


0

I found the answer my self. First open your wp-config.php and check the bottom of file that Is that contain the below code?... if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); If yes then add the below code to make the connection in your plugin PHP files to connect with wp-config.php file that contain Database Name, Database ...


0

you should never try to include wp-config.php or any other of the loaders files from the plugin your plugin should never be accessed by a direct url bypassing the WP initialization process. The way you need to write your plugin is to check if there is a specific parameter to the URL, and only if it exists your code will do its thing. Now you can setup ...


0

I think that is the wrong way. What you might consider to to is to create an wp_schedule_event and then run http://www.abc.de/wp-cron.php per cPanel-Cron, that should work and will be a better way in the "idea" of WordPress. -Edit- Create an cron.php (or whatever you would like to call that file) in you plugin. Than from the main php file include that ...



Top 50 recent answers are included