[dl-ticket-service] Re: useradmin.php

2015-07-22 Thread John Cardell
I fixed the error. I used the sqlite3 method instead of my own database. 
Thanks for your help.






[dl-ticket-service] Re: useradmin.php

2015-07-22 Thread John Cardell
I fixed the error. I used the sqlite3 method instead of my own database. 
Thanks for your help.






[dl-ticket-service] Re: useradmin.php

2015-07-21 Thread John Cardell
Amen Ankh hatankh@... writes:

 
 
 Isn't there already a user named 'admin' or did you removed that
 account before ???
 
 Because there must be an account named 'admin' created while install of
 'dlTicket' !!! 

I never erased or added a user. I tried admin with no password, I tried the
password: pass, password and change me to no avail.

Is there a default password I am missing. Didn't see it in stall instructions.

I never had the chance to create the user admin during install also because
of the above error.







[dl-ticket-service] Re: useradmin.php

2015-07-21 Thread John Cardell
Yuri D'Elia wavexx@... writes:

 
 On 21/07/15 04:11, John wrote:
  When I try to execute the following command:
  
  php useradmin.php add admin true change me
  
  (I did it with and without quotes) I get a 500 Unknown command error. Is
  there anyway to add a username and password directly to the database or
  useradmin.php file?
 
 Hi John, where and how did you write the command?
 The error message looks weird to me.
 
 


I wrote the command exactly as shown above using putty on my computer.

I followed this part of the readme.txt file:


Internal authentication

Once dl has been installed and PHP is set-up correctly, you have to create
at least one user to be able to log in. User management is handled through
the command line by using the bundled useradmin.php utility.

On the server, execute the following commands with the same user as your web
server (by using su or sudo if necessary):

cd /your-installation-directory/include/scripts
php useradmin.php add admin true change me

where:

admin is the user name
true (or false) sets the administrator status
change me is the password

Repeat as many times as necessary. You should now be able to use the web
service. Other users/administrators can be added through the web interface.

That's where the error came from. As far as external authorization where are
the admin.php and rest.php files.