Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: SolidSnake2003 - helmikuu 07, 2009, 04:27:19 IP

Otsikko: Error using SSI Recent Posts
Kirjoitti: SolidSnake2003 - helmikuu 07, 2009, 04:27:19 IP
I got this error when using the Recent Posts/Topics function in SSI.php

Fatal error: Call to undefined function: () in /home/info/username/html/forum/Sources/Load.php on line 153
Otsikko: Re: Error using SSI Recent Posts
Kirjoitti: aldo - helmikuu 07, 2009, 04:34:38 IP
Interesting... may we see the lines around 153 in Load.php?
Otsikko: Re: Error using SSI Recent Posts
Kirjoitti: SolidSnake2003 - helmikuu 07, 2009, 04:41:22 IP
Sure, went to the line, but it wasn't anything I called to, but here is the full Load.php
Otsikko: Re: Error using SSI Recent Posts
Kirjoitti: aldo - helmikuu 07, 2009, 04:43:05 IP
Interesting, you are getting the error from this:

$request = $smcFunc['db_query']('', '
SELECT variable, value
FROM {db_prefix}settings',
array(
)
);

However $smcFunc is being globaled in that function. Do you have any other errors in your error log?
Otsikko: Re: Error using SSI Recent Posts
Kirjoitti: SolidSnake2003 - helmikuu 07, 2009, 09:02:34 IP
Yeah, I checked it out, there's alot of errors.  I fixed the problem, I downloaded the full install, and switch the SSI, and the Source files, and it its working now.