wprock
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: This webpage has a redirect loop. help!! please!!what is the site url?
Forum: Fixing WordPress
In reply to: Showing only certain recent postsuse ‘offset’ parameter in 2nd query_posts() function like this
query_posts(‘offset=6’);
This kind of problem is arising for some reason.Assume you created a site on dev server and that time you used the table prefix as ‘devwp_’. Now you are going to migrating the site on live server. You installed a fresh wordpress and using a new table prefix like ‘wp_’. After complete the installation you are uploading the old data to new database via PHPMYADMIN.
WP_OPTIONS table’s value of live database is containing the old table prefix ‘devwp_’ and it is creating the problem.
Forum: Fixing WordPress
In reply to: Site went down. Header php changedgive the URL. then we can see the code from pastebin
yes. you can. But field name should be rasa_user_roles
ahhh….then field name will be rasa_user_roles not wp_user_roles
Forum: Fixing WordPress
In reply to: Site went down. Header php changedpaste the code of header.php file here pastebin.com
wp-config.php file have table prefix. Download the file via FTP or CPanel and open it on any editor. then you will get it
Forum: Fixing WordPress
In reply to: Help me troubleshoot this error messagewhich version (WP) are you using? You upload only that’s version files
Are you migrated the site from another server? what is you table prefix?
Forum: Fixing WordPress
In reply to: No access to admin after theme updateConfigure error log http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging
Forum: Fixing WordPress
In reply to: No access to admin after theme updateSorry! use this
@ini_set(‘log_errors’,’On’);
@ini_set(‘display_errors’,’Off’);
@ini_set(‘error_log’,’/home/example.com/logs/php_error.log’);Forum: Fixing WordPress
In reply to: No access to admin after theme updateEnable the error log. Put the code in wp_config.php file
@ini_set(‘log_errors’,’Off’);
@ini_set(‘display_errors’,’On’);
@ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, false);
define(‘WP_DEBUG_DISPLAY’, true);Forum: Fixing WordPress
In reply to: Something went wrong….No files is not updating. You are using old code. use the new code. if you are using any cache plugin then clear the server cache.
what is your table prefix? if prefix is wp_ then field name will be wp_user_roles and value will be
a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:62:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:9:"add_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}