Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
andrej
Hangin' Around


Joined: Sep 10, 2005
Posts: 48

PostPosted: Fri Jan 06, 2006 11:20 am Reply with quote

Hello !

I am using kalender 1.4.c
It works OK, i only have one problem...
None of the blocks work..
I get errors like..

[06-jan-2006 17:55:38] PHP Fatal error: Only variables can be passed by reference in /phpnukrhomedir/blocks/block-Calendar_combi.php on line 98, where line 98 is..

list($icount) = sql_fetch_row(sql_query($qry, $dbi), $dbi);

Posting the whole code..

I have a problem posting all the code. I get html tags are not allowed error..

What should i do ?

thanks for your time..
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Jan 06, 2006 8:03 pm Reply with quote

Try splitting it up like so

Code:


$result = sql_query($qry, $dbi);
list($icount) = sql_fetch_row($result, $dbi);

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
andrej
PostPosted: Sat Jan 07, 2006 4:45 am Reply with quote

It works now !!

Thanks ! Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©