[SOLVD] self registration pb

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
orb42
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 26, 2010 7:44 am

[SOLVD] self registration pb

Post by orb42 »

hello,
cmsms 1.6.7 (because my host does not support php 5.2)
selfregistration updated 1.3.2
front end users 1.8.3
theme harley2 modified

when a user register (enter login, pass & mail) and clik the send button, the new page has no template (white page with basic link of my home page) with an error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /mnt/136/sdb/6/1/xxx/tmp/templates_c/SelfRegistration^%%EA^EA1^EA177E39%%module_db_tpl%3ASelfRegistration%3Bselfreg_postreg1_template.php on line 6
.
Why this  ??? thank you.
Last edited by orb42 on Wed May 05, 2010 9:31 pm, edited 1 time in total.
vilkis

Re: self registration pb

Post by vilkis »

You have error in template Post Registration Template, probably. Can you post here that template?

vilkis
orb42
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 26, 2010 7:44 am

Re: self registration pb

Post by orb42 »

hello  :)
Dr.CSS : Is the page set as not cached?...
Both "register" page and "home" page have the cachable option quoted (on PAGE > OPTIONS > cachable)  
is that what you mean?


vilkis : here is Post Registration template:



[glow=yellow,2,300]
{$title}
{if isset($message) && $message != ''}
  {if isset($error) && $error != ''}
    {$message}
  {else}
    {$message}
  {/if}
{/if}
{$startform}
{if $controlcount > 0}
 
 
{foreach from=$controls item=control}
 
    {$control->hidden}
    {if $control->color != ''}
      color}">{$control->prompt}{$control->marker}
    {else}
      {$control->prompt}{$control->marker}
    {/if}
   
    {$control->control}
 
{/foreach}
 
 

{/if}
{if isset($captcha)}
{$captcha_title}: {$input_captcha}

  {$captcha}

{/if}
{$hidden}{if isset($hidden2)}{$hidden2}{/if}{$submit}
{$msg_sendanotheremail} {$link_sendanotheremail}
{$endform}
[/glow]










[glow=green,2,300]
{$title}
{if isset($messasge) && $message != ''''}
{if isset($error) && $error != ''''}
{$message}
{else}
{$message}
{/if}
{/if}
Merçi {$username} de vous être enregistré(e) sur {$sitename}.

Un email vous a été envoyé à l'adresse {$email}.

Il contient un lien pour confirmer votre inscription.
[/glow]
Last edited by orb42 on Wed May 05, 2010 6:33 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: self registration pb

Post by jmcgin51 »

orb42 wrote: hello  :)
Dr.CSS : Is the page set as not cached?...
Both "register" page and "home" page have the cachable option quoted (on PAGE > OPTIONS > cachable)  
is that what you mean?
If "quoted" means there is a checkmark in the cachable box, then you need to REMOVE it.  Pages using FEU/CC cannot be cachable.
vilkis

Re: self registration pb

Post by vilkis »

You have errors in the second template

Try to replace it with the following:

Code: Select all

<!-- Post Registration 1 template -->
{$title}
{if isset($message) && $message != ''}
{if isset($error) && $error != ''}
<p><font color="red">{$message}</font></p>
{else}
<p>{$message}</p>
{/if}
{/if}
<p>Merçi {$username} de vous être enregistré(e) sur {$sitename}.<br />
Un email vous a été envoyé à l'adresse {$email}.<br />
Il contient un lien pour confirmer votre inscription.</p>
<!-- Post Registration 1 template -->

vilkis
Last edited by vilkis on Wed May 05, 2010 9:17 pm, edited 1 time in total.
orb42
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 26, 2010 7:44 am

Re: self registration pb

Post by orb42 »

i saw these [glow=yellow,2,300]'''''[/glow] and thought it was a strange code before but i didnot correct it because there was also  
[glow=yellow,2,300][/glow]
with "" and i thought it was linked.   :(  ->me stupid  I should have tried to correct!

thank you  :D  guys
it works greet now. i should look twice next time .
good night.
Last edited by orb42 on Wed May 05, 2010 9:33 pm, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”