Title: numerico's Replies | WordPress.org

---

# numerico

  [  ](https://wordpress.org/support/users/numerico/)

 *   [Profile](https://wordpress.org/support/users/numerico/)
 *   [Topics Started](https://wordpress.org/support/users/numerico/topics/)
 *   [Replies Created](https://wordpress.org/support/users/numerico/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/numerico/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/numerico/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/numerico/engagements/)
 *   [Favorites](https://wordpress.org/support/users/numerico/favorites/)

 Search replies:

## Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-TRADER] – Fatal error: Cannot redeclare sqlesc()…](https://wordpress.org/support/topic/wp-trader-fatal-error-cannot-redeclare-sqlesc/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wp-trader-fatal-error-cannot-redeclare-sqlesc/#post-2706608)
 * I’m not the plugin owner so I’m afraid unless buznagn decides otherwise you’ll
   have to fix it yourself.
    What’s Thesis, by the way?
 * Greetings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin WP-Trader] Seeders and Leechers Problem !](https://wordpress.org/support/topic/plugin-wp-trader/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-trader/#post-2556513)
 * About 0 seeders & leechers, think I found the issue too, check [this post](http://wordpress.org/support/topic/plugin-wp-trader-0-seeds-and-leechs-solution?replies=1#post-2775484)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-TRADER] – Fatal error: Cannot redeclare sqlesc()…](https://wordpress.org/support/topic/wp-trader-fatal-error-cannot-redeclare-sqlesc/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wp-trader-fatal-error-cannot-redeclare-sqlesc/#post-2706584)
 * greetings, please read previous post [http://wordpress.org/support/topic/plugin-wp-trader?replies=9](http://wordpress.org/support/topic/plugin-wp-trader?replies=9)
   
   apparently a bug in last version indeed
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin WP-Trader] Seeders and Leechers Problem !](https://wordpress.org/support/topic/plugin-wp-trader/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-trader/#post-2556511)
 * had to rename _sqlesc_ in _announce.php_ to have the tracker work, still getting
   0 peers and leeches though
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin WP-Trader] Seeders and Leechers Problem !](https://wordpress.org/support/topic/plugin-wp-trader/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-trader/#post-2556510)
 * **update**: just commenting isn’t enough, _sqlesc_ as defined in _function-torrent-
   post.php_ first asks if its input is numeric in order to parse (which seems logic).
   however, its homonyme in _announce.php_ doesn’t, so using the first in place 
   of the second will cause further bugs… not quite sure why: are hashs numeric?
   my guess is they are hexadecimal, in which case _is\_numeric_ would return _true_.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin WP-Trader] Seeders and Leechers Problem !](https://wordpress.org/support/topic/plugin-wp-trader/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-trader/#post-2556509)
 * Hey, just commented **sqlesc** function in announce.php and it worked. I suspect
   there should be something more elegant though (if not declared… then)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin WP-Trader] Seeders and Leechers Problem !](https://wordpress.org/support/topic/plugin-wp-trader/)
 *  [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-trader/#post-2556508)
 * yep, same problem here when updated to .4.8 Beta
 * > Fatal error: Cannot redeclare sqlesc()
 * I’ll try to take a look at the code
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Trader] [Plugin: WP-Trader] peer ids and users](https://wordpress.org/support/topic/plugin-wp-trader-peer-ids-and-users/)
 *  Thread Starter [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-trader-peer-ids-and-users/#post-2576988)
 *     ```
       foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)
       	if (!isset($$x))
       		err("Missing key: $x");
       ```
   
 * i think this is the issue, in **announce.php**, while indeed the passkey is only
   used if we’re set to members only, the parameter is still required for the request.
   
   therefore in the _wp\_trader\_peers_ table i’m getting all passkeys saved as **%
   s**, should this be?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Trader] [Plugin: WP-Trader] peer ids and users](https://wordpress.org/support/topic/plugin-wp-trader-peer-ids-and-users/)
 *  Thread Starter [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-trader-peer-ids-and-users/#post-2576987)
 * You mean just **[http://mysite.com/announce](http://mysite.com/announce)** should
   work as the tracker address? Right now i’ll get a _Missing Passkey_ error if 
   set so, the only way i’ve succeeded transferring is adding **/?passkey=%s** to
   the url, which is being sent litterlaly like that… i imagine that **%s** is meant
   to be a wildcard isn’t it?
    (I have Members Only : NO.) Else, when you say registering,
   are we talking about the same user/pass that wordpress uses?
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Trader] [Plugin: WP-Trader] uploader privileges](https://wordpress.org/support/topic/plugin-wp-trader-uploader-privileges/)
 *  Thread Starter [numerico](https://wordpress.org/support/users/numerico/)
 * (@numerico)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-trader-uploader-privileges/#post-2540637)
 * sayemo, setting the parameters in my previous post solved the problem for me,
   apparently the issue is they won’t take effect until you restart apache. greetings.

Viewing 10 replies - 1 through 10 (of 10 total)