Closed (fixed)
Project:
Simplenews
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2008 at 12:05 UTC
Updated:
21 Jun 2008 at 22:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
roblogComment #2
sutharsan commentedBelow the body text field you should have a fieldset 'Newsletter sending options' there you find the radio buttons.
Comment #3
roblogHi. No the fieldset is not there! This is very problematic because it means that although I can generate newsletters, I have no way of sending them. Have you got any ideas why the fieldset is not there? (Drupal is very new to me). Rob
Comment #4
sutharsan commentedIt may be an other module that interferes with Simplenews. Thy to disable all non-core modules. If that solves the problem, enable them one by one. Its crude but it may work.
Access permission should have no effect on the sending options fieldset, but who knows. Do you experience this problem as user/1 or as a user with limited Simplenews permissions?
Comment #5
roblogI've disabled everything possible, and uninstalled every module that I loaded. No luck, still no sending options. The problem is occurring as user/1. Just enabled permissions for an anonymous user, but this didn't work either.
I get the following message on the Status Report, might it have anything to do with it do you think?:
PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.
Comment #6
sutharsan commentedregister_globals does not give this effect (I tested this) but should be dealt with. The standard drupal .htaccess file does take care of this, but that's a different subject.
I can not reproduce your problem in my test enviroments. Please describe all steps, starting with a clean install (!), to reproduce and I am more than happy to investigate.
Comment #7
roblogOk but I need to ask my friend to make the clean install, and this may take a bit of time. Will get back to you when this is done. Thanks.
Comment #8
roblogHi again. I've just downloaded the latest release, and installed it in a clean install of Drupal 6. I enabled the module, and set all permissions (including taxonomy). Configured a newsletter, and subscribed my email address to it. Configured the block, and unsubscibed, then resubscribed from it, no problem. Then when I go to create the content, the radio buttons are still not there.
The newsletter is visible in admin>content management>newsletters>drafts as a draft. However, there are no check boxes. When I refresh the page, the check boxes appear momentarily,then disappear. This happened a few days ago when I first installed the module (previous version), but then after a while of messing around the check boxes appeared, with a tick in published and a cross in sent. I thought this was strange, but put it down to me not knowing the module very well, and not having it configured properly. I am now very familiar with the module, and am convinced this is part of the problem.
Also there seems to be a problem with newsletters>subscriptions: the same thing happens with the check box for status, which appears momentarily when I refresh the page, then vanishes.
Also there is something weird with the check boxes in edit subscriptions. With this installation they are fine. However in the previous installation, there were no ticks in the checkboxes, whatever I did.
Please can you advise what I should do next?
Comment #9
sutharsan commentedIn the latest version I fixed a bug in the subscription form. That explains your last observation.
When check boxes appear and disapear I expect it to be a browser thing. Try switching off the javascript (used to fold-in and -out the fieldsets). Look into the (browser) source code of the page if the checkboxes are there and not on the screen. Try different browsers.
Comment #10
roblogHi. I've tried Mozilla Firefox and Internet Explorer, on two PCs with both the original and fresh installation.
I also tried turning of java, and java script, and both of them, on Mozilla. No change.
I get the following warning in the Mozilla error console for the Home >> Create content >> newsletter issue:
Warning: Error in parsing value for property 'display'. Declaration dropped.
Source File: http://creativelocalsolutions.co.uk/robtest/modules/system/defaults.css?B
Line: 43
I looked through the source code for the page, but couldn't see anything that wasn't on the screen.
At the top of the page it says, "Send a newsletter or a test newsletter by selecting the appropriate radio button and submitting the node." Please can you confirm that I am not overlooking something totally obvious, by telling me what the radio buttons are called that this sentence refers to, and where they are located on the page? (I have the following configuration options: menu settings, input format, revission information, comment settings, authoring information, and publishing options.)
Comment #11
roblogHi again, please can you tell me, are their any specific or unusual requirements / settings that need to be in place on the server side, in order for the module to work?
Comment #12
sutharsan commentedRe. #10 inline-block is not a valid css2 value for display. Not something to worry about.
Have you tried to turn off css to see if it is the cause of the problem?
Re. #11 as far as I know not.
Comment #13
toceguera commentedHello ,
I am experiencing the same issue and until I read this thread thought it was my inexperience with this module. I can see all that roblog can see .
I can create newsletters and issues
My check boxes all stay where they are supposed to
I see no radio buttons of any kind that allows me to send the issue.
This is a fresh install of Drupal Core 6.2 and the last version of SimpleNews.
I have no other modules enabled at all.
I will keep watch on this thread to see what comes of it.
Thanks for all your work.
Comment #14
sutharsan commentedThe people how experience the problem are the key to the solution. I made a new install of Drupal 6.2 and the current Simpelnews 6.x-1.x-dev version. This time on an external server and not in my usual environment. No problems what so ever. I can subscribe, create and save a newsletter.
Attached is a screenshot of the newsletter creation for as it should look.
Drupal 6.2
Only default core modules, nothing else enabled.
Simplenews 1.76.2.8 Tue Apr 15 09:17:29 2008 UTC
MySQL database 4.1.22
PHP 5.2.5
Web server Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.7a mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 mod_bwlimited/1.4
Using anonymous user with permission for 'access content' and 'create newsletter' and 'subscribe to newsletters' (no more)
Testing and searching are the only things that can bring a solution closer.
Comment #15
roblogI've just worked out how to remove the style, with Mozilla Firefox. This didn't have the desired effect either.
Comment #16
sutharsan commentedIf the checkboxes are not on in the page source (#10) and this is confirmed by removing the style (#15) and disabling javascript (#10) It sure looks like a problem on the server side.
Only this line (from #8) puzzles me: "When I refresh the page, the check boxes appear momentarily,then disappear."
You talk about check-boxes, but what exactly is missing from the page?
Do you have any abnormal behaviour of any other node edit forms?
Comment #17
roblogI've only been using Drupal about two weeks, but all the other node editing forms appear to be ok.
Apart from the fieldset 'Newsletter sending options' that you refer to in #2, and the disappearing check boxes in the newsletter>>drafts page, I have no way of knowing what else might be missing.
The fact that I have this problem on two PCs, with different versions of windows, with two different browsers, suggests to me that the problem is not at this end.
I'm tempted to see what happens with a Drupal 5 installation.
Comment #18
sutharsan commentedLook at #14 for what might be missing.
Comment #19
sentinel69 commentedHi,
same problem here with a fresh drupal v6.2 installation, running on debian 4 (lamp), nothing changed apart from installing/activating the simplenews module. I've tested creating newsletter issues with different clients on different platforms - same result. Doesn't seem like a client issue...
Please find the screenshot attached.
Any idea?
Comment #20
sutharsan commented@ all who have this problem: What PHP version are you using? (Administer > Reports > Status report)
Comment #21
sentinel69 commentedHi.
my installation is running on:
PHP 5.2.0-8+etch10
PHP memory limit 16M
PHP register globals Disabled
Comment #22
roblogThe entire newsletter sending options section is missing.
Comment #23
roblogPHP 4.4.4
PHP memory limit 40M
PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.
Comment #24
sutharsan commentedThis now looks as a server related problem, not for all installations of simplenews but also not exceptionally. It can only be found through debugging on a server where the fault occurs. If someone can give me full access (user/1, ftp and database) to a clean drupal 6 and simplenews in stall on a server like this, I am willing to investigate the problem further. You can contact me by mail.
Comment #25
roblogI´m with a commercial host, so this will not be possible. I can upgrade to PHP 5.x though, so will see if this makes any difference. Looking at #21 though I doubt if it will.
Comment #26
Eduard Grebe commentedI am also experiencing this issue. The whole section is missing.
Comment #27
sutharsan commentedEduard has been so kind enough to grant me access to his server.
I'll keep you all informed.
Comment #28
sutharsan commentedTo all who have experience this problem: Please read the README.txt in /sites/all and follow the instructions.
Move ALL your contrib modules out of /modules and into /sites/all/modules. The problems you experience is caused by the wrong location of your simplenews module.
Four your convience, the content of README:
Comment #29
roblogThanks Sutharsan, problem solved :-) Rob
Comment #30
Garuda commentedBy following the README and putting "simplenews" module alone in /sites/all/modules directory, my admin does not reconizes it.
If I put it in the modules directory, I can see it in my admin and I can manage it but I don't have the radio buttons.
So I have some difficulty to understand why...
Have a nice day
Pierre
Comment #31
sutharsan commentedSince the transfer of Drupal 4.7 to Drupal 5 this is the way a Drupal system should be build. ALL contrib modules live in /sites/all/modules.
See instruction no. 3 here: http://drupal.org/node/70151
Comment #32
Garuda commentedYou are right! "the contrib" modules should be set in sites directory. Now it works.
It is important to say, if we run 1 site with Drupal 6.2, the simplenews module should be set in sites/default/ directory. If we run several sites, it should be set in sites/all/ directory or sites/www.exemple.com/ directory.
Thanks for your help.
Pierre
Comment #33
sentinel69 commentedHi,
It's also working for my site, so i don't need to prepare a vmware image... Thanks a lot!
The RTFM storry continues ;-)
Michael
Comment #34
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #35
royerd commentedI just wanted to confirm that if simplenews is not placed in sites/all/modules (i.e., if instead you put it in the module folder with other core modules) it will not "send" when you save the newsletter. This is apparently how it's supposed to work, so if you have trouble with the newsletter sending, then make sure it's in the correct module folder.
Dan
Comment #36
goodwillhinton commentedThis is still not working for me.....my modules are all in /sites/default/modules. But I am still not seeing the Newsletter sending options. Any other ideas?
Thanks!
Comment #37
sutharsan commentedYes, another idea. Are you using the newsletter taxonomy as 'tags' (formerly knows as 'free tagging')? or Multi select?
Comment #38
goodwillhinton commentedNope. I am not using the taxonomy as tags or multiselect. When I create a newsletter issue, I have a dropdown to pick one of my two newsletters.
Comment #39
charafantah commentedi am having the same problem too.. using drupal 6.2
i tried with simple news in: /modules/ & /sites/all/modules/ & /sites/default/modules/
and they all don't work, i can save the newsletter, but i cant sent it.
thanks
Comment #40
sutharsan commentedI need some details before I can fix it. Please follow the steps to supply me these details:
1. Add debug code to simplenews.module
Original:
Debug code added:
2. Create a newsletter node
Go to Create content > Newsletter issue (or path: /node/add/simplenews)
3. File debug message
A debug message is now displayed. Something like:
Copy the debug message into a comment to this issue.
4. Restore the code
Restore the simplenews.module code back to its original state.
Comment #41
goodwillhinton commentedThat doesn't look at all like what I got. I added the debug code and here is what I get:
* search_theme_form
* simplenews_node_form
* simplenews_block_form
* simplenews_block_form
Comment #42
sutharsan commentedThen you have found your problem ;) Check your newsletter taxonomy and make sure the right node type is checked ('Newsletter issue' by default).
Comment #43
goodwillhinton commentedIt appears fine though. I have attached a screen shot of this admin section. What am I doing wrong?
Thanks for your help.
Comment #44
sutharsan commentedI looks fine indeed. We need to dig deeper.
The fact that there is no debug message "Array ( ... )" following the "simplenews_node_form" tells me that your newsletter node seems to have no taxonomy assigned.
Can you explain this?
Please change de debug code to:
Copy de debug message to a text file. Remove sensitive information (email address, etc.) and attach the file to the issue.
Comment #45
goodwillhinton commentedHere is the debug msg attached.
Thanks again for your help with this. This sort of assistance is why I chose to use Drupal over all other options.
Comment #46
sutharsan commentedTanks for the compliment.
I can not find any clue in this data. It confirms that the node is a simplenews node and that there is NO taxonomy assigned to it. No select box for taxonomy terms exists on the form.
I start to think that this is not caused by Simplenews.
Do you have this problem (not appearing taxonomy select box) with other taxonomies and other node types too?
Do you use taxonomy access or some module that can restrict (based on) taxonomies?
Can you disable modules one by one to see if the problem disapears?
I have attached a patch I just committed to improve the check for assigned newsletter taxonomy. It is meant to solve most of the above cases.
@Dignan: It may solve your problem, but I don't expect so.
Comment #47
goodwillhinton commentedMaybe I a confused about the taxonomy for simplenews. When I create a newsletter node, I get a drop-down asking which newsletter (I have two) that I want to assign this node to. Is that not the newsletter taxonomy? If not, is there some other taxonomy that I should create?
Should I perhaps start fresh and remove the module and accompanying tables?
Thanks again for your help!
Comment #48
Anonymous (not verified) commentedHello
I confirm that I had the same problem.
The problem came out after upgrading to one release at the beginning of May, the one which contained the split between simplenews and simplenews_action.
After that I also had to move the simplenews module to /sites/default/modules to enable again, but no radio buttons.
By reading this support request, I came to the taxonomy term issue.
It is required that you list the "newsletter" content type as part of the taxonomy vucabolary "newsletter", after that the radio buttons come out.
Still, newsletter doesn't send and lists as "sending" forever, but this is another issue...
Anyway, I consider that the update.php should take care of updating the taxonomy term too.
Bye
Comment #49
sutharsan commentedThe upgrade function does take care of this. I can not explain the problem you experienced.
I further improved the usability of taxonomy and content types in Simplenews.
The attached patch gives the option to choose taxonomy and content type from the Simplenews settings menu. It solves the original issue in a more fundamental way and takes away the indirect use of the taxonomy.
Comment #50
drupallfm commentedI also can't make them appear.
I'm using d6.2, php5, and latest 6.x-1.x-dev of simplenwews.
I install it in /sites/all/modules as described, but can't send any newsletter.
When click in "add newsletter" it appears:
a message:
You can create different newsletters (or subjects) to categorize your news (e.g. Cats news, Dogs news, ...).
and the following fields:
Newsletter name:
Description:
weight:
and the button to save
in #2 it is said: "Below the body text field you should have a fieldset 'Newsletter sending options' there you find the radio buttons"
Bellow the body text field is mean for the Descriprion field?
in #14, the printscreen doesn't resemble with the one that appears to me, as i descrived above.
so, it's really weird...
in send issues and draft, all empty, even i ran the cron,
Comment #51
sutharsan commentedThe original issue is when newsletter nodes are created (url node/add/simplenews) and not about adding newsletter series (url: admin/content/newsletters/types/add). This issue is not about sending empty newsletters. If that is your problem please create an new issue in the queue.
Comment #52
drupallfm commentedMy mistake, in the node/add/simplenews the radio buttons exist, and it seems they are working.
Thks
Comment #53
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.