Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

set_time_limit, Localization, Bug

UserPost

3:06 pm
February 20, 2010


zombik@students.uni-mainz.de

New Member

posts 1

Hi there, I've got to report three issues:

First, I discovered a small bug in your current release: When trying to safe an article, I simply got a PHP error message saying I can't set a time limit when in safe mode (in fact, safe mode is activated by my provider). So, what to do?
Friendly as always, PHP informed that the error occurs in line 325 in efficient-related-posts.php. The line says:

`set_time_limit(60);`

I tried this to fix it:

`if( !ini_get('safe_mode') )
            set_time_limit(60);`

and it worked like a charm. I recommend adding the safe mode check for future versions. Another thing: I made localization work. The only thing needed for this was to move the _slug defining line at the top of the init function and then add immediately below:

`load_plugin_textdomain( $this->_slug, '/wp-content/plugins/efficient-related-posts/');`

Anyway, the plugin didn't work for me. When I safe a post, nothing is stored in the meta keys, and when I press the "Process" button in the setting, the Plugin tells me, that every thing (in fact: nothing) was done in 0.0 secs. Any ideas? Maybe cause safe mode is enabled?


About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship