MMS msg giv error help me ?

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

19 replies · 688 views · started 17 years ago · 1 min read

5 participants
12345xmen Developer · 239 posts #1

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

}
$tmms = getmmscount(getuid_sid($sid));

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

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

}

like this

/////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&sid=$sid\">$iconinn $lang21</a>[$umsg $lang21a]<br/>";
  }
  if($umsg>1)
  {
  echo "<a accesskey=\"1\" href=\"inbox.php?action=folderunread&sid=$sid\">$iconinn $lang21</a>[$umsg $lang21b]<br/>";
  }
  if($umsg==0)
  {
  echo "<a accesskey=\"1\" href=\"inbox.php?action=main&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&sid=$sid\">$iconinn MMS Inbox ($nmms  new photo)</a><br/>";

} else{
echo "<a href=\"inbox.php?action=mmsdisp&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&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 ???????????

riderz Lead · 975 posts #2

GO LEARN PHP at W3SCHOOL

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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

12345xmen Developer · 239 posts #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

12345xmen Developer · 239 posts #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 ?????????????????

kei_ki7 Senior · 431 posts #7

rap-4ever wrote: 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.

12345xmen Developer · 239 posts #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.

riderz Lead · 975 posts #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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

12345xmen Developer · 239 posts #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 !

12345xmen Developer · 239 posts #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 ?

rap-4ever Developer · 180 posts #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

friend Developer · 112 posts #14

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

12345xmen Developer · 239 posts #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

12345xmen Developer · 239 posts #17

in which line u error got it bcoz which u post thats same in mine so in mine no error

12345xmen Developer · 239 posts #18

From: xxxx Sent: 13/10/2009 07:23:58 AM 42 Seconds ago Message: hiiiiiiiiiiiiiiiiiiiii Image:

Attached filename: ln.jpg File type: JPG Image Size: 4KB Download attachment Reply with MMS Reply with text message

Action:

nw my MMS wrk fully but problam is that

its dnt show image

i chk image link so i cant found that image link which uplaod in mmsloads

i think image cant uplaod in mmsload thats y cant show

tel me what i do ???????????

rap-4ever Developer · 180 posts #19

12345xmen wrote: From: xxxx Sent: 13/10/2009 07:23:58 AM 42 Seconds ago Message: hiiiiiiiiiiiiiiiiiiiii Image:

Attached filename: ln.jpg File type: JPG Image Size: 4KB Download attachment Reply with MMS Reply with text message

Action:

nw my MMS wrk fully but problam is that

its dnt show image

i chk image link so i cant found that image link which uplaod in mmsloads

i think image cant uplaod in mmsload thats y cant show

tel me what i do ???????????

error is in getfile.php

12345xmen Developer · 239 posts #20

bro can u post here own full getfile.php i want use that ?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close