tcolling
Forum Replies Created
-
Well, I tried the suggestion and manually decompressed and FTP’d the plugin files to install the plugin. Then I tested it.
Same problem. ??
Meanwhile, you said, “The URLs with slashes was the old ones.”
Do you mean that those were used in Newsletter 3.0.9?
Hi Stefano – You posted your latest message at the same time that I was composing the giant message to you above. I’ll try manually decompressing and FTP’ing the plugin files and try it out.
Thanks for that suggestion,
TimStefano – In earlier messages above, I said:
When I press the “New message” button, I get this URL in the response page:
https://www.trustworthycare.com/sitectrl/wp-admin/admin.php?page=newsletter/emails/new.phpIn response, you said:
Hi, version 3.1 does not generates such URLs, this is very strange.In trying to figure out this problem I hovered the mouse over the “new message” button in the Newsletters module, and my browser displayed this URL as the link associated with that button:
https://www.trustworthycare.com/sitectrl/wp-admin/admin.php?page=newsletter/emails/new.php
Note that this is exactly what I reported before.
Then, on my other website, where Newsletter 3.1.1 seems to work just fine, at ageassistance.com, when I repeat that mouse hover over the new message button I get this URL:
https://www.ageassistance.com/wp-admin/admin.php?page=newsletter_emails_new
Notice the difference? In the problem case, the last part of the URL uses forward slashes as delimiters in “page=newsletter/emails/new.php”, whereas in the non-problem site, the last part of the URL uses underscores as delimiters in “page=newsletter_emails_new”
On a hunch, I tried browsing to this URL: https://www.trustworthycare.com/wp-admin/admin.php?page=newsletter_emails_new
…substituting trustworthycare.com (the URL for the problem domain) for ageassistance.com (the non-problem URL).
The result: I got a 404 error (but not the “you don’t have permissions” error.)
I don’t know whether that’s helpful or not, but I’m just trying to do my best to help solve this problem.
Thanks,
TimStefano – when you asked in a message above, “Did you install it manually?”, did you mean from uploading a zip file?
Anyway, I have tried installing it (over and over again) both by uploading a zip file and by using the easy-to-click tools in WordPress itself.
No change: it still gives me that error message.
I just tried installing what is available on the WordPress site as the “previous version”, which turns out to be 2.5.something.
At least with that version, when I try to begin creating a new message, it doesn’t fail with that error message.
So, I deactivated and deleted 2.5.something and re-installed 3.1.1 from within WordPress.
The same problem persists. I still get a white screen with the boxed message saying “You do not have sufficient permissions to access this page”
<sigh>
I changed from the current theme (Thesis 1.82) to the wordpress Twenty Twelve theme.
The problem still persists.
I’m really stumped. Maybe I should try deactivating and deleting Newsletter 3.1.1 and re-installing the earlier version and see what happens. Can I get access to the install file(s) for 3.0.9, which was the last known version that worked with the site?
I decided to grit my teeth and hold my breath and upgrade the site to WordPress 3.5.1. Thank goodness, the WordPress upgrade went smoothly.
Unfortunately, the problem still exists with Newsletter 3.1.1 (I took the 3.1.1 update).
Hmmm… I don’t know what to try next.
Ok, I deactivated it and reinstalled it and the problem persists. I deactivated all the plugins and the problem still persists. I don’t know what to try next. Obviously, this isn’t a good thing.
What shall I try next?
– Tim
When I press the “New message” button, I get this URL in the response page:
https://www.trustworthycare.com/sitectrl/wp-admin/admin.php?page=newsletter/emails/new.phpWhen I press the “Edit” button for the existing newsletter number 69, I get this URL in the response page:
https://www.trustworthycare.com/sitectrl/wp-admin/admin.php?page=newsletter/emails/edit.php&id=69– Tim
Hi Stefano –
THANK YOU, THANK YOU, THANK YOU!
You said, “If you want the full blog in SSL is should be better to use https:// as protocol on wordpress main configuration.”
I foolishly forgot to change it to https when I installed SSL, which took place after the original WordPress installation took place. This was a good reminder!
You said, “Anyway I can try to create a patch for this problem even if it’s not obvious since change in one part of Newsletter may be it breaks things on other kind of installations.”
Thank you very much but no patch is necessary. I have changed the WordPress general settings fields to reflect the https protocol and everything works great now.
Thanks again!
– TimSSL is back on now.
The form is on my site at https://www.AgeAssistance.com in two places: it’s on the footer of every page, using your widget, and it’s also on a standalone subscription page at:
https://www.ageassistance.com/senior-care-newsletter-subscription/
I currently have SSL turned off in order to avoid the problem, but if you’re going to be looking at it I will turn SSL back on in order for you to be able to reproduce the problem. I will do that right now after I send this reply.
Thanks,
TimHi again –
Any chance of fixing this in time for the release of Newsletter 3.1?
Thanks,
TimHi again Stefano:
Since I still need to solve this I did further experimentation and I discovered what is causing this problem.
First, I tried a number of different themes. That didn’t help the problem.
THEN, I disabled SSL on the site. Bingo! That solved the problem.
So now the question is, why is SSL causing this problem? I tried looking at your code in subscription.php and I found the two lines where the code echoes “wrong email” to the screen. Unfortunately, though, I don’t know enough about php to know how to solve the problem. The two locations that I found were:
1. line 115:
if ($email == null) die(‘Wrong email’);2. line 303:
if (!$newsletter->is_email($_REQUEST[‘ne’])) die(‘Wrong email address.’);I hope you can tell what’s needed to fix this.
Thanks!
– Tim
Stefano, if you could look at this proglam again I would certainly appreciate it.
I upgraded to a new version of the theme that I’m using, the Avada theme from Theme-Fusion.net, and it’s still occurring. My website is at https://www.AgeAssistance.com and the subscription form is in the page footer. This upgrading did not do any good in solving the problem.
I disabled all plugins except for the Newsletter plugin. That did not solve the problem either. (Afterwards, I re-enabled all the plugins).
The site runs SSL with https:// URLs. Is the SSL a problem?
Is there anywhere in your code where the phrase “wrong email” is used?
Thanks,
Tim