Smilies aren't working and Forum is down

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Smilies aren't working and Forum is down
IceQueen
CZ Super Newbie
IceQueen has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Status: Offline
Joined: Jan 20, 2004
0.01 posts per day
Posts: 42
Points: 2,850
   
Now I am getting this error when I go to click on replies... NO clue what I have done now...


Fatal error: Call to undefined function: generate_smilies() in /home/wlvcnet/public_html/rebelgr/html/modules/Forums/posting.php on line 954



Back to top Reply with quote
#2   
Staffie
CZ Revered Member
 Codezwiz Site Donator
uk.gif
Occupation: Investigation Officer
Age: 39
Gender: Male
Website:
Status: Offline
Joined: May 27, 2003
0.19 posts per day
Posts: 1454
Points: 401,085
   
sorry for late reply, trying to get someone to help you. I am not hot with php but i am also lookin thru what other resources i have. icon_smile.gif




_________________
Back to top Reply with quote
#3   
Staffie
CZ Revered Member
 Codezwiz Site Donator
uk.gif
Occupation: Investigation Officer
Age: 39
Gender: Male
Website:
Status: Offline
Joined: May 27, 2003
0.19 posts per day
Posts: 1454
Points: 401,085
   
Also so you can help us to help you quicker can you please add in the part fo the code that the error is referring to, so in this case:

line 954

of your home/wlvcnet/public_html/rebelgr/html/modules/Forums/posting.php file.




_________________
Back to top Reply with quote
#4   re: Smilies aren't working and Forum is down
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Make sure that in the file root/includes/functions_post.php you have a function something like this

function generate_smilies($mode, $page_id)

that function is about 100 lines long and should be the last function in that file

Next check to make sure you have this command in modules/Forums/posting.php

include("includes/functions_post.php");




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Smilies aren't working and Forum is down
IceQueen
CZ Super Newbie
IceQueen has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Status: Offline
Joined: Jan 20, 2004
0.01 posts per day
Posts: 42
Points: 2,850
   
The line in question reads:

// Generate smilies for page output
generate_smilies( 'inline', PAGE_POSTING);

I will check the other lines you suggested.



Back to top Reply with quote
#6   re: Smilies aren't working and Forum is down
IceQueen
CZ Super Newbie
IceQueen has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Status: Offline
Joined: Jan 20, 2004
0.01 posts per day
Posts: 42
Points: 2,850
   
When I went to check the includes/functions_post.php it had no code in it at all... I checked my back up file and it had no code, so I re-uploaded the file from the original 7.6.0 download and it works perfectly now.

I guess when I was backing it up, the file got corrupted...

Thanks again, you all are great!



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