user/register not calling register.tpl

Author Message

Jeremy B.

Tuesday 01 September 2009 9:23:37 am

Hi all,

A problem appeared within a few days with my site : accessing user/register is not calling the register.tpl file.

When accessing user/register/2, the template file register.tpl is loaded right. But when accessing user/register, I have in the $module_result the homepage node displayed (nodeId -> 2) instead of having no node displayed, but the module.

I had a few custom modules for user, and URL translators to redirect from user/register to myusermodule/register.

I deleted all : custom modules, url aliases and also deactivate my site extension (all my site is in an extension). Since then I'm with a plain_site package, that display the homepage when accessing user/register.

Additionnaly, when a user register via myusermodule/register (that is called normally), the user is stored in DB, but I can't see it in the admin (strange...). I assume that these problems are linked.

Can somebody help plz ? I really can't figure out what is happening here :(

Thanks very much in advance.

Jeremy B.

Tuesday 01 September 2009 11:07:48 pm

After some more digging, I'm pretty sure about :

- Accessing user/register does not execute register.php. Strange.

- It is a database problem. If activate my site extension on a fresh install, user/register is working. If then I do a an import from the original install to the fresh install, then it's not working anymore.

Any idea ? Any suggestion would be greatly appreciated :)

Thanks

Jeremy B.

Wednesday 02 September 2009 4:47:55 am

Reply to myself,

Can't figure out what happened.
Anyway, I just reinstalled my extensions on a fresh install. I then created packages for content classes and content nodes from the original install to the fresh install.

After correcting some things, my site is working well again :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.