WordPress.org

Ready to get started?Download WordPress

Forums

Safari Push
[resolved] Issue, all people don't recept push (20 posts)

  1. mart03
    Member
    Posted 6 months ago #

    Dear,

    I would like to report a problem, we have detect some many people don't recept all time the push.
    For exemple, monday i have recept all push of my website, but today 3 post are posted and i have nothing recept.. That weird.
    Same for another website using our plugin.

    Thanks for your help

    https://wordpress.org/plugins/safari-push/

  2. macgamer
    Member
    Plugin Author

    Posted 6 months ago #

    I'll need more information before I can help you. Are you sure your push service wasn't down? Have you tried doing a manual push from the plugin settings? Maybe your apple certificate has expired?

  3. mart03
    Member
    Posted 6 months ago #

    All is good service are up, cert are not expired.
    No i not recept then, when i try manual.
    I have sometimes this error :

    [02-Mar-2014 06:40:48 America/New_York] PHP Warning:  mkdir(): File exists in /home/ipodtou3/https/createPushPackage.php on line 122
    [02-Mar-2014 06:40:48 America/New_York] PHP Warning:  unlink(/tmp/pushPackage1393760448): Is a directory in /home/ipodtou3/https/createPushPackage.php on line 123
    [02-Mar-2014 06:40:48 America/New_York] PHP Warning:  mkdir(): File exists in /home/ipodtou3/https/createPushPackage.php on line 122
    [02-Mar-2014 06:40:49 America/New_York] PHP Warning:  unlink(/tmp/pushPackage1393760448): Is a directory in /home/ipodtou3/https/createPushPackage.php on line 123
    [02-Mar-2014 12:33:30 America/New_York] PHP Fatal error:  Call to a member function fetch_assoc() on a non-object in /home/ipodtou3/https/index.php on line 153

    Maybe be you know why ?
    Thanks

  4. mart03
    Member
    Posted 6 months ago #

    Hi,
    I don't know why, i have need to unscribe of push, and re-suscribe and now is good..
    Is very weird, after i recept all time push.

  5. Djib's
    Member
    Posted 6 months ago #

    I have the same problem !

    Some people do not receive the push

    "i have need to unscribe of push, and re-suscribe and now is good.."
    -> Me too

  6. esmi
    Forum Moderator
    Posted 6 months ago #

    @Djib's: It is considered impolite to interrupt another poster's ongoing thread unless you are posting a solution or suggestion. As per the Forum Welcome, please post your own topic.

  7. mart03
    Member
    Posted 6 months ago #

    @esmi it's ok im reassure to see im not alone for this issue !
    Thanks

  8. esmi
    Forum Moderator
    Posted 6 months ago #

    @mart03: No - it's not OK. These forums have guidelines. Please read them. As you will see, one of these guidelines - entitled Where to Post - specifically states:

    Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else's thread. Start your own topic.

    Please abide by this.

  9. mart03
    Member
    Posted 6 months ago #

    @esmi : All right sorry about this.

  10. macgamer
    Member
    Plugin Author

    Posted 5 months ago #

    The best I can do for now is add some logging information to the plugin, which will be in the next release, hopefully this week.

    I see that you're getting errors you probably shouldn't, I'll look into that when I get a chance.

  11. mart03
    Member
    Posted 5 months ago #

    Ok thanks for that !

  12. macgamer
    Member
    Plugin Author

    Posted 4 months ago #

    The version with logging is now live.

    Also I see that Safari 7.0.3 has fixes related to this as well.

  13. mart03
    Member
    Posted 4 months ago #

    Hello,

    Thanks for your reply, but where i can find logs ? in wp-content/plugins/safari-push i don't see any files logs..
    And my error are already here, i don't recep my push...

    Thanks

  14. mart03
    Member
    Posted 4 months ago #

    Hello,

    I have logs now and is same problem...
    Just note for you, when we have a lot lot errors on settings page, is freeze browers and is impossible navigate, for access to settings i need comment your code logging in safari-push.php for hide this, because i have so much data to load, i think need a patch.

    Thanks for your work :)

  15. Djib's
    Member
    Posted 4 months ago #

    I know why.

    If your Mac is recorded at the beginning in the database, you will receive all Pushs. But if the number of registered devices exceeds a certain number, the rest of the list does not receive.

    My tests confirm what I say:

    I put my token at the beginning of the list -> I receive all pushs

    I put my token at the end -> I did not receive anything

    The best solution would be to send tokens to Apple by several small packages.

  16. macgamer
    Member
    Plugin Author

    Posted 4 months ago #

    Duplicate of https://github.com/surrealroad/Safari-Push-Notifications/issues/8 please refer to that thread as it is related to the push service, not this plugin.

  17. macgamer
    Member
    Plugin Author

    Posted 4 months ago #

    Just note for you, when we have a lot lot errors on settings page, is freeze browers and is impossible navigate, for access to settings i need comment your code logging in safari-push.php for hide this, because i have so much data to load, i think need a patch.

    You can resolve this with the following steps:

    1. Edit the wordpress post with the large error log
    2. At the top of the screen, click screen options and make sure "Custom Fields" is checked
    3. Find the field safaripush_response and edit the text or delete the field
    4. Update the post
  18. mart03
    Member
    Posted 4 months ago #

    HI,
    Ok thanks is good now, but i suggest if is possible, to edit directly or just hide message and when we click on log we see errors.. maybe is better, but is good for me
    Thanks

  19. macgamer
    Member
    Plugin Author

    Posted 4 months ago #

    99.99% of the time the log message will be a single line, so I'm going to leave it as it is. What I will do instead is change the push service code so it doesn't spit out an error each time it fails

  20. mart03
    Member
    Posted 4 months ago #

    No problem, is ok :)
    Thanks for your works!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.