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
#290
Re:min length of words doesn't work 6 Months, 3 Weeks ago  
OK, I'll try that and I'll let you know

Thanks
Panos

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

Can you try this version? I've rewritten the regenerate all function to not use objects which should use considerably less memory and should also be faster. It includes the adjusments that we have already mentioned in this thread including the set_time_limit function which is commented out - try it if you need to.

Matt

{file removed}
mattfaulds
Administrator
Posts: 367
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/21 16:40 By mattfaulds.
The administrator has disabled public write access.
 
#292
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
Hi, matt
I tried it, but unfortunately it's not working(memory error again). I'll try now to do the "unpublish" trick, but as you understand I can't recommend that to my client.

Thanks

P.S. By the way setting "empty keywords only" to yes, it gives me the same result. Shouldn't that work so that less memory is reserved during tagging process? ( unless I've understood wrong the way the plugin works )
Panos

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

Regenerate All is a one off function - why would your client need it? Once the meta-data is generated you should then disable that part of the plugin.

Unfortunately, to assess if the keywords are empty or not involves loading that information from the database. So, because you have 10000 articles, it can't handle that level of data in one go.

Try adjusting the number of articles loaded each cycle again before you try the unpublish trick. That latest version I posted had been set at 500 again which does appear to be too much for your server. The code should be faster so you may get away with just dropping that to 100 or maybe as low as the 81 you found before. Then try uncommenting the set_time_limit section (see addkeywords.php in the latest version I posted above) , then the unpublish trick. Unpublishing is a pain in the arse you see.....
mattfaulds
Administrator
Posts: 367
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#295
Re:min length of words doesn't work 6 Months, 2 Weeks ago  
You mean set_time_limit in line 535? I don't see to be commented..
Panos

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

I unpublished 2000 articles, and now the remaining number is 8000 ( which is less than the number of articles that had when the plugin worked). I also changed "500" to "80". But it shows the memory error again! I don't know, I dissapointed...

Do you think that changing memory limit in php.ini would give any results?(if my host accepts to do the change)

Thanks
Panos

The administrator has disabled public write access.
 
Go to topPage: 12345
Moderators: mattfaulds

Login

Make a Donation...

PayPal Donate

 

© 2009 Content: TrafalgarDesign. Template: Afterburner.