CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #31396

DMS stops working on TYPO3 4.6

Added by Tomita Militaru over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2011-10-29
Priority:Must have Due date:
Assignee:Tomita Militaru % Done:

100%

Category:- Spent time: -
Target version:-
Votes: 2 (View)

Description

Installed & configured DMS on TYPO3 4.6, but in frontend the signup form is not loading, only blank.
Tried it on TYPO 4.5.4 with no problems.
Deprecation log:
http://pastebin.com/X4viFF7k
No other errors in log.

Direct Mail Subscription 1.1.1

History

Updated by Ivan Dharma Kartolo over 1 year ago

  • Status changed from New to Under Review
  • % Done changed from 0 to 90

please check the latest version in SVN. it's fixed there. I am doing some last testing. If you could test the latest version in SVN and give me some feedback, it would make things faster.

Thank you.

Updated by Tomita Militaru over 1 year ago

Thanks Ivan, I will use the version from SVN and report back!

Updated by Tomita Militaru over 1 year ago

I can confirm that the form appears on the FE!

Many thanks :)

Updated by Ivan Dharma Kartolo over 1 year ago

  • Status changed from Under Review to Needs Feedback
  • Assignee changed from Ivan Dharma Kartolo to Tomita Militaru
  • % Done changed from 90 to 100

It's great that the form appears in FE, but does it also functional :) ?

Updated by Tomita Militaru over 1 year ago

I was just testing now and it seems that when signing up the new user is not saved, same page seems only to reload, no confirmation / error message.
I've manually put in a user and when trying to sign up with the same email address I do get the warning that the email address already exists.
Unsubscribe / edit seems to work.

Updated by Tomita Militaru over 1 year ago

After debugging, it seems it was just a confusion with the TS settings for my last comment, by default the gender field is required, but by default the form does not display the gender field. Since in the code you use debug() function instead of t3lib_div::debug() I couldn't see any error / warning message.

So, it seems that the extension works now in TYPO3 4.6, are you planning to make a small release soon / today with this?

Thanks

Updated by Ivan Dharma Kartolo over 1 year ago

  • Status changed from Needs Feedback to Closed

1.2.0 just uploaded to TER. found and fixed a compatibility issue with < 4.6.x
closing this issue :)

Updated by Tomita Militaru over 1 year ago

Great, thanks for the quick release!

Updated by Stephanie Mädel over 1 year ago

  • Status changed from Closed to New

Is it really working?
I`ve tried it in 2 several installations but no user data will be stored in the backend.
2 other persons have the same problems.

Tested with:
Typo3 4.6.0
tt_adress 2.2.1
direct_mail 2.6.10
direct_mail_subscription 1.2.0

Updated by Ivan Dharma Kartolo over 1 year ago

TYPO3 please in CAPS :)
added static template?

Updated by Stephanie Mädel over 1 year ago

  • % Done changed from 100 to 80

Static Templates are included.

Another person told me that the subscription is working on a fresh installation of TYPO3 4.6 but not on his old updated version .
I`m pretty sure that`s the problem.
I`ve also tried the subscription only on updated versions of TYPO3 (in my case: TYPO3 4.2 to 4.6) and not on a fresh installation.

How can we solve this?

Updated by Ivan Dharma Kartolo over 1 year ago

send me your TS. pls keep in mind, that this version has it owns feadminlib-Skript.

Updated by Stephanie Mädel over 1 year ago

  • % Done changed from 80 to 100

It`s working!!!
but only if you put this TS Code in your Template:

plugin.feadmin.dmailsubscription {
table=tt_address
create.preview = 0
create.overrideValues.disable = 1
create.overrideValues.module_sys_dmail_html = 1
create.fields = name, hidden, email, module_sys_dmail_category, module_sys_dmail_html
create.required = email, name
edit.fields = name, email, module_sys_dmail_category, module_sys_dmail_html
edit.required = email, name
}

Another person and me solved it with the above code.
But why is it needed?
We couldn`t understand it.

Usually we only needed:
plugin.feadmin.dmailsubscription {
pid = 56 (user data will be stored)
email = myadminmail
emailName = myemailname
}

Updated by Ivan Dharma Kartolo over 1 year ago

  • Status changed from New to Closed

@Stephanie: because something overrides the static template???

Updated by Ferdinand Kuhl over 1 year ago

This all did not work for me.
No form has been shown at all.

I investigated and found out, that TYPO3 had not generated the tt_content.list - Typoscript usually done by "t3lib_extMgm::addPlugin".

After adding the following lines to my setup everything worked as expected:

tt_content.list.20.21 = CASE
tt_content.list.20.21 {
  0 =< plugin.feadmin.dmailsubscription
  key.field = layout
}

Updated by Ferdinand Kuhl over 1 year ago

Ah! And now I know the problem: It has to be included BEFORE css_styled_content... which is quite surprising ;)

Updated by Tomita Militaru about 1 year ago

Ferdinand Kuhl wrote:

Ah! And now I know the problem: It has to be included BEFORE css_styled_content... which is quite surprising ;)

I can confirm the latest version works OK on latest TYPO3 4.6.4 version.

Also available in: Atom PDF