Forums / Setup & design / Can't Login (anybody out there?)

Can't Login (anybody out there?)

Author Message

Victor Hugo

Tuesday 04 November 2003 11:01:41 am

I published the question below a couple of days ago but got no answer. Can I hope to get one? Or would the incredible magic of eZ publish remain secret to my unfortunate being?

Victor

I finally got the installation completed and working. I logged in a first time, played a lilttle then logged out. When I went back to log in, I only got a "login" link (no text boxes) that only take me to another page that looks the same.

I tried to login at

http://mysite.com/ez/index.php/plain_admin

and was taken to

http://mysite.com/ez/index.php/plain_admin/class/grouplist/

I enabled the debugging mode and got this:

eZ debug
Timing: Nov 02 2003 17:19:03
Script start
Timing: Nov 02 2003 17:19:03
Module start 'user'
Warning: eZTemplate Nov 02 2003 17:19:03
No template could be loaded for "user/login.tpl" using resource "design"
Timing: Nov 02 2003 17:19:03
Module end 'user'
Timing: Nov 02 2003 17:19:03
End

I checked that design/admin/templates/user/login.tpl was there and it is (775 permissions).

I installed eZ publish 3.2-3 in a shared hosting service with no shell access which runs Apache. MySql version is 3.23.49a.

Thanks for your help.

Victor

Kai Duebbert

Tuesday 04 November 2003 10:13:11 pm

Hi,

Did you also check "design/plain_admin" (or whatever the design is you have configured in the siteaccess configuration)? Did you clear the cache?

Kai

Victor Hugo

Wednesday 05 November 2003 12:32:06 pm

Hi Kai,

thanks for your reply! I was already tinking about uninstalling eZ. Under the 'design' folder I only have three other folder:

- admin
- plain
- standard

There's a 'login.tpl' on admin/templates/user/ and standard/templates/user/ but nothing under the 'plain' folder.

Regarding the cache issue, I did clear the cache of my browser if that's what you're referring too, but I still see no login boxes ... Do you have anymore suggestions?

Thanks,

Victor

Kai Duebbert

Wednesday 05 November 2003 5:43:42 pm

Hi Victor,

Ok, I think something probably went wrong with your installation. Do the following:

1. Check the file "settings/siteaccess/plain_admin/site.ini.append". In it there is a setting:
...
[DesignSettings]
SiteDesign=plain_admin
...
Now, if it is "plain_admin", then change it to "admin". If it is "admin" already, then something else is *very* wrong.

2. Delete the cache files under directory "var/cache".

Now, try it again. If the "admin" part works now, then also check the file "site.ini.append" in "settings/siteaccess/plain" (or "plain_user"). There the variable "SiteDesign" has to be set to an existing directory in "design".

eZ publish is very powerful, but this also makes it a bit difficult to learn in the beginning. I suggest you read a bit more in the documentation at:
http://ez.no/developer/ez_publish_3/documentation
and especially http://ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site

Hope this helps a bit.

Kai

Victor Hugo

Monday 10 November 2003 12:29:06 pm

Hi Kai,

thanks a lot for your help!

I think something did go *really wrong* then since I can only see an 'admin' folder under 'settings/siteaccess' and no 'plain_admin'

What's recommended in this case? Re-install? If so, what's the best way of doing it?

Thanks again!

Victor

Kai Duebbert

Monday 10 November 2003 7:00:22 pm

I'd recommend a reinstall. Not much to lose anyway.

Kai