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.
[SOLVD] self registration pb
[SOLVD] self registration pb
Last edited by orb42 on Wed May 05, 2010 9:31 pm, edited 1 time in total.
-
vilkis
Re: self registration pb
You have error in template Post Registration Template, probably. Can you post here that template?
vilkis
vilkis
Re: self registration pb
hello :)
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]
Both "register" page and "home" page have the cachable option quoted (on PAGE > OPTIONS > cachable)Dr.CSS : Is the page set as not cached?...
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.
Re: self registration pb
If "quoted" means there is a checkmark in the cachable box, then you need to REMOVE it. Pages using FEU/CC cannot be cachable.orb42 wrote: hello :)
Both "register" page and "home" page have the cachable option quoted (on PAGE > OPTIONS > cachable)Dr.CSS : Is the page set as not cached?...
is that what you mean?
-
vilkis
Re: self registration pb
You have errors in the second template
Try to replace it with the following:
vilkis
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 -->
Last edited by vilkis on Wed May 05, 2010 9:17 pm, edited 1 time in total.
Re: self registration pb
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.
[glow=yellow,2,300][/glow]
with "" and i thought it was linked.
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.

