Menu

admin page

2006-11-17
2013-04-05
  • Nobody/Anonymous

    I'm not able to see the admin page.

     
    • Nobody/Anonymous

      I got the admin page to load, but now I can't login to it.

       
    • Qaranthir

      Qaranthir - 2006-11-18

      It could be usefull to give some more information about the system and settings you are running WebMplayer on.
      - Have you set the adminpassword in conf.php?
      - Which version of PHP?
      - How are the session-options configured in php.ini?

      Good luck!

       
    • Nobody/Anonymous

      I have not change the password from the default password. When I try to login I just keep getting the login page. it there a log file I need to look at to see more info?

      OS: CentOS 4.4
      PHP: 4.3.9

      conf.php
      *****************************************************

      <?
      ######
      #
      # This file contains the configuration and functions used by WebMPlayer.
      # The first part is used for configuration, which you can change to your personal setting.
      # Don't change the second part, unless you know what you are doing.
      #
      ######

      # PART I: Configuration

      //Refreshtime (0 = no pagerefresh)
      $refresh = "30";

      //Databasesettings
      $mysqldatabase="webmedia";        // MySQL databasename
      $mysqlhost="localhost";        // MySQL host
      $mysqluser="mp3";        // MySQL username
      $mysqlpass="mp3";        // MySQL password

      //Admin access-password:
      $adminpass = "adminpass";

      // Full path to the Mediadirectory
      $filedir="/home/music"; // Don't end the dir with a '/'!

      // Full path to the HTML docroot (used to find the shell-'deamon')
      $htmldocroot="/path/to/webmplayer";
      $tempdir="/tmp";

      // Directory- and playername where the MP3 player can be found.
      $playerdir="/usr/bin"; // Don't end the dir with a '/'!
      $playername="mplayer"; // Just the name, nothing more...
      $mixerdir= "/usr/bin"; // Don't end the dir with a'/'!
      $mixername="aumix"; // Just the name, nothing more...

      $mplayer = $playerdir."/".$playername;
      $aumix = $mixerdir."/".$mixername;
      ?>

      *****************************************************

       
      • Qaranthir

        Qaranthir - 2006-12-15

        Try to set the full path to webmplayer (unless you really have something like /path/to/webmplayer as a path in your linuxbox...).

        // Full path to the HTML docroot (used to find the shell-'deamon')

        This line -->$htmldocroot="/path/to/webmplayer";

        $tempdir="/tmp";

         
    • Nobody/Anonymous

      I get this while trying to get to the admin.php

      Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/www.areadance.com/home/iclubbers/mp3player/getid3/getid3.php on line 30

      System hosted at aruba.it sorry i dont know the server system

      here is the web

      http://www.areadance.com/iclubbers/mp3player/admin.php

      tx a lot for help

       
      • Qaranthir

        Qaranthir - 2006-12-28

        The parse error is caused in a part of the code, that is developed by the coders of getid3 (http://getid3.sourceforge.net/). It is useful to take a look at their site and their forums to find an answer to this problem.
        As far as I can see, this error has something to do with text-encoding. You could try to change the settings of that line to something like UTF-8,  UTF-16 or  UTF-16BE. Or else you could get more information about this on this site: http://www.gnu.org/software/libiconv/.

        Another thing is that you use WebMplayer with a remote host. But as WebMplayer is a webbased FRONTEND, either you have to link to another *nix-system, on which Mplayer (http://www.mplayerhq.hu) and aumix are installed, or the site on which WebMplayer is installed is your own site...

        But looking to the settings, I think WebMplayer won't work on this remote webspace (as, for example, aumix isn't installed or at least the settings do not link to aumix).

        WebMplayer is meant for everyone having their own linuxbox with a webserver (e.g. Apache with PHP) and databaseserver (MySQL) and a working soundcard and aumix. That is a local system!

         
    • Nobody/Anonymous

      I was able to get to the admin page by deleting lines 6 and 7 in the conf.php but i must be doing something wrong cuz im not able to play any song despite they are in the database now

       
      • Qaranthir

        Qaranthir - 2006-12-28

        Hmmm... I don't know what version you use, but lines 6 and 7 of the conf.php file are just comments...
        But if you mean admin.php, that would disable the use of getid3. The encoding-problem won't show again, but no mp3-tags will be read by WebMplayer.

        About not being able to hear the music: WebMplayer must be installed on a linuxbox with a working soundcard and aumix and a webserver (e.g. Apache with PHP) and databaseserver (MySQL). Remote servers will not work! (Well, at least I haven't tried it yet, but it could be possible to use a linux-workstation with aumix and mplayer and WebMplayer installed on a remote server where conf.php links to the workstation... But no garantees that such a system would work is given...)

        But, once again, to hear the music play: WebMplayer is a webbased FRONTEND to mplayer, so you'll need a linuxbox at home.

         
    • Nobody/Anonymous

      Ty a lot for help, seems i need to keep searching a script like yours that its able to play songs by itself, i need it for a remote host yeah.

       

Log in to post a comment.

MongoDB Logo MongoDB