Need Help With SMS Module.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Need Help With SMS Module.
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
Hi,
I am trying to install the SMS module and is just giving me this error message on top when i go to admin panel and SMS

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sexyphp1/public_html/php/includes/sql_layer.php on line 342


icon_sad.gif
Help icon_rolleyes.gif


Back to top Reply with quote
#2   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
could you please post what is on that line


taut



Back to top Reply with quote
#3   here it is.
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
on line 342 is
$row = mysql_fetch_array($res);



Back to top Reply with quote
#4   also.
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
i think the problem is the database..
cause is giving this error when i tryed to run the install

Fatal error: Call to undefined function: createdb() in /home/sexyphp1/public_html/php/modules/SMS/index.php on line 252


and on that line 252 is

   createdb();



Back to top Reply with quote
#5   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
unfortunately, the only thing I could find is this
[ Register or login to view links on this board. ]

it doesn't look like it's your db....from what that article says it's in the db file that came with the mod which is why it is not creating the tables in your db

If you need further help just post back

taut



Back to top Reply with quote
#6   u right
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
yes you right the database is there..

i just can't find a solution for that

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sexyphp1/public_html/php/includes/sql_layer.php on line 342


includes/sql_layer.php line 342
$row = mysql_fetch_array($res);



Back to top Reply with quote
#7   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
when I dl'd that block, all I got from the dl is blobk-SMS.php file which the contents don't even deal with the db. where did you dl your block from?

the one I found I got from this article:
[ Register or login to view links on this board. ]

also....if you can edit

$row = mysql_fetch_array($res);


to this:

$row = mysql_fetch_array($res))


and see if that works

taut


Back to top Reply with quote
#8   No Good.
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
I edit that and come up with more erros..

on every page on top
Parse error: parse error in /home/sexyphp1/public_html/php/includes/sql



and on the SMS module
Fatal error: Call to undefined function: sql_fetch_array() in /home/sexyphp1/public_html/php/modules/SMS/index.php on line 43


Then i just put back the way it was.


Back to top Reply with quote
#9   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
lmao...it was a longshot but hadda try. ok, like I said in my previous post, I don't know where you got your SMS block from but the one I got is working fine.

[ Register or login to view links on this board. ]

that's the article that has the SMS site download. I suggest using that instead as it is just one file and no need for db.

taut

added:if you want to see the block... [ Register or login to view links on this board. ]

bottom left side of page



Back to top Reply with quote
#10   Good morning.
sexyphp
CZ Newbie
sexyphp has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Mar 12, 2005
0.00 posts per day
Posts: 15
Points: 1,090
   
I got my vertion from

Jan Skurovec (svab@cooltura.cz or [ Register or login to view links on this board. ]
Module
SMS Center v.0.0.1b
PHP-NUKE module created by Jan Skurovec (svab@cooltura.cz)
based on Nuke_Mailer modulo by [ Register or login to view links on this board. ]

/////////////////////

I just download the one u say.. i will try now..
If you can get that one working let me know.

Thank you very much icon_mrgreen.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum