Menu

Permission Denied

2003-05-06
2013-03-07
  • Nobody/Anonymous

    Hi, I successfully installed the package on my server (Mandrake 9.0). I can login with 'root' , create group and upload files. But I was not able to create user, everytime I tried to do that, it always told that ' Permission Denied'.

    Thanks,
    Harry

     
    • Sean Walcek

      Sean Walcek - 2003-05-07

      Try setting the $logLevel var in config.inc.php to '4'. Try it again, and let me know what you see in the auth_log file and error_log file.

       
    • Nobody/Anonymous

      I turned on the log, logged as root, created a user. I still got 'Permission Denied' message. There is nothing in error_log. I copyed auth_log here:

      ---------------------------------------------------------------------------------
      05-07-2003 11:17:35|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:17:35|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:17:35|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:17:35|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:17:53|308|Login Successful.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|285|User ID: root
      05-07-2003 11:18:28|304|User Logout.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|444|User ID: 0 Logged out.
      05-07-2003 11:18:28|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:18:28|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:19:02|308|Login Successful.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|285|User ID: root
      05-07-2003 11:19:19|304|User Logout.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|444|User ID: 0 Logged out.
      05-07-2003 11:19:19|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      05-07-2003 11:19:19|301|Not Logged In.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|543|
      ------------------------------------------------------------------------------

      Thanks,
      Harry

       
      • Sean Walcek

        Sean Walcek - 2003-05-07

        The line(s) in the log:

        05-07-2003 11:19:19|304|User Logout.|192.168.1.253|/var/www/html/phpidis/lib.inc.php|444|User ID: 0 Logged out.

        Indicate the problem. After logging in as root, it looks like your logging out, or the system is logging you out.

        Can you provide me with some specifics about your setup? PHP version, web server, etc? Or even better can you provide me with a url with a call to: phpinfo() on it?

        Or if possible I could try to replicate the problem on your systems if it is world accessible via browser, give me the url if your amenable to it.

         
    • Nobody/Anonymous

      Sorry about the late.

      I got my phpinfo and put on
      http://64.127.249.131/This%20is%20a%20test%20site.htm

      Thanks
      Harry

       
      • Sean Walcek

        Sean Walcek - 2003-05-08

        phpIDIS takes advantage of some new vars only available as of php 4.3.0
        You will have to upgrade your php installation to at least that.

        On another note, two things that may not be immediately obvious:

        1) your must have the base PEAR package
        2) users must allow/accept cookies in their browser's for authentication

         
    • Nobody/Anonymous

      Sorry about the late.

      I put phpinfo() data on
      http://64.127.249.131/This%20is%20a%20test%20site.htm

      Thanks
      Harry

       
    • Nobody/Anonymous

      The problem occurs when register_globals is set to on.

      If you set it to off, create user etc works.

      However, with the setting to off, none of the other php scripts work anymore.

      Is there no other way you can get this to work?

      Regards

      Wimpie

       
      • Nobody/Anonymous

        This is a bugger for alot of people, but if you are running apache as your webserver,...

        you can add a directive to a .htaccess file to change this setting on a per directory basis.

        'php_value register_globals 0'

        (leave out the single quotes) This will turn off register globals for the directory your htaccess file resides in - check the apache documentation for how to use the .htaccess file, I am not super familiar with it.

        You can also add this directive inside the VirtualHost directive to change it sitewide.

        You may also want to look at other possible suggestions for the 'register_globals' issues at http://www.php.net

        Hope this helps, by the way I am going to be making a new release that features signifigant enhancments tomorrow, so get a fresh copy when it is released.

         
    • Nobody/Anonymous

      i have installed and configured the software, but cannot get access to the system when trying to log in as root. any suggestions?

       
    • Sean Walcek

      Sean Walcek - 2006-10-05

      Can you provide some more detail about what happens when you try to log in?

       

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.