innus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: change password on www.remarpro.comagain, had to google this. Now, got to google how to edit my submitted plugin as well as I can’t find that either..!
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedHi,
On the ‘add audio’ button on New Post in wordpress, you have a button that says ‘audio player’ which inserts the [audio:https://… .com] tag.
I’ve found that it’s conflicting with wordpress, in that when you click it the text is inserted into the Link URL field, but then vanishes again (in firefox. in safari, it doesn’t appear at all).
I’ve narrowed this bug down to line 279 of file /wp-includes/js/swfupload/handlers.js :
//$(this).siblings(‘.urlfield’).val( $(this).attr(‘title’) );
I found that if I commented this line out, it fixed the bug, and your ‘audio player’ button worked properly.
Cheers,
Ian DundasI fixed this by editing /wp-includes/class-snoopy.php and added the following line above “$_data = fread($fp, $this->maxlength”); at line 894
so it looks like:
ini_set(‘memory_limit’,’32M’); //Ian: Dunno why this was set wrongly
$_data = fread($fp, $this->maxlength);I don’t know why I needed to do this, as memory_limit is set to 32M in php.ini anyway :S (as follows:)
max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 32M ; Maximum amount of memory a script may consume (16MB)Hey ehaining, I’m getting this exact same problem on the same line in the same file.
I’ve set my memory limit to 32mb in php.ini and the time to 120 seconds (I get the problem immediately:there’s no execution time taken, really)
How did you fix it?
Cheers,
Ian