PDA

View Full Version : It this a PHP error on my site, or with bluehost?


westonian
08-19-2006, 05:17 PM
Hi.

I'm running vBulletin 3.6 on my site and everything was working well.
Someone posted something, then suddenly this happened a few minutes later:

Fatal error: Call to undefined function: fetch_quotable_posts() in /home/********/public_html/forum/newreply.php on line 186


The rest of the site works perfectly. However it seems that only the "fetch_quotable_posts" line doesn't work.

I googled it and found out that this could be because our host could have just re-packed (or some word like that) PHP on the server and the "fetch_quotable_posts" line is missing.

Does anyone have any ideas as to how to fix this?

I have tried replacing the "newreply.php" file with an original and the error still occurs.

any help?

cheers

westonian
08-19-2006, 06:05 PM
this is the function that it gets caught on:

if ($quote_postids)
{
$newpost['message'] = fetch_quotable_posts($quote_postids, $threadinfo['threadid'], $unquoted_post_count, $quoted_post_ids, 'only');


i can't see why its happening!!!

Basil
08-19-2006, 07:53 PM
The file that contains the function 'fetch_quotable_quotes' is "./includes/functions_newpost.php".

This is not an error with bluehost.

westonian
08-19-2006, 08:44 PM
thanks mate. i've had a look at it and i think i've found the poblem

Reichling
08-20-2006, 12:46 AM
If it gives you an error about a specific line there is no way that can be Bluehost’s fault. This is because that means it can access the file but the actual coding on that specific line is faulty which unless Bluehost themselves corrupted/edited the file is not their fault.

westonian
08-22-2006, 01:20 AM
thanks for your help guys.

i followed your advice and found the problem.