ATTENTION!!!
I think that NMS 2.1 has bugs I suggest to NOT INSTALL IT.
Part of this post was in a previous one, since no one answered there and I solved half of it, I closed the old one and moved here the rest of the topic.
In the text I write many times blank page but in reality I mean a normal page (with menu, newsbox, header footer etc. etc.) without the expected content.
Yesterday searching the forum for another issue I found a message from another user that has the same "blank page" problem with NMS 2.1, unfortunately I forgot to bookmark it and I can't find it anymore. Anyway this user said he solved by downgrading to version 2.0, so if this is the solution it is a NMS bug, if someone can confirm that has an NMS 2.1 full working installation please post a message.
I don't want to fill a "false" bug, callguy has already a lot of work to do without looking for ghost bug
I installed the new NMS 2.1 and I started to experiment a bit and I found some problem.
At first some note about my installation:
CMSMS 1.2.3
NMS 2.1
All the other modules updated to the latest version.
I created a page to list the newsletters as follow
{cms_module module='NMS' action='archivelist' limit="15" sortby='date'}
At first I report a "bug" in the help
In the section "Display an archive of past newsletters"
it state that "show='#' where # is the number of past newsletters to show. If omitted, all are shown" in reality the correct (and working) parameter for this is limit=# as also wrote at the end of the help in the parameter list.
I found out also the dateformat parameter (mentioned in the archive section) is not working, maybe in reality is not implemented since is not in the parameter list?
As default it show the timestamp, not really useful.
Anyway I solved changing the smarty template in NMS -> Archive Templates -> Archive Summary Templates
About it another note:
At first I used
{$archived_messages[mysec].date|cms_date_format}
Which I expected to use the date format saved in the Global Setting preference which is "%d/%m/%Y", but it showed also the time not only the date
So I Falled back to the classic smarty which worked as I expected
{$archived_messages[mysec].date|date_format:"%d/%m/%Y"}
Now the real problem is that when I click on the link that should take me to the content of the newsletter I get a complete page (I mean with the logo the menu etc etc) but without the newsletter text.
The link that should open the newsletter is
http://my.site/NMS/59/message/1.html
I use the apache mod_rewrite
I guess it is a link like the one of the news details so it does not need a specific page.
I looked at the html code as from template (the default one Sample) it is supposed to make a table with the newsletter data but no table there.
It is like it ignore the default template or something like that.
Then I tried to subscribe but the link in the confirmation email take me as well to a blank page, so the user can't confirm.
Unsuscribe process, the link in the mail take me as well to a blank page
Then I wanted to manually confirm the new user but, surprise, is not possible anymore manually, at least from the user details. So I confirmed changing directly in the db.
Preference, I can't edit my preference from online, I put the email adress in the form and I get the following message (I have it in italian but the translation should be more or less like this)
Error!
One or more parameters are missing. This action can't continue.
I looked at the code and I discovered a 100% sure bug:
action.usersettings.php
and
action.usersettings_email.php
are THE SAME FILE, so action.usersettings_email.php instead of sending the email expect the result of the click on the link in the email.
EDIT: the preference bug is confirmed also for 2.0 release
For the moment I don't want to downgrade to 2.0, I want to try to debug the blank page issue.
Again if anyone has a working NMS 2.1 installation please post a message.
NMS 2.1 "blank page" problem and SERIOUS BUGS
NMS 2.1 "blank page" problem and SERIOUS BUGS
Last edited by Bobonov on Tue Apr 01, 2008 12:52 pm, edited 1 time in total.
Re: NMS 2.1 "blank page" problem and SERIOUS BUGS
up !
same bug, also with cgextension module...
same bug, also with cgextension module...