You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
mrjakobsson wrote:I get this error when trying to install 1.7
'*', 'FROM' => 'panels', 'WHERE' => 'enable=1', 'ORDER BY' => 'position' ); ($hook = get_hook('ch_qr_get_panels')) ? eval($hook) : null; $result = $db->query_build($query, true) or error(__FILE__, __LINE__); $output = array(); while ($cur_panel = $db->fetch_assoc($result)) $output[$cur_panel['id']] = array('title' => $cur_panel['title'], 'content' => $cur_panel['content'], 'file' => $cur_panel['file'], 'side' => $cur_panel['side']); // Output config as PHP code $fh = @fopen(PUN_CACHE_DIR.'cache_panels.php', 'wb'); if (!$fh) error('Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__); fwrite($fh, ''); fclose($fh); }
Fatal error: Call to undefined function generate_panels_cache() in C:\Program\wamp\www\extensions\portal\install.php on line 77
Okey I found the problem, you using short open tags.
So don't forget to change short open tag setting for PHP.
I get this error when trying to install 1.7
'*', 'FROM' => 'panels', 'WHERE' => 'enable=1', 'ORDER BY' => 'position' ); ($hook = get_hook('ch_qr_get_panels')) ? eval($hook) : null; $result = $db->query_build($query, true) or error(__FILE__, __LINE__); $output = array(); while ($cur_panel = $db->fetch_assoc($result)) $output[$cur_panel['id']] = array('title' => $cur_panel['title'], 'content' => $cur_panel['content'], 'file' => $cur_panel['file'], 'side' => $cur_panel['side']); // Output config as PHP code $fh = @fopen(PUN_CACHE_DIR.'cache_panels.php', 'wb'); if (!$fh) error('Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory \'cache\'.', __FILE__, __LINE__); fwrite($fh, ''); fclose($fh); }
Fatal error: Call to undefined function generate_panels_cache() in C:\Program\wamp\www\extensions\portal\install.php on line 77
I tried to install this but i get scandir() error. Is this release only for php5?
/MrJakobsson
Posts found: 3