Welcome, Guest
Please Login or Register.    Lost Password?

min length of words doesn't work
(1 viewing) (1) Guest
Go to bottomPage: 12345
TOPIC: min length of words doesn't work
#278
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Hey, there! Any answer?
Panos

The administrator has disabled public write access.
 
#279
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Well, I'm putting together an alternative version that will allow large article lists like yours without memory errors. Each article generate an object in PHP when you use regenerate all so it's pretty intensive.

As for bumping the thread, to be fair, you only posted this 3 hrs ago after a week of no communications. This is a free extension...
mattfaulds
Administrator
Posts: 366
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#280
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Thank you so much mattfaulds...
I'm expecting this version
Sorry if I pressed you, you know this is a running site, and my client got anxious when he noticed that error and tags not loading
Thanks again
Panos

The administrator has disabled public write access.
 
#281
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Hi again. No worries, I understand deadlines, clients etc. Just had another baby so limited time...!

Anyway, please make sure you are using the most recent stable release of AK, 0.7.1.3. Backup and then install the file attached to this comment. This will bump AK to 0.7.1.4 and should make sure that your articles are processed in batches of 500 which should avoid the memory problem. I will be adding this to the next release which is going to be a big one!

Let me know how you get on and also how you solved your UTF-8 character length problem.


This attachment is hidden for guests. Please login or register to see it.
mattfaulds
Administrator
Posts: 366
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#282
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Sorry mattfaulds , I tried it but it gives the same mistake again..
Panos

The administrator has disabled public write access.
 
#283
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Hmm.

Can you edit the following in addkeywords.php in plugins/system. Find line 524 or thereabouts and change:
Code:

for($i=0;$numArticles>=0;$numArticles-=500,$i++) {
if($numArticles<500) {
$limitArray[$i] = "0,$numArticles";
} else {
$limitArray[$i] = ($numArticles-499).",$numArticles";
}


to
Code:

for($i=0;$numArticles>=0;$numArticles-=50,$i++) {
if($numArticles<50) {
$limitArray[$i] = "0,$numArticles";
} else {
$limitArray[$i] = ($numArticles-49).",$numArticles";
}



Does that help?
mattfaulds
Administrator
Posts: 366
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12345
Moderators: mattfaulds

Login

Make a Donation...

PayPal Donate

 

© 2009 Content: TrafalgarDesign. Template: Afterburner.