jaromy
Forum Replies Created
-
Forum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListHi Luciano – yes, you need to have phpList version 3.0 or later installed. I’ve only tested it with 3.0.10 and 3.0.11, but I believe any 3.0 version will work.
Cheers,
JForum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListhi boogz,
Are the domains different for your website and phplist? if so, have you tried the .htaccess file as described above?
I need a bit more information in order to help you. Please let me know as much as you can and be specific.
Forum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListHi terryleep777,
The code you tried won’t work in this situation – it’s really only good for resolving www / non-www issues. In your case, you actually have a different subdomain specified (“lists”). So we need to do something a little different.
Basically, the problem lies with AJAX not allowing cross-domain calls by default (something I alluded to earlier and thought was the original problem with gingerling’s website). So we need to enable these cross domain calls for you.
Add this code to your .htaccess file on the lists.csbug.org subdomain (.htaccess should be in the root directory of this subdomain). There are the lines to add:
# Allow Cross-Domain AJAX with AJAX withCredentials=false (cookies NOT sent) Header always set Access-Control-Allow-Origin "http://www.csbug.org" Header always set Access-Control-Allow-Methods "POST, GET"Cheers,
JForum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListFor more info about the pros and cons of www vs. non-www:
http://www.sitepoint.com/domain-www-or-no-www/
http://www.yes-www.org/why-use-www/
http://joomlaseo.com/Checklist/choose-www-or-non-wwwForum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListForum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListI see what is happening…. and I was able to reproduce the problem here on my end.
When I visit http://gingerling.co.uk/, the URL gets redirected to http://www.gingerling.co.uk/. So, there’s no access to just gingerling.co.uk (w/o the www). But, the phpList subscribe page (http://gingerling.co.uk/lists/?p=subscribe&id=5) does not get redirected, and it’s URL works with or without the ‘www’.
AJAX needs the domains to be the same, so that’s why the plugin works when you add the www to the subscribe page URL in the widget settings.
As a suggestion, you might want to consider altering the .htaccess file on your website to make the URLs more consistent. You’ll still be able to access it either via http://www.gingerling.co.uk or gingerling.co.uk, but the .htaccess will force a redirect and change the URL. You can choose whether you want to always redirect to the www prefix, or just the domain, sans www prefix.
I actually had the same issue here on my server (www.jrussomusic.com), if I used the URL without the www. I changed the .htaccess file and now there’s no confusion. As a side-benefit, apparently this helps with SEO rankings because your site is not considered a duplicate.
These are the lines I added to my .htaccess file:
RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]So, just replace ‘yourdomain.com’ with gingerling.co.uk.
Cheers,
JForum: Reviews
In reply to: [Sign Me Up] Thank!You’re welcome mariez, glad it is useful!
Forum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListthanks for this info gingerling. I’ll see if I can reproduce the issue here on my end. It does sound like a bug though.
Forum: Plugins
In reply to: [Sign Me Up] "Unfortunately a network error occurred" on self hosted phpListHi gingerling – what is the URL or domain of your wordpress installation? I’m guessing this might be an issue with AJAX prohibiting cross domain calls. So for example, if your phplist resides on gingerling.co.uk, your wordpress site would also need to reside on gingerling.co.uk.
…
hmmm… ok, I actually just looked at the links you sent. Prob should have done this first, haha. It looks like the phplist subscribe page for gingerling.co.uk has a few extra fields – make sure you strip it down to just the email address field. So, remove the email confirmation and also checkbox for text format.
See if that works. if so, I’ll need to fix the error reporting to make it less cryptic/generalized.