Open your /system/modules/weblog/mod.weblog.php file and find from this line: // ------------------------------------------- // 'weblog_entries_tagdata' hook. to this line: // // ------------------------------------------- Replace between those comments with this: if (isset($EXT->extensions['weblog_entries_tagdata'])) { // -- PHP4 Fix For call_user_func_array not passing by reference global $Weblog; $Weblog = $this; // -- End Fix $tagdata = $EXT->call_extension('weblog_entries_tagdata', $tagdata, $row, $this); if ($EXT->end_script === TRUE) return $tagdata; // -- PHP4 Fix For call_user_func_array not passing by reference $this = $Weblog; unset($Weblog); // -- End Fix
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Fix for EE Multi-relationship field in PHP4 (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Use PHP Inside EE Entries in php expressionengine
» Display In 2-Column Table in php wordpress expressionengine movabletype
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Print PHP errors to screen in php debugging
» Minimal extension-less build... in php fastcgi cgi
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails