With all of the above except the Virtuemart module published everything works fine.
If I publish the VM module the site breaks; the web site page displays the left-hand module/menus, the top banner and nothing else.
The server logs also show the following PHP error -
PHP Fatal error: Call to undefined function: () in blah_blah/community/Sources/Subs.php on line 871
If I log out then the site index display reverts to normal.
If I unpublish the VM module the site works fine.
I have kludged my way around a fix that seems to me to solve my problem, but I've no idea if I'm breaking anything else -
If I comment out lines 868 -to - 873 in Subs.php then everything works, JSMF Bridge, JSMFRecent Topics and Virtuemart.
I'm posting this in case someone else has this problem and also because I recognise my workaround is a complete kludge and should be "fixed" by someone who knows what they're doing.
When SMF loads it creates this array, $func, and for whatever reason it doesn't appear to be set when this function is executed. It should be set because JSMF includes SSI.php.
not really, the code I put is to output a bunch of debug information. It is scenario where you put the code in, refresh the page, copy the error, and then take the code out. Then paste the error here. You might need to check if you have Joomla error reporting set to maximum. You can find this in Joomla admin->global config->server tab
Sounds like you missed the closing curly brace(}) and that is why you got the error you did. Try again for me if you would, make sure you get the whole piece of code.
i had the same problem with easybook. my solution: easybook use also the $func variable, so the system crashes. i have changed the $func variable in easybook to $funceas - now i have no problems
icho.tolot
« Last Edit: January 01, 2007, 02:03:09 PM by icho tolot »
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use