New user authentification test while i'm on the admin page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AuthPuppy |
Triaged
|
Undecided
|
Unassigned |
Bug Description
After login on the administrative login page, i went to the "Auth Local User section", i clicked on "my account", i thought that having already a user name defined for the administration account, it would be accepted as a local user, but that's ok. So i clicked on "sign up for a new account," i wrote all it need to have a new account, the two checkboxes are checked, and when i clicked on the confirmation button, i get a symfony web page with a 500 interal server error.
This bug is in Firefox.
Changed in authpuppy: | |
assignee: | nobody → Andrei (andrei-halle) |
assignee: | Andrei (andrei-halle) → gbastien (gbastien02) |
Frédéric Sheedy (fsheedy) wrote : | #1 |
Changed in authpuppy: | |
assignee: | gbastien (gbastien02) → nobody |
status: | New → Triaged |
Andrei (andrei-halle-deactivatedaccount) wrote : | #2 |
I'll get back with my config later.
I'll kept all the further bug unassigned. That's a lack of knowledge from myself, i'm sorry about that.
Andrei (andrei-halle-deactivatedaccount) wrote : | #3 |
About this bug that i had, i could make it happened again tonite.
I will not describe it, it is already done . I read the log that i had in the /var/log/
127.0.0.1 - - [23/Jun/
127.0.0.1 - - [23/Jun/
As usual it work like a charm copying and pasting from a linux terminal .... anyway i don't know if it is meaningful for you.
And from the error.log i go this
[Sat Jun 23 23:24:04 2012] [error] [client 127.0.0.1] Connection could not be established with host localhost [Connection refused #111], referer: http://
[Sat Jun 23 23:44:39 2012] [error] [client 127.0.0.1] Connection could not be established with host localhost [Connection refused #111], refere$
Everything was ok when i check if i had all it need to made authpuppy worked, on the page you made to see all the point have been made. It was perfect.
I'm on ubuntu 12.04 lts. I use MySQL instead of Postgress. If you want me to tell you more, ask me.
Thanks,
André
Changed in authpuppy: | |
status: | Triaged → Confirmed |
Frédéric Sheedy (fsheedy) wrote : | #4 |
this bug are not confirmed yet! please read the launchpad guide before doing change on bug report. back to triage, because we need to reproduce your problem.
Changed in authpuppy: | |
status: | Confirmed → Triaged |
Andrei (andrei-halle-deactivatedaccount) wrote : | #5 |
I will not use any of what launchpad have except writing. The bug has been confirmed on my side by two different person, but as i see, and it is ok, this option that i have on my account does have to be used. So i'll use this launchpad on his simpliest basic way.
gbastien (gbastien02) wrote : | #6 |
When you have a 500 bugs, you can get more info by using the symfony debug mode http://
Did your error come from creating the user? If so, it might be related to this one, the email configuration: https:/
Otherwise, reproduce the error in debug mode and post the detailed output.
Andrei (andrei-halle-deactivatedaccount) wrote : | #7 |
Thanks, i'll try to make it in symfony. I never used it, but i'll follow your instructions.
My server is online, Geneviève, so you can access it with the user and password i gave you privatly. http://
Andrei (andrei-halle-deactivatedaccount) wrote : | #8 |
- log-andrehalle.txt Edit (9.7 KiB, text/plain)
Ok, i open my server locallly with http://
I'm not used to symfony. I didn't expect to use it, but it is something new that i'm glad to know (how to make it work)).
I will copy and paste the detail output coming from symfony who is as i can see PHP ( C programming lines) in the log parts of what i just made.
There is now way to make any conclusion at this point if the situation have been resolved or not.
I'll attach to this message what i had in my Symfony log.
I'll get back with this error if there is still something wrong.
Thanks a lot !
Andrei (andrei-halle-deactivatedaccount) wrote : | #9 |
- Admin login screee Edit (87.2 KiB, image/png)
Now, i have two different screen when i type http://
I have the first one who is attached to this message where i only have the administration login page.
But i may have the second one where i have a local user login item with the administration login item.
That's from this windows form where the problem is encountered when i create a new local user. But i can't test it while i use the http://
So what can i do to now ?
I attached, to this message, the two different login screen that i can have.
Andrei (andrei-halle-deactivatedaccount) wrote : | #10 |
gbastien (gbastien02) wrote : | #11 |
I don't see what is the problem from the screens and logs you attached.
But if it works in debug, but not without the frontend_dev.php, try emptying the cache (with the command line, from the authpuppy root directory, you do ./symfony cc )
Andrei (andrei-halle-deactivatedaccount) wrote : | #12 |
Ok i'll try it again and hopefully enabling symfony to have the default login page i have : The one with the admin and the local user on the same page. I'll clean the cache too.
Thanks A Lot Geneviève i appreciate your support and as soon as i'll see the problem in symfony i will send it to you as i'll share it here in launchpad,
Thanks a lot Geneviève,
André
Andrei (andrei-halle-deactivatedaccount) wrote : | #13 |
I did ./symfony cc and i have this : symfony: command not found :(
gbastien (gbastien02) wrote : | #14 |
It's in the root directory of authpuppy, where all the other dirs (apps, plugins, config, web, etc) are. The file is called 'symfony' and must be made executable.
Andrei (andrei-halle-deactivatedaccount) wrote : | #15 |
What i just did is this :
alias symfony=
Now i can make symfony working but ...
I had these error :
I always have this error : PHP Warning: Module 'apc' already loaded in Unknown on line 0
and i had this error once :
Cache directory "/var/www/
I mkdir that subdirectory and i did :
symfony cc, i didn't get any cache eror
but i always have this apc (apc is a PHP Accelerator that i installed with php-pear) error `
PHP Warning: Module 'apc' already loaded in Unknown on line 0
Thanks again Geneviève. My god you work a lot ! :) I'll get back to you tomorrow. Have a good nite.
Andrei (andrei-halle-deactivatedaccount) wrote : | #16 |
I was kind of tired by what i did by making a cache subdirectory where symfony was running yesterday. I've been able to clear the cache files from /var/www where i just made symfony cc from there.
I can't make ./symfony in the system root directory. Somehow, may be that's a lack of knowledge but when we talk about the root directory of a web based application, is it the /var/www/ directory, it may sound silly as a question but as long as it is unknown or undescribed, this can be confusing. So i assumed that the root directory of authpuppy is /var/www.
Anyway, after having the cache cleaned, i still have the problem to create new local user. I can start authpuppy by http://
So, i used : http://
My first question is : Do i need to install symfony even if it is part of the directory structure of authpuppy. All i did on the very begining, was to make sure that i have all the instances of symfony running normally by making a php check_configura
My second question is : It seem that the httpd.conf have no effect. Cause there's a line in it described below :
Alias /sf /var/www/
Who does nothing. I never been able to use sf.
As we talk about some weeks ago, i made some changes in the /etc/host where i have the "127.0.1.1 authpuppy.
I know that my message is long but i couldn't make better making it shorter. There is so much to do. I'll made another Ubuntu 12.04 lts partition and running a new install of authpuppy. But the problems described before remain the sames.
gbastien (gbastien02) wrote : | #17 |
The 'symfony' file is in the authpuppy file structure, in the root of the authpuppy installation, wherever that is. If you unzipped the authpuppy file to /var/www/authpuppy, then you need to
cd /var/www/authpuppy
and then run the
./symfony cc
And if after clearing the cache in the right directory, you still have the 500 error when creating a user, try removing the email validation. To do so, go to 'Manage plugins', then click the apAuthLocalUser
Andrei (andrei-halle-deactivatedaccount) wrote : | #18 |
I'll make what you suggest Geneviève.
I still had the 500 error when i try to make a new user in the running page of authpuppy for this aspect. Even when i launched the ,/symfony cc in the authpuppy directory before. But i never have any error when i'm in debug mode. I can make as much new local network user as i want when i'm this mode.
I will make another installation of a fresh new authpuppy, mysql, apache2, php5 (with all the need related to php and symfony) and i'll be able to see where exactly is the problem. I still have the primary partition of a Ubuntu 12.04 lts distro with what all it need to make authpuppy working. But having two installation's instance of authpuppy would help solving my situation.
I'll do the same for Debian.
If i have an email configuration problem, what can it be done to fix it ? I mean does these settings related to authpuppy only, or do i have to have to configured an email account in Ubuntu ? Or in any other distribution of linux having authpuppy running ?
Finally, I have this question for quite a while now, virtualhost. The main purpose of virtualhost is to have 2 or more web site running on the same machine. But i will always have a single web site running on my machine. So what's the need to have virtual host line in httpd.conf when there is only a single website running ?
Thanks for your excellent support Geneviève
Andrei (andrei-halle-deactivatedaccount) wrote : | #19 |
I'm still having the same error in Ubuntu 12.04 Lts with a Mysql server. I've made a basic installation sheet with all it need to make everything work when it's time to make a php check_configura
With mysql-server :
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install mysql2
sudo apt-get install php5-dev
sudo apt-get install php-pear
sudo apt-get install apache2-prefork-dev build-essential
pecl install apc
add extension=apc.so in /etc/php5/
add extension=apc.so in /etc/php5/
change short_open_tag=on to off in php.ini (apache dir and cli dir)
add the configuration lines of virtualhost in /etc/apache2/
page
add subdirectory "authpuppy" in /var/log/apache2
sudo nano /etc/hosts
change the entry :
127.0.0.1 localhost
to
127.0.0.1 authpuppy.localhost
ctrl o
ctrl x
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
pecl install pdo_mysql
sudo apt-get install php5-curl
sudo apt-get install php5-xsl
download last version of authpuppy in tmp dir
cd /tmp
sudo tar xvzf authpuppy-
sudo mv authpuppy /var/www/
chmod -R a+w /var/www/authpuppy
cd /var/www/authpuppy
sudo chown -R www-data config
sudo chown -R www-data cache
sudo chown -R www-data log
sudo chown -R www-data data
sudo chown -R www-data plpcgins
sudo chown -R www-data web
cd /var/web/authpuppy
symfony cc
I didn't include some of the configurations lines who already are in the authpuppy installation page, But everyhting necessay is there. For the creation of new local user, i'll try if i had this error with a postgress sql database.
and everything may be there
Andrei (andrei-halle-deactivatedaccount) wrote : | #20 |
i forgot to mention the line related to mysql database creation and mysql main user creation.
Andrei (andrei-halle-deactivatedaccount) wrote : | #21 |
Everything work fine when i am in Debian Squeeze and while i'm using PostgresSQL database with authpuppy. In fact i had no errors in what i know and i what i did before. But when i used Mysql database especially in Ubuntu i had errors related to local users creation and i still have them.
I don't know if these bugs are related to :
1-Something i did wrong in the installation process of authpuppy in Ubuntu.
2-Something related to Ubuntu 12.04 LTS
3-Something related to MySQL Database.
But one thing i'm sure of, is that i made so many installation of Authpuppy that i can confirm that in Debian it work definitively better. Ubuntu seems to avoid some security points to have their OS being easier to manage for a beginner in Linux. I'm not saying that i'm not a beginner too, but the more i learned the more i know.
The installation of what surround authpuppy in Debian is different than the installation of what surround authpuppy in Ubuntu. I mean the librairies used by apache2, php5 and mainly in php accelerators and pdo. Ubuntu, for example, use the old way using pdo by asking to install pdo_mysql while debian just need
php5-pgsqlp library to have both pdo and pdo_pgsql active. The easiest way to know if these librairies are install is by doing a php -m who will verify if both PDO and pdopgsql (if we are using postressql database). It is an useful command who don't change anything.
So this is it.
Andrei (andrei-halle-deactivatedaccount) wrote : | #22 |
It's seem that there is nobody here from what the time i took here till some days now. I have this kind of impression to write to myself and responding to myself. But before asking something else, i'll wait to have some "sign of life" here.
I will have other questions about how to configure my router (with DD-WRT and WifiDog service in the firmware) to have interoperability with the authentification server.
Thanks,
André
jackson (neojack34-isf) wrote : Re: [Bug 1016791] Re: New user authentification test while i'm on the admin page | #23 |
Hello,
I must admit that I don't understand much of the point of what your were
saying.
Maybe the "wall of text effect"
Also, I use the system every day but I did not install it, so I had no clue
I may be able help you to configure your linksys wrt54g
Cordialement
Jackson JOSEPH-EUGENE
Coordinateur technique et des bénévoles Ile Sans Fil
2012/7/2 Andrei <email address hidden>
> It's seem that there is nobody here from what the time i took here till
> some days now. I have this kind of impression to write to myself and
> responding to myself. But before asking something else, i'll wait to
> have some "sign of life" here.
>
> I will have other questions about how to configure my router (with DD-
> WRT and WifiDog service in the firmware) to have interoperability with
> the authentification server.
>
> Thanks,
>
> André
>
> --
> You received this bug notification because you are subscribed to
> AuthPuppy.
> https:/
>
> Title:
> New user authentification test while i'm on the admin page
>
> Status in AuthPuppy authentication server for Wifidog networks:
> Triaged
>
> Bug description:
> After login on the administrative login page, i went to the "Auth
> Local User section", i clicked on "my account", i thought that having
> already a user name defined for the administration account, it would
> be accepted as a local user, but that's ok. So i clicked on "sign up
> for a new account," i wrote all it need to have a new account, the two
> checkboxes are checked, and when i clicked on the confirmation button,
> i get a symfony web page with a 500 interal server error.
>
> This bug is in Firefox.
>
> To manage notifications about this bug go to:
> https:/
>
gbastien (gbastien02) wrote : | #24 |
Well, it's vacation time ;-) And most of your posts look more like comments and there's nothing to answer.
I don't know what to tell you. It works well here on Ubuntu and postgresql and mysql.
If you have an email configuration problem, you just need to configure it right. Read the bug mentioned in an earlier post that explains how to do this. Here's the link again: https:/
As for the virtualhost... It just works whether you have one or many sites... So why not use it!
Andrei (andrei-halle-deactivatedaccount) wrote : | #25 |
Joseph-eugene : Thanks, Joseph. There some question among what i wrote before but i have to admit that they are not in one message and that it can be hard to understand. For the configuration of the router i will be glad to know how to do it, so i'll get back to you as soon as possible. When you'll have time, i would appreciate that you teach me that part of the installation who's totally unknown for me.
Geneviève: It's ok Geneviève. You're right on what you say. This is vacation time, and everybody have the right to have some. Anyway, i'll see the link you gave me again. I must admit that the config line in httpd.conf are necessary. I don't remember why i tried not to used it. Anyway.
Thanks for both of you,
Sincerely,
André
Andrei (andrei-halle-deactivatedaccount) wrote : | #26 |
It is still true, logged as admin, making a new local user account, save it, and it crash the server.
should be a problem with your configuration. please provide more infos like logs and your config and don't assign a bug to a developer by yourself!