Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 7, 20177 yr Hi All, I use IPB 4.1 and installed MEMCACHE on my server. 1) What is the Server address that should be provided ? Is it my Server's IP address and the Port where Memcache is running ? Any other things to be done to make Memcache working ? 2) How does MEMCACHE affect Google Ads ? If a page is cached and served to (lets say, 100 people), the Google Ads in that page render properly ? Do they load different Ads for each of those 100 people ? (or) Ads also get cached and same Ad gets displayed for everyone ?
October 8, 20177 yr You should set it as the example: 127.0.0.1:11211 as it is on local server and you will need an internal connection... Memcached is for object caching in ram and you shouldn’t have any issues with your Ads ;-)
May 9, 20186 yr Hi, So the at giving server details is it 127.0.0.1:11211 or my serverip:port where memcachd running?
May 9, 20186 yr Hi, So the at giving server details is it 127.0.0.1:11211 or my serverip:port where memcachd running? Holy necropost Batman! (To answer, it's the 2nd, your server IP and port on that server where memcached is running.)
May 9, 20186 yr If memcached is on the same server as your forum then use 127.0.0.1:11211 and if you have the memcached on an external server then you can use the server ip. Also if it is on external server remember to open the port on firewall on both servers ?
May 10, 20186 yr My mecached is on the same server as my forum. I am giving the 127.0.0.1:11211 but its throwing The servers provided are not valid.
May 10, 20186 yr That means that the software was unable to connect to the server/port for some reason.
May 10, 20186 yr My mecached is on the same server as my forum. I am giving the 127.0.0.1:11211 but its throwing The servers provided are not valid. 1. Install memcached 2. Install and enable memcached PHP extension then try either with: localhost:11211 or 127.0.0.1:11211
May 11, 20186 yr If the extension wasn't installed you wouldn't be able to access the form fields that are in the screenshot (because the radio option would be disabled). Most likely the problem is that the memcached server is not running, or a firewall or similar script is blocking PHP from being able to connect to memcached.
December 3, 20186 yr Just bringing up this old-ish thread. When receiving the error mentioned above "The servers provided are not valid". What are a few things we can look at to solve this issue? Opening certain ports, checking if they are blocked by firewall etc? Thanks :)
December 3, 20186 yr Yes, if you are certain the address and port values are correct, the most likely problems then are: Firewall may be blocking access to the port DNS may not be translating as you might expect (e.g. I had a client recently advise me to use the public server IP address or hostname, instead of 127.0.0.1/localhost, to access Redis).
December 4, 20186 yr Thanks @bfarber I'll look into this. I'm thinking the access to the port may be blocked by the firewall.
December 4, 20186 yr I've looked into this, allowed incoming and outgoing ports and have tried the localhost IP address, hostname and public IP. but it still gives me the error... "The servers provided are not valid" I must be misunderstanding something.
December 13, 20186 yr All fixed for me now. My issue was that memcached didn't install correctly, or I didn't install it correctly. Now it's perfect :)
December 13, 20195 yr Can I ask, what was the behaviour for the Google Adsense ads when you didn't have the cache setup correctly? I am having intermittent issues with ads showing. I've completely turned off caching, but that doesn't seem to make a difference.
January 17, 20205 yr @Jeffrey Roberts I just happened to check out this post while looking something up as my memcached isn't working again, then came across your post. I also have the same issue with Google Ads. My homepage displays them fine but in the forum I have the intermittent issue.
February 4, 20205 yr @Jeffrey Roberts I just happened to check out this post while looking something up as my memcached isn't working again, then came across your post. I also have the same issue with Google Ads. My homepage displays them fine but in the forum I have the intermittent issue. I am starting to think that Adsense is not displaying ads intermittently because 1) Not enough content on a page 2) Can't read the page properly because it is (re)built with AJAX 3) Some other reason I have still not figured out
February 5, 20205 yr I am starting to think that Adsense is not displaying ads intermittently because 1) Not enough content on a page 2) Can't read the page properly because it is (re)built with AJAX 3) Some other reason I have still not figured out It seems to be working well on my site at the moment. I have ads displaying fine on pages with very little content. The main page I usually have issues with is the Unread Content page.
Archived
This topic is now archived and is closed to further replies.