admin password from install process does not work (speedy 3.3.5)
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    version 3.3.5 speedy
    platform: ubuntu 9.10

    i used the install routine and specified a password for user admin. at the end the admin interface comes up correctly. i type in user "admin" and the password - but get the reply:

    Login failed - Please make sure that you typed the correct user name and password.

    i tried the install routine twice. the same problem occured. i then used phpmyadmin to change the user in table liveuser_users, using SHA1 for encryption. the entry was changed, but i could still not log in.
  • 7 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    I know just one reason why it could be happened: disabled javascripts on browser side. Please check is js loadable and enabled.
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    i checked for that. javascript is enabled. to be sure: i can also login to the demo site of campsite. i tried konquerer, too. and there i have the same problem for the new install on localhost.
  • It's could be one more reason -- web server configurations. Probably you have an alias in your httpd.conf (for example) which override "javascript/". Check it.
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    hm... good call... this might be a hint (below). but i am at the end of my (admittedly) limited apache knowledge. the apache log files tell me this:
    $ tail /var/log/apache2/error.log
    
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/campsite.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 294 to 222 : URL /javascript/campsite.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 312 to 234 : URL /javascript/fValidate/fValidate.config.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 310 to 232 : URL /javascript/fValidate/fValidate.core.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 315 to 237 : URL /javascript/fValidate/fValidate.lang-enUS.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 316 to 234 : URL /javascript/fValidate/fValidate.validators.js, referer: http://campsite/admin/login.php?error_code=userpass
    
  • Micz Flor wrote on Sat, 22 May 2010 19:21
    hm... good call... this might be a hint (below). but i am at the end of my (admittedly) limited apache knowledge. the apache log files tell me this:
    $ tail /var/log/apache2/error.log
    
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/campsite.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 294 to 222 : URL /javascript/campsite.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 312 to 234 : URL /javascript/fValidate/fValidate.config.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 310 to 232 : URL /javascript/fValidate/fValidate.core.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 315 to 237 : URL /javascript/fValidate/fValidate.lang-enUS.js, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [error] [client 127.0.1.1] File does not exist: /usr/share/javascript/fValidate, referer: http://campsite/admin/login.php?error_code=userpass
    [Sat May 22 19:16:49 2010] [debug] mod_deflate.c(615): [client 127.0.1.1] Zlib: Compressed 316 to 234 : URL /javascript/fValidate/fValidate.validators.js, referer: http://campsite/admin/login.php?error_code=userpass
    


    See on /etc/apache2/conf.d/javascript-common.conf, if you're use Debian. You can remove (bad solution) this file or override it in <VirtualHost>. Do so: "Alias /javascript /path/to/campsite/source/javascript/"
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    thanks alexander. i tried the alias but that didn't work. then i decided to go for the .deb package on sourceforge - and that worked. watching the deb package lines run by in the terminal, i saw a couple of /usr/share/ files with javascript in the path being thrown around. so i assume you put me on the right track. just didn't walk it in the end Smile
  • I never used .deb package. Smile Thank you that tell about your solution.