theAlpinePress
Forum Replies Created
-
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Instagram feed not found errorIt sounds like the server your website is hosted on has been blocked from Instagram. I test the plugin frequently and so I would be surprised if you got yourself blocked by just changing around the settings. Seems more likely that another user on your server is responsible. But who really knows?
Thank you for passing along the stackoverflow link. It does not look like anyone else was able to come up with a solution though.Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Instagram feed not found errorThanks for letting me know. I assume you are using a shared server and perhaps another user got the entire server block (just an unfounded idea, but might explain why it stopped working). Regardless, I’m sorry the plugin, and ever other Instagram plugin, is not working for you.
Best, EricForum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Instagram feed not found errorSorry for the delayed response. Are you still getting this message?
A 500 error code means that an error occurred on the Instagram side of things. “Worked for a short time” is an important detail. Perhaps Instagram went down for a period of time or perhaps there are other settings that prevent you from receiving data. I would contact your hosting provider and see if they can connect to instagram.com using the cURL php extension.
Have you tried any other Instagram plugins? If other plugins worked and mine did not, I would appreciate hearing so that I can check what they do differently.
Best, Eric
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Top of my images are being cut offYou can adjust the aspect ratio of the large gallery image. To prevent the top from being cut, set the Aspect Ratio Width and Aspect Ratio Height to the same number.
I think that should solve the problem.
Best,
EricI am really sorry, but I cannot think of anything. The “store user information” button should not take you anywhere. You should end up on the same page and the info should simply be saved in the WordPress database. I am not sure what would cause you to be redirected, but it sounds like that is the reason the information is not being saved.
I will let you know if I think of anything.
EricForum: Plugins
In reply to: [Alpine Photo Tile for Instagram] no plugin – error message on latest updateI have not seen that error before. Could you try and edit the plugin by going to Plugins->Editor. Select the Alpine plugin in the top right. Then open the alpine-photo-tile-for-instagram/gears/alpinebot-display.php file. Find the function retrieve_from_cache( $key ). Inside this function, there are a line that reads:
$results['hidden'] .= '<!-- Retrieved from transient -->';The code appears at line 91 of the file, though I don’t think the WordPress editor shows the line numbers. Can you first try replacing the line with$results['hidden'] = $results['hidden'].'<!-- Retrieved from transient -->';and try loading the page again? If that does not help, can you try deleting the lines all together? Please let my know if anything changes or if the problem persists.Best,
EricForum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Kindly update your documentationSorry about that and thank you for finding the correction.
EricForum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Instagram feed not found errorSorry, there is not currently a way to show the user, but I do think it’s a good idea. I’m still trying to decide how to add captions, but I am working on it.
Best, EricI am really sorry you are experiencing so much trouble. Working with WordPress should be quick and easy, and this certainly has not been the case.
Honestly, my best advice is to try another plugin. If another plugin works, the problem is with my plugin (which I would greatly appreciate hearing about. I could then check what they do differently and try to isolate the issue). If errors continue, the problem is with your server. I do not mean to suggest that your hosting provider is bad. The plugin must make several requests to Instagram and parse the results. The reason for the cache is that this is a slow and demanding task. However, you are seeing inconsistent behavior, which makes it really hard to identify the problem (especially if I cannot reproduce it).
If it helps, you can tell your hosting provider that the plugin needs the cURL and JSON extensions for PHP (which you clearly already have) and that you have noticed it inconsistently connects to instagram.com (which could very well be the plugin’s fault).
Sorry again for your trouble. I enjoy the problem-solving of coding, but I certainly know that it can be frustrating to spend so much time and not feel like the problem has been fixed.
-Eric
Are you still getting that message? That error is the reason for the most recent update. Did I not fix it?
No problem. I have crashed my websites many times.
Ok, an Internal Server Error is beyond my control. It sounds like the server hosting your website is (periodically) unable to connect to Instagram. In other words, it has all the necessary tools and the code works, but the server fails nonetheless.
You could try some other Instagram plugins. Maybe they do something differently, but I suspect the problem is with the reliability of your hosting provider.
Oh no. You should be able to log into your hosting provider and change/remove the file. If you go to the file manager of your hosting provider, there will be a folder in /wp-content/plugins called alpine-photo-tile-for-instagram. You should then be able to edit the file or just delete the entire folder, removing the plugin.
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] Instagram feed not found errorHello,
I checked your website and saw the problem you described on the Driver page. I noticed that you are using the User Tag option, which I know to be a little problematic. Instagram does not actually let you filter by user AND tag. Therefore, the plugin fetches many photos for the user and then searches the results for the desired tag. Because of this, the plugin may need to contact Instagram 2 to 4 times before it has found enough photos. In your case, I think this is causing the plugin to timeout (maybe your server is a little slow to make the request or Instagram takes a little too long to respond). However, as you have seen, if you try again, things may start to work.
Recommendations:
First, I have increased the max fetch time from 10 seconds to 20 seconds (you can delete and re-install the plugin to see if this helps). This might solve your problem but it might also increase the load time. Second, you could try the “Loading Test” on the plugin’s “Tools” page to see if it gives a useful message. Third, displaying fewer images should help.
Sorry I don’t have the perfect answer, but “sometimes” problems are actually much harder to solve than “every time” problems.
-EricI have added get_transient to update 1.2.7. You are certainly right. It is much faster. Please let me know if you have any other suggestions.