MMS msg giv error help me ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MMS msg giv error help me ?

    hi friends i include MMs function in my site by grab mms script via walive script

    i ad in retrivewap script


    i add this line in my script


    PHP Code:
    }
    $tmms getmmscount(getuid_sid($sid));

    $nmms getunreadmms($uid);
    if (
    $nmms>0){
        
    $rampage "($nmms new)";
    echo 
    "<a href=\"inbox.php?action=mmsdisp&amp;sid=$sid\">$iconinn MMS Inbox ($nmms  new photo)</a><br/>";


    } else{
    echo 
    "<a href=\"inbox.php?action=mmsdisp&amp;sid=$sid\">$iconinn MMS Inbox ($nmms /$tmms)</a><br/>";



    like this

    PHP Code:
    /////inbox data

      
    $new_gm getnewgml(getuid_sid($sid));
      if(
    $new_gm>0)
      {
      echo 
    "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a><br/>";
      }


      
    $tmsg getpmcount(getuid_sid($sid));
      
    $umsg getunreadpm(getuid_sid($sid));
      if(
    $umsg==1)
      {
      echo 
    " <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\">$iconinn $lang21</a>[$umsg $lang21a]<br/>";
      }
      if(
    $umsg>1)
      {
      echo 
    "<a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\">$iconinn $lang21</a>[$umsg $lang21b]<br/>";
      }
      if(
    $umsg==0)
      {
      echo 
    "<a accesskey=\"1\" href=\"inbox.php?action=main&amp;sid=$sid\">$iconino $lang21</a>[$tmsg]<br/>";
      }
    [
    B]$tmms getmmscount(getuid_sid($sid));[/B]

    $nmms getunreadmms($uid);
    if (
    $nmms>0)
    {
        
    $rampage "($nmms new)";
    echo 
    "<a href=\"inbox.php?action=mmsdisp&amp;sid=$sid\">$iconinn MMS Inbox ($nmms  new photo)</a><br/>";


    } else{
    echo 
    "<a href=\"inbox.php?action=mmsdisp&amp;sid=$sid\">$iconinn MMS Inbox ($nmms /$tmms)</a><br/>";


    }

      
    $uid getuid_sid($sid);
      
    $mybuds getnbuds($uid);
      
    $onbuds getonbuds($uid);
      echo 
    "<a accesskey=\"2\" href=\"lists.php?action=buds&amp;sid=$sid\">$iconbuddy $lang22</a>[$onbuds|$mybuds]"

    but its giv error in index page

    this error i got

    » Inbox[2]

    Fatal error: Call to undefined function getmmscount() in /home/vhosts/mysite.net/index.php on line 383


    in abv script i bold 383 lines

    plz help me what i do ???????????
    Last edited by 12345xmen; 10.10.09, 13:01.

    #2
    GO LEARN PHP at W3SCHOOL

    U havnt declare it in core.php get the mms script out of the core.php also

    Comment


      #3
      and I have problem in waplive script for mms: this file is not your in getfile.php
      Last edited by rap-4ever; 10.10.09, 14:59. Reason: add more words
      http://www.youtube.com/watch?v=vsLkpcFKbOk

      Comment


        #4
        now i add MMs function


        but when i sned mms then its giv this

        Message not sent! Check error messages and report to a moderator or admin if applicable.

        Back to MMS Inbox

        tem meeeeeeeeeeeeeeeeee where is fault plzzzzzzz

        Comment


          #5
          i fix problem in that file...
          http://www.youtube.com/watch?v=vsLkpcFKbOk

          Comment


            #6
            Message not sent! Check error messages and report to a moderator or admin if applicable.

            i get this when i send mms how i send its ?????????????????

            Comment


              #7
              Originally posted by rap-4ever View Post
              i fix problem in that file...
              ..are you reffering to xmen problem ?? if yes, can you please help him ?? im not telling this because i need that too, actually im not using that mms.

              .. its nice to post the solution rather than to say you fixed that already(if you want to share
              Did I help you?
              You can help me too
              Your donations will help me finance my studies.

              Comment


                #8
                i don`t fix his problem,i fix my problem in waplive script.... xmen,download waplive script
                http://www.youtube.com/watch?v=vsLkpcFKbOk

                Comment


                  #9
                  Yh i hv waplive scrit nd its wrk properly bt when i ad file nd send then its show msg nt send contact admin . What i do i also ad its sql table in database . . Bt its cnt send . .tel me what i do.

                  Comment


                    #10
                    did u chmod the folder mmsloads and did u add ur info in the getfile.php there must also be database details if im not mistaken

                    Comment


                      #11
                      thankz rider i solve out my problam i use another script sql data thats y not work

                      btw thankz for helping me

                      thankz to all reply here !

                      Comment


                        #12
                        bro i get this error now


                        warning: move_uploaded_file(/.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/friends/public_html/inbxproc.php on line 591

                        Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVRYr8V' to '/.jpg' in /home/friends/public_html/inbxproc.php on line 591
                        Your MMS was successfully sent to xmen

                        -------------------------------------------------------------------------------

                        else{
                        $name = mysql_fetch_array(mysql_query("SELECT (MAX(id)+1) FROM mms"));
                        $uploadfile = $name[0].".".strrev($ext[0]);
                        move_uploaded_file($_FILES['attach']['tmp_name'], "$uploaddir/$uploadfile");
                        $ext=strrev($ext[0]);

                        the bold line give error thats line is 591

                        nw tel what i do ?

                        Comment


                          #13
                          i don`t know... chek in confing.php..in this script work send mms but do not work read mms (download file) .. edit part of the text in file getfile.php to look like this:
                          $conms = mysql_connect($dbhost,$dbuser,$dbpass);
                          $condb = mysql_select_db($dbname);

                          $fileid = $_GET["fileid"];
                          $sid = $_GET["sid"];

                          $file = mysql_fetch_array(mysql_query("SELECT filename, touid FROM mms WHERE id=$fileid"));
                          $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
                          $uid = $uid[0];

                          etc

                          http://www.youtube.com/watch?v=vsLkpcFKbOk

                          Comment


                            #14
                            check zone script here as it includes successfull mms script setting there

                            Comment


                              #15
                              @rap-4ever bro thats not error in getfile.php

                              i think its error in inbproc.php ya in core.php


                              nd budy tel meeeeeeeeeee


                              m using retrivewap script

                              Comment

                              Working...
                              X