shaolintiger
Forum Replies Created
-
I’m having the same problems too, I’m running on two sites (different hosts) one is working perfectly as before..and the other is not working at all.
I’ve tried deactivating the plugin, manually deleting the options from MySQL, recreating new jobs etc – I even disabled suhosin from my PHP just in case.
But I’m still getting same symptoms as above:
After click run – get the blank black working box, and that’s it. Log file is created, job says ok – but log file is blank and no backup was created. I’ve tried both for files and just DB – neither works.
Forum: Plugins
In reply to: [Plugin: Advertising Manager] unable to add ad after moving to live siteYah I believe it’s a problem with too many tags and it can’t write back to the database, even though initially it says (last edited one minute ago) if you refresh it goes back to >30 days.
So I tried to find a way to limit the amount of tags it was pulling (I’m not going to be doing any filtering via tags anyway).
It took me a long time to find where the code was located, I edited the tag queries in Tools.php but it had no effect, I finally found the actual code used was in /advertising-manager/lib/Advman/TemplateMetabox.php
You need to edit the following lines (#102 & #103):
$categories = get_categories("hierarchical=0&hide_empty=0&number=10&orderby=count&order=DESC");
$tags = get_tags("hierarchical=0&hide_empty=0&number=10&orderby=count&order=DESC");
This will give the 10 most used tags and categories, you can change the number if you like.
After limiting these queries I can now edit my ads again.
For reference I have 6052 tags..
Forum: Fixing WordPress
In reply to: Comment Order Not ChronologicalNo one got any ideas on this?
Forum: Plugins
In reply to: [Plugin: Advertising Manager] unable to add ad after moving to live siteHaving similar problems, can’t edit ads now it just times out and I get this:
Maximum execution time of 30 seconds exceeded in /home/wp-content/plugins/advertising-manager/lib/Advman/Tools.php on line 44, referer: https://www.site.com/wp-admin/admin.php?page=advman-manage
I had to download back to advertising-manager-3.4.13.zip before I could edit adverts again.
Forum: Plugins
In reply to: twitter-tools broken?Same here, mine is still working fine but a friend of mine changed her password and she can’t get Twitter Tools to login again and update.
Forum: Plugins
In reply to: YARPP breaks certain admin screensI tried to use YARPP on a new site I’m working on, rather than the ancient related posts plug I’ve been using, but it completely borked it.
Every time I created a new post it also created a draft so I had endless duplicate posts and it made post editing and generally saving anything in WordPress hideously slow.
I’d be very careful with it.
Forum: Fixing WordPress
In reply to: AJAX Comment Delete Not Working – Comments ReappearHi, I found the solution to my problem here:
https://www.ads-software.com/support/topic/103953
It’s to do with AJAX referal checking.
It was fixable by replacing the code
`$cookie = explode(‘; ‘, urldecode(empty($_POST[‘cookie’]) ? $_GET[‘cookie’] : $_POST[‘cookie’])); // AJAX scripts must pass cookie=document.cookie
foreach ( $cookie as $tasty ) {
if ( false !== strpos($tasty, USER_COOKIE) )
$user = substr(strstr($tasty, ‘=’), 1);
if ( false !== strpos($tasty, PASS_COOKIE) )
$pass = substr(strstr($tasty, ‘=’), 1);
}`with simply
` $user = $_COOKIE[USER_COOKIE];
$pass = $_COOKIE[PASS_COOKIE];`This is in wp-includes/pluggable.php (in the function check_ajax_referer).
Forum: Fixing WordPress
In reply to: Previous Entries only shows onceBump bump?