Menu

Loggin does not work

nicolas
2003-09-04
2004-04-23
  • nicolas

    nicolas - 2003-09-04

    hi,
    I just installed the latest release of the project,
    everything is ok, but I can not log in the application!!

    Any idea?

    Sincerly,
    Nicolas

     
    • Anonymous

      Anonymous - 2003-09-10

      What version dev or stable? Also post any error messages and what the application is doing when you try to login.

       
    • Jonathan Wolff

      Jonathan Wolff - 2003-09-17

      I am having the same problem.  I get no errors whatsoever, nothing in my apache error log.  When I click the login link the URL is:

      http://mysite.com/phphelpdesk/index.php?login=goto

      That is all the information it gives.

       
    • Jonathan Wolff

      Jonathan Wolff - 2003-09-18

      this is the stable version

       
    • Heitkamp

      Heitkamp - 2003-09-23

      On the stable version you have to install the cookie fix.

       
    • Bobby Wrenn

      Bobby Wrenn - 2003-10-31

      OK I am having the same problem. What is the cookie fix?

       
      • Heitkamp

        Heitkamp - 2003-11-05

        in cookie.inc.php file change the
        //$date = date("l, d-M-y H:i:s", ($time));
        line
        to
        $date = date($time);
        (there are two cookie.inc.php files, see that you change the right one)
        tamo

         
    • John Matthews

      John Matthews - 2003-11-04

      I am having the same problem I am running 0.6.16.  I installed the program on Win2000 with mySQL, created the tables and I get these 3 errors.

      Notice: Undefined variable: partfound in C:\Z_Mine\Customers\UBComputer\www\phphelpdesk\languages\english.lang.php on line 256

      Notice: Undefined variable: p_id in C:\Z_Mine\Customers\UBComputer\www\phphelpdesk\languages\english.lang.php on line 258

      Notice: Undefined variable: whattodo in C:\Z_Mine\Customers\UBComputer\www\phphelpdesk\config\header.conf.php on line 8

      Also I cannot login when I click on the login link it refreshes the page but I never see the username and password text boxes.  I click on any other link same thing happens the page is basically stuck.  I have the cookie fix and that doesn't seem to be the problem.  Could this be a PHP(4.3.0) version problem??

       
      • Heitkamp

        Heitkamp - 2003-11-05

        ll these Problems are related to your PHP.ini which is not configurated in the required way. Since you are using the old version you have to enable the global variables, and switch the error display of undefined variables off. After that you have to install the cookie fix (see my other postings from today) and you should be able to log in.
        Tamo

         
    • Bobby Wrenn

      Bobby Wrenn - 2003-11-05

      I edited ./includes/cookie.inc.php and still get the same result.

      http://logjam.banctec.com/phphelpdesk//index.php?login=goto

      and no error message. Returns to the default screen.

       
    • Marie Keaveney

      Marie Keaveney - 2003-11-06

      I am having same problem. I have done the cookie fix but still will not login and with no errors.

      thanks!

       
    • Donovan Steen

      Donovan Steen - 2003-11-07

      Red Hat 9
      DEV version phphelpdesk
      latest version of PHP

      when i try and use admin/admin to log into the system, I get nothing. it just takes me back to the same start page. any ideas?

       
    • Donovan Steen

      Donovan Steen - 2003-11-08

      OK, last post
      2 seperate servers, same installation process and configuration. even had another admin perform the install on his server according to the INSTALL.doc file with the same results!

      DEV version of phphelpdesk(*.rar)
      Distro=RedHat9
      PHP=4.x
      MySql=3.23.54

      Problem=edit the files according to YOUR instructions, open my url and I am presented with a very attractive design. here is where the trouble starts, using YOUR insrtuctions to login in with admin/admin DOES NOT WORK! the page is taken right back to the same "pretty" page. This seems to be a VERY common problem and no one seems to be posting any help that is helping anyone.

       
      • Heitkamp

        Heitkamp - 2003-11-10

        Set
        register_globals = On
        session.save_path = <yout path> // make sure this is directory exists!
        in your php.ini.
        I AM aware that this is not the desired solution but in the beta realese this will be solved. PLease be aware that there are also other security issues not solved yet.

         
      • Renato Salles

        Renato Salles - 2003-11-28

        Idea: GRANT ALL privileges not seted to the user and password included in general.conf.php.
        Test with this :(|

        mysql -u root -p
        Comment: (insert mysql passwd)
        use $databasename;
        Comment: ("$databasename" is the name YOU assigned to the db)
        GRANT ALL PRIVILEGES ON $databasename.* to $USER.localhost identified by `PASSWD`;
        FLUSH PRIVILEGES;
        QUIT;
        That's all. I had some errors but i'm already aware (this is not the first time it happens...)
        PS: adapt the explanation above to follow your setup.

        HTH,

        RSalles

         
    • Anonymous

      Anonymous - 2003-12-04

      I would like to enphasize this issue again: i am not able to log in i have version "phphelpdesk.0.6.16" and the issue is ......i see the links to the departments but when i click either link the page just seems to refresh, i have tried the cookie fix but does the same thing

      http://localhost/phphelpdesk/index.php?login=goto
      http://pc2/hd/index.php?status=set&txtUsername=it&txtPassword=it&whattodo=addjob
      http://pc2/hd/index.php?status=set&txtUsername=humanresources&txtPassword=humanresources&whattodo=addjob
      http://pc2/hd/index.php?status=set&txtUsername=sales&txtPassword=sales&whattodo=addjob
      etc etc so no matter what department link i click it shows on the address bar that they go in but the page never changer just seeems to refresh

      any help would be greatly appreciated.....i am runing the latest versions of mysql,PHP4, apache web server on a windows 2000 pro machine

       
      • Heitkamp

        Heitkamp - 2003-12-05

        Hi!
        most likely th problem lies in your php.ini Please see if the variable
        global_variables = on;

        please let me know if this changes something.

         
        • Bobby Wrenn

          Bobby Wrenn - 2003-12-05

          That was it for me too!

          Note the <;> at the end of the line is not necessary.

          Thanks!

           
    • Anonymous

      Anonymous - 2003-12-04

      By the way no error message is given, browser just shows as if they u go in to the links above but the page only seems to refresh

       
    • Anonymous

      Anonymous - 2004-01-18

      I too am thwarted as I try to get the helpdesk up and running.  I have tried the stable and DEV versions - with cookie fixes and mods to php.ini. 

      On the DEV version, I get ...
      Fatal error: Cannot redeclare ticketsummary() in W:\www\phphelpdesk_new\includes\functions.inc.php on line 16

      and then my browser caches something (cookie?) and I have to close the browser window and re-start the session (even though I used cntrl-f5 to attempt to reload from a non-cache state).

      On the "stable" version, I get the usual errors associated with Fatal error: Cannot redeclare showsummary() in W:\www\phphelpdesk\includes\functions.inc.php on line 16

      FWIW, I am using the latest version of the uniform server which incorperates Apache 2.0.48, ActivePerl 5.8.0.807, PHP 4.3.4, MySQL 4.0.16, phpMyAdmin-2.5.5-RC2, Turck MMCache 2.4.6.

      Any ideas?

       
    • Anonymous

      Anonymous - 2004-01-18

      here's a follow-up after I enabled SQL debugging in the stabled version

      Executed SQL: SELECT * FROM security WHERE s_user='admin' AND s_password='admin'; (1 rows affected.)

      Executed SQL: SELECT d_name FROM userdepartments WHERE s_user='admin'; (3 rows affected.)

      Executed SQL: UPDATE security SET s_timestamp_laston='0401180236' WHERE s_user='admin'; (1 rows affected.)

      Warning: setcookie() expects parameter 3 to be long, string given in W:\www\phphelpdesk\includes\cookie.inc.php on line 7

      Warning: setcookie() expects parameter 3 to be long, string given in W:\www\phphelpdesk\includes\cookie.inc.php on line 8

      Warning: setcookie() expects parameter 3 to be long, string given in W:\www\phphelpdesk\includes\cookie.inc.php on line 9

      Warning: setcookie() expects parameter 3 to be long, string given in W:\www\phphelpdesk\includes\cookie.inc.php on line 10

      Warning: setcookie() expects parameter 3 to be long, string given in W:\www\phphelpdesk\includes\cookie.inc.php on line 11

      Fatal error: Cannot redeclare showsummary() in W:\www\phphelpdesk\includes\functions.inc.php on line 16

       
    • Anonymous

      Anonymous - 2004-01-20

      OK ... changed platforms and got it.

      Here's that fix for the Apache2 register_globals issue ....

      add "php_value register_globals 1 " to a .htaccess file in the phphelpdesk root folder.

      Hope this helps.

      David

       
    • Anonymous

      Anonymous - 2004-01-21

      OK, for me the login works, but I am contumally hit with the undefined variable message of "phphd\scripts\vj_viewtickets.scp.php" at various lines of the code.  I a

       
    • Anonymous

      Anonymous - 2004-01-21

      OK, for me the login works, but I am contumally hit with the undefined variable message of "phphd\scripts\vj_viewtickets.scp.php" at various lines of the code.  I also cannot click on any of the tocket links and get any info.

      I am using 1.0.2 developers release and I just spent most of the morning making sure my apache /mysql/php config was as it should be.

      There is no cookie fix for this version as that file is not included in this release.

      I have also tried version 0.6.16 and I get the same things.  How do you turn off the undefined variable error message as stated above, and how do you get this thing working?

       
    • Anonymous

      Anonymous - 2004-04-23

      Getting 0.6.16 to work required the turning on of register_globals = on.

      Since this is not very desirable and most likely not the default of the server, you can add this to the .htaccess file only in the area where the help desk scripts are located with

      php_flag register_globals on

      This will enable register globals for that application and not for anything else.

      the real fix would be to change the code to use variables properly.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.