Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Zoo visitor issues

Status Resolved
Add-on / Version Publisher 1.2.0
Severity Blocker
EE Version 2.7.3

4thPixel

Feb 03, 2014

Sorry needed to create a new ticket..

Is there anything special I need to do to allow users to register on the FE using ? I’m getting an error when trying to submit the form. I did ignore the zoo_membership channel in the settings of publisher.

Here is the error


A PHP Error was encountered

Severity: Notice

Message: Undefined index: entry_id

Filename: publisher/ext.publisher.php

Line Number: 512
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/PK-EE/cms_admin/codeigniter/system/core/Exceptions.php:170)

Filename: helpers/url_helper.php

Line Number: 558

Thanks
Kevin

#1

BoldMinded (Brian)

I will look into the undefined index error, but M30o93H7pQ09L8X1t49cHY01Z5j4TT91fGfr is definitely not Publisher, its an EE issue. If you google that you’ll find the answer. Its basically because you have identical tags present on the site and it can’t parse the 2nd one.

#2

BoldMinded (Brian)

I still need a URL in which I can recreate the error on.

#3

4thPixel

So the issue is when you are registering using the french language. It works if you register with the default english.

#4

BoldMinded (Brian)

Check out your form template now. I put in an opening tag that works for me locally, but on your site I get an invalid date format error even when I comment out the date field. I use the example Zoo Visitor templates in my test environment and I can successfully register and update a user in the default and non-default language, in an ignored and non-ignored channel. Basically I’ve tested every use case I can locally and it works just fine. Can you simplify your register form, or use the example forms with ZV and try the registration that way?

#5

4thPixel

I put in the ZV form example. It doesn’t work if It works fine in the english (Default) but when I switch to Francais it gives me the entry date issue you mentioned. I know that Publisher is changing the language of the site and language of the core, is it possible that it’s affecting the formatting of the dates as well?

I is there a way to force a page to be defaulting to a language (english) so that at least I can get people to register on the site?

you mentioned that you were successful on a local build. What might be different with the server setup that allows you.

Kev

#6

BoldMinded (Brian)

You can put publisher_lang_id=”1” into the entries tag, which will force just that content to English.

This might take a few minutes, but can you setup a clean EE install with only Publisher and ZV, and use the example templates with ZV to test the registration again? I want to rule out other possible conflicts before I spend too much time digging into this.

#7

4thPixel

Hi, Just did a clean install of EE 2.7.3 with only ZV 1.3.30 and Publisher 1.2.0. Same behaviour. Default language works fine but second language give entry date issue. I’m using the default examples ZV installs.

I will try with Solspace User and see if there is the same issue.

Regards Kevin

#8

BoldMinded (Brian)

What happens if you remove the date field?

#9

4thPixel

Just put in User 3.4.5 and it worked just fine with Publisher. ZV creates a channel entry in the Zoo visitor channel that holds users custom fields. User just adds a user to the members without the custom entry in the channel. For this site I can get away with using User, but I have another project that will require ZV custom fields.

Thanks Kev

#10

BoldMinded (Brian)

Thats fine, but I’d like to figure out what the root cause is at least 😊 Would you be able to package up a build of the site with ZV installed so when I get some time I can dig into it some more?

#11

4thPixel

I’m just wondering if this was ever looked into. I have another client that I want to use zoo visitor and publisher. Using user is not an option for me this time.

I just did a test install with EE 2.8.1 Zoo-Visitor 1.3.32 and Publisher 1.3.4 . When I switch to the secondary language (French in this case) and I use the following zoo visitor registration form:

{exp:zoo_visitor:registration_form return='account/signup/success'}
<div class="row">
 <div class="col-xs-12 col-sm-6">
  <label>* Team Name</label>
  <input type="text" class="form-control" name="team_name" id="team_name" value="{if team_name}{team_name}{/if}">
 </div>
</div>

<div class="spacer-20"></div>

<div class="row">
 <div class="col-xs-6 col-sm-6">
  <label>* First Name</label>
  <input type="text" class="form-control" name="member_firstname" id="member_firstname" value="{if member_firstname}{member_firstname}{/if}" />
 </div>

 <div class="col-xs-6 col-sm-6">
  <label>* Last name</label>
  <input type="text" class="form-control" name="member_lastname" id="member_lastname" value="{if member_lastname}{member_lastname}{/if}" />
 </div>
</div>

<div class="row">
 <div class="col-xs-6 col-sm-6">
  <label>* Email Address</label>
  <input type="text" class="form-control" name="email" id="email" value="{if email}{email}{/if}" />
 </div>
</div>

<div class="row">
 <div class="col-xs-6 col-sm-6">
  <label>* Password</label>
  <input class="form-control" type="password" name="password" id="password" value="{if password}{password}{/if}"/>
 </div>

 <div class="col-xs-6 col-sm-6">
  <label>* Confirm Password</label>
  <input class="form-control" type="password" name="password_confirm" id="password_confirm" value="{if password_confirm}{password_confirm}{/if}"/>
 </div>
</div>

<div class="row">
 <div class="col-xs-12 col-sm-12">
  <div class="checkbox">
   <label>
    <input type='checkbox' name='accept_terms' value='y' {if accept_terms == "y"}checked="checked"{/if}> Accept <a href="#Termsdata-toggle=modal">terms of service</a>?*
   </label>
  </div>
 </div>
</div>



<div class="post-content">
 <button type="submit" class="btn btn-danger btn-lg">Create My Account!</button>
</div>
{/exp:zoo_visitor:registration_form}

I get a date no formatted correctly error (The Date you submitted was not formatted correctly (year-month-day hour:minute))

I tried putting a hidden field and forcing a date, with no luck. the registration works in the default English language.

Thanks Kevin

#12

BoldMinded (Brian)

I haven’t looked into this specifically, no. I do have some test zoo visitor forms in my dev environment and its always worked for me. I can give this another look, but it’ll be a few days.

#13

BoldMinded (Brian)

Did you try this with the native channel:form tag to see if its a Zoo Visitor specific issue? What did the hidden date field you put in the template look like?

#14

4thPixel

I tried with the native channel:form and still the same error.

Is there a way to disable publisher on the form? I forced it to be default language id with publisher_lang_id=“1”

Here is the url where the error shows after form submission

http://sinai-rally.dev/account/team?RET=http://sinai-rally.dev/account/team&URI=account/team&return_url=account/team/success&author_id=7&channel_id=1&entry_id=6&ACT=7&meta=LnAg601ZhELxULGkKOCIvnliLs5PX1DAPHhp+kr2eqRg9F1FyDgGuPo0Z4iZzRPVG0BlOlA1nomLmHZlkHni+KOFGK8EYZWAUnEq6wNPUiwHOALLFIsXNCPepSbr/YqO0zRJYCrgI5mrcRkxN0zshNPmJTS92Wy39uzIYGVcFv+7wxMSKszL0Kd6EVrk2cfGVqslLrsSHpn8T67Qss7/1hCkj1NDn8p/zc6lEmlT46LhBhwReFQct9CE1YDoCNyj6msBXnRql3fmqOf8RqhN4qRE69JmhmugURcFtXRtHjJLiBzhM47N7A9INUjkQaz4eIEpROVwal3GyYpgrB+k9kzRP5XoC5BuU945WrB0eGn6PmxwVE8lZ40pAA4DbB/4sS9qRJO8e9IInonYWXaoJOffTEoSooqDKvzfSLb3qbXFotA7QeSFaAh+GvooDvKjszEA4O8W2WemsG3Sot1HzPil+As2slnbvkC3uDny65f6vFH0ckEXIkjMnYnmRFqH&return=account/team/success

#15

BoldMinded (Brian)

No, cant just disable it for that tag. You’re getting the error on the native entry_date field, right? This is so weird.

#16

4thPixel

yes the error is “The Date you submitted was not formatted correctly (year-month-day hour:minute)”

I did something crazy. I duplicated the english language pack and renamed it french and used that as my secondary language. Everything worked out of the box. I’m guessing there is an issue with the language pack that I downloaded here https://github.com/EllisLab/EE-Language-French

I’ll do a compare between the language packs and see where they differ. The issue isn’t published but this language pack that was installed.

For future reference you’ll know what to do to fix it.

Thanks for your patience!

Regards Kevin

#17

BoldMinded (Brian)

That certainly is weird.

Login to reply