june01
Forum Replies Created
-
Hi,
thanks, deleting the plugin and install again worked for me.Forum: Plugins
In reply to: [WP Super Cache] Shows old hompage/?wordfence_lh=… https://…/?wordfence_lh=1&hid=… – Page not cached by WP Super Cache. Blank Page. Check output buffer usage by plugins.
/?wordfence_lh=… No closing html tag. Not caching.
/?wordfence_lh=1&hid=… https://…/?wordfence_lh=… – Page not cached by WP Super Cache. No closing HTML tag. Check your theme.
/?wordfence_lh=…wp_cache_maybe_dynamic: returned $buffer
/?wordfence_lh=… wp_cache_shutdown_callback: No cache file created. Returning.
/?…wpsc_is_caching_user_disabled: false
/?wordfence_lh=… Output buffer callback
/?wordfence_lh=1&hid=… Buffer is blank. Output buffer may have been corrupted by another plugin or this is a redirected URL. Look for text ‘ob_start’ in the files of your plugins directory.Forum: Plugins
In reply to: [WP Super Cache] Shows old hompage… wpsc_is_caching_user_disabled: false
… wp_cache_get_cookies_values: return:
… wpsc_get_realpath: directory does not exist – ABSPATH/wp-content/cache/blogs/archives/
… wpsc_get_realpath: directory does not exist – ABSPATH/wp-content/cache/blogs/archives/meta/
… supercache dir: ABSPATH/wp-content/cache/supercache/…
… No Super Cache file found for current URL: ABSPATH/wp-content/cache/supercache/….
… wp_cache_get_cookies_values: return:
… In WP Cache Phase 2
… Setting up WordPress actions
… Created output buffer
… wp_cache_get_cookies_values: return:
… wpcache_do_rebuild: doing rebuild for ABSPATH/wp-content/cache/supercache/…
… wpcache_do_rebuild: exiting as directory is not a directory: ABSPATH/wp-content/cache/supercache/…
/wp-cron.php?doing_wp_cron=…wp_cache_get_cookies_values: return:
/wp-cron.php?doing_wp_cron=… In WP Cache Phase 2
/wp-cron.php?doing_wp_cron=…Setting up WordPress actions
/wp-cron.php?doing_wp_cron=…Not caching wp-admin requests.
… wpsc_is_caching_user_disabled: false
… Output buffer callback
… wp_cache_get_cookies_values: return:
… Anonymous user detected. Only creating Supercache file.
… wpsc_is_caching_user_disabled: false
… wp_cache_get_cookies_values: return:
… Writing non-gzipped buffer to supercache file.
… Renamed temp supercache file to ABSPATH/wp-content/cache/supercache/…
… Sending buffer to browser
… wp_cache_shutdown_callback: collecting meta data.
… Did not write meta file: meta-wp-cache-….php
supercacheonly: 1
wp_cache_not_logged_in: 2
new_cache:1Forum: Plugins
In reply to: [WP Super Cache] Shows old hompage/wp-cron.php?…. GC flag not found. GC will go ahead..
/wp-cron.php?doing_wp_cron=… wp_cache_gc_cron: Set GC Flag.
/wp-cron.php?doing_wp_cron=…. Cache garbage collection.
/wp-cron.php?doing_wp_cron=… Cleaning expired cache files in …
/wp-cron.php?doing_wp_cron=… Doing GC on supercache dir: …
/wp-cron.php?doing_wp_cron=… prune_super_cache: did not delete file as it wasn’t a directory or file and not forced to delete new file: ABSPATH/wp-content/cache/supercache/index.html
/wp-cron.php?doing_wp_cron=…gc: could not delete ABSPATH/wp-content/cache/supercache/index.html as it’s protected.Forum: Plugins
In reply to: [WP Super Cache] Shows old hompageYes, I’ve checked the debug log but I don’t know what exactly I should look for.
I’ve deleted all files in the cache folder but same problem.
Forum: Fixing WordPress
In reply to: Browser shows old websiteHi, did you solve this issue? I’ve the exact same problem and don’t know how to solve it.
Hi,
sorry for the late reply.I don’t remember exactly, but I think I had duplicate element names or ID’s. So make sure all your elements have unique names.
Thanks it’s working.
Hi, I’ve changed the code to solve this issue. Instead of using the form shortcode I am creating my own one, and it’s working. When the user has a published post it displays an alert message instead of the form.
The only issue I have is on submit the page reloads and then the alert is displayed because the post is saved. But I want a success message too. How do I know if they just opened the page or have successfully submitted the form?
Also, I would like to change the button text on the form.
That’s my code
add_shortcode( 'ad_post_form', 'ad_post_form_shortcode' ); // this function generates the shortcode output function ad_post_form_shortcode( $args ) { // check here if your user already has posts $id = get_current_user_id(); if ( $id ) { $params = array('where' => 't.post_author = "'.$id.'"',); $pods = pods( 'ad_post', $params ); if( $pods->total() > 0){ // User already has posts, throw error. $content = '<div class="custom_alert">لا يمكنك نشر أكثر من إعلان واحد في نفس الوقت.</div>'; return $content; } } $mypod = pods( 'ad_post' ); // Override the options of a specific field $fields = array( 'post_title' => array('label'=>'عنوان الاعلان'), 'website','ad_position_field','ad_image' ); // Output a form with specific fields echo $mypod->form( $fields ); }added this code to Code Snippets but same issue. I still can’t edit or approve new subscribers.
without the permission “manage_network_users” I am not able to view/edit user profiles that have not been approved.
And in Member Directory page only edit and delete options are displayed. Edit does not work, just like view profile, I’ll be redirected to home.
As you can see in this screenshot.Maybe because I have multisite installation, that’s why it’s a bit different?
- This reply was modified 4 years, 9 months ago by june01.
hi,
I added the code in functions.php but same problem, it does not work. Nothing happens.Hi, is there no update on this?
I am using code snippets plugin and I’ve added it there.
thanks for the replay but the code does still not work. I think it’s not even been called.