rock-solid / wordpress-mobile-pack

WordPress Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps
https://wpmobilepack.com/
MIT License
48 stars 22 forks source link

Not Working With Wordpress.com server #53

Open bedelboseli opened 5 years ago

bedelboseli commented 5 years ago

Describe the bug Mobile Pack PRO not Working With Wordpress.com server, Locking the site.

Expected behavior

Screenshots: Screenshots image: https://goo.gl/ZZuJwk

WordPress setup:

Smartphone:

anghelalexandra commented 5 years ago

Hey @bedelboseli ,

Is it possible for you to share the full URL so I can check for errors in Chrome Developer Console?

Also, is the admin panel loading properly?

bedelboseli commented 5 years ago

Hello Anghelalexandra,

anghelalexandra commented 5 years ago

Please go ahead and activate it

bedelboseli commented 5 years ago

Ok, Now active.

bedelboseli commented 5 years ago

Now that the site is closed (Locking) for active. You must hurry up.

anghelalexandra commented 5 years ago

Ok, thanks, you can deactivate it now.

Here is the error, the endpoints that are supposed to export the app settings and content are not accessible:

https://haber.zer.news/wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php?content=exportsettings

https://haber.zer.news/wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php?content=androidmanifest

Do you have access to the PHP error log and, if yes, can you check what are the latest errors? 500 Internal Server Error is a general error that is masking what is happening in the backend. It's very likely there's a conflict with another plugin.

anghelalexandra commented 5 years ago

Also, there's one more thing to try - if you are using a cache plugin, you can try resetting the cache and / or, depending if the cache plugin allows it - add the route wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php as an exception. This route represents an API so ideally it shouldn't be cached.

bedelboseli commented 5 years ago

I, all the other plugins were disabled the and PHP error log didn't produce any error message. Mobile Pack PRO not working. I can make you an administrator (Web Site)

anghelalexandra commented 5 years ago

Please do not give me access, I don't recommend giving anyone access to your admin panel.

Back to the error log, it's possible your error logging is deactivated. I'm not a Wordpress.com user, so I don't know from where this option should be enabled.

If you don't have access to the exact error so we can continue debugging, we can also issue a refund.

bedelboseli commented 5 years ago

I think we should focus on solving the problem. Money is not important 👍 Because Mobile Pack PRO so great and best!

Wordpress.com Hosting Said: "I've checked your error logs, and there aren't any errors for WordPress Mobile Pack, unfortunately! There also isn't a way to add an exception to our caching on a site-by-site basis, so the suggestion that was made to add an exception for wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php wouldn't be possible. I hope this helps! Please let me know if there’s any other information I can provide. Thanks!"

anghelalexandra commented 5 years ago

Thanks for the update. It does seem like the error is in the content.php file. There are a couple of things to try:

1) Do you have a custom named configuration file? Instead of wp-config.php, does it have a different name?

2) In the wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php file, can you comment line 8 like this:

// error_reporting(0);

After commenting, activate the plugin for a couple of minutes and access the URL: https://haber.zer.news/wp-content/plugins/wordpress-mobile-pack-pro/frontend/export/content.php?content=exportsettings.

If the URL is showing an error, just take a screenshot. After taking the screenshot, deactivate the plugin.

If the URL is showing the general error message (Internal Server Error), deactivate the plugin and recheck the error log.

bedelboseli commented 5 years ago

I changed my web site server. Now working. Thank you.

anghelalexandra commented 5 years ago

@bedelboseli That's good news :). Do you perhaps know what is the difference between your old server and new server? If yes, please leave a comment here so other users that are having the same issue can try it out.