Table is marked as crashed and should be repaired
Here is where the repair button is:
Here is where the repair button is:
By default when you enqueue jQuery in WordPress you must use jQuery, and $ is not used (this is for compatibility with other libraries). Your solution of wrapping it in function will work fine, or you can load jQuery some other way (but that’s probably not a good idea in WordPress). If you must use … Read more
I believe this error is caused because the local server and live server are running different versions of MySQL. To solve this: Open the sql file in your text editor Find and replace all utf8mb4_unicode_520_ci with utf8mb4_unicode_ci Save and upload to a fresh mySql db Hope that helps
8388608 bytes is 8M, the default limit in PHP. Update your post_max_size in php.ini to a larger value. upload_max_filesize sets the max file size that a user can upload while post_max_size sets the maximum amount of data that can be sent via a POST in a form. So you can set upload_max_filesize to 1 meg, … Read more
You don’t need to interact with the API or use a plugin. First, duplicate post.php or page.php in your theme folder (under /wp-content/themes/themename/). Rename the new file as templatename.php (where templatename is what you want to call your new template). To add your new template to the list of available templates, enter the following at … Read more
Add the following to your conf file fastcgi_buffers 16 16k; fastcgi_buffer_size 32k;
When you setup WP you (the webserver) may need write access to the files. So the access rights may need to be loose. chown www-data:www-data -R * # Let Apache be owner find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \; … Read more
WordPress will only prompt you for your FTP connection information while trying to install plugins or a WordPress update if it cannot write to /wp-content directly. Otherwise, if your web server has write access to the necessary files, it will take care of the updates and installation automatically. This method does not require you to … Read more
Try this, using mkdir: if (!file_exists(‘path/to/directory’)) { mkdir(‘path/to/directory’, 0777, true); } Note that 0777 is already the default mode for directories and may still be modified by the current umask.