Site not rendering right after upgrade
Posted: Sat Apr 28, 2007 7:58 pm
Hi,
My Site is not rendering right after upgrade from 0.5 to the new 0.6 version.
After the upgrade, I get this text showed over the normal site design :
Any idea how to solve this issue ? If not, how do I get back to the 0.5 version that was working fine ?
Thanks in advance
Souhail.
My Site is not rendering right after upgrade from 0.5 to the new 0.6 version.
After the upgrade, I get this text showed over the normal site design :
Code: Select all
lower($val1); $ret = 0; if( $val2 == 1 || $val2 == '1' || $val2 == 'yes' || $val2 == 'true' || $val2 == 'on' ) $ret = 1; return $ret; } # vim:ts=4 sw=4 noet ?> n $db; } ?> t ?> } ?>= min($bestNewPos,$newPos); } if (($pos=$bestNewPos)==$size) return -1; } return $reverse ? $size-1-$pos : $pos; } function GetHelp($lang='en_US') { return $this->Lang('help'); } function GetAuthor() { return 'Ted Kulp'; } function GetAuthorEmail() { return 'ted@cmsmadesimple.org'; } function GetChangeLog() { return $this->Lang('changelog'); } function GetMenuTemplate($tpl_name) { $data = false; if (endswith($tpl_name, '.tpl')) { global $gCms; // template file, we're gonna have to get it from // the filesystem, $fn = $gCms->config['root_path'].DIRECTORY_SEPARATOR.'modules'.DIRECTORY_SEPARATOR; $fn .= $this->GetName().DIRECTORY_SEPARATOR.'templates'.DIRECTORY_SEPARATOR; $fn .= $tpl_name; if( file_exists( $fn ) ) { $data = file_get_contents($fn); } } else { $data = $this->GetTemplate($tpl_name); } return $data; } function SetMenuTemplate( $tpl_name, $content ) { if (endswith($tpl_name, '.tpl')) { return false; } $this->SetTemplate( $tpl_name, $content ); return true; } } // End of class # vim:ts=4 sw=4 noet ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Template to Database'; $lang['menumanager'] = 'Menu Manager'; $lang['newtemplate'] = 'New Template Name'; $lang['nocontent'] = 'No content given'; $lang['notemplatefiles'] = 'No file templates in %s'; $lang['notemplatename'] = 'No template name given.'; $lang['templatecontent'] = 'Template Content'; $lang['templatenameexists'] = 'A template with this name already exists'; ?> Words($this->GetName(), $global_content->id, 'global_content'); break; case 'ModuleUninstalled': $module_name =& $params['name']; $this->DeleteWords($module_name); break; } } } } # vim:ts=4 sw=4 noet ?> ntent module, or other smarty logic to show different content to different groups of users, it may be advisiable to prevent the entire page from being indexed even when it is live. To do this include the following tag anywhere on the page <!-- pageAttribute: NotSearchable --> When the search module sees this tag in the page it will not index any content for that page.
The <!-- pageAttribute: NotSearchable --> tag can be placed in the template as well. if this is done, none of the pages attached to that template will be indexed. Those pages will be re-indexed if the tag is removed
'; $lang['changelog'] = <<
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
EOF ?> ve. Pour cela, incluez ceci n'importe où dans la page <!-- pageAttribute: NotSearchable -->. Quand le module de recherche verra ce code, il n'indexera rien de ce qui se trouve sur cette page.
La balise <!-- pageAttribute: NotSearchable --> peut également être placée dans un gabarit. Si c'est le cas, aucune des pages utilisant ce gabarit ne sera indexée. Ces pages seront réindexées si la balise est supprimée.
'; $lang['changelog'] = '
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
'; ?>ntent module, or other smarty logic to show different content to different groups of users, it may be advisiable to prevent the entire page from being indexed even when it is live. To do this include the following tag anywhere on the page <!-- pageAttribute: NotSearchable --> When the search module sees this tag in the page it will not index any content for that page.
The <!-- pageAttribute: NotSearchable --> tag can be placed in the template as well. if this is done, none of the pages attached to that template will be indexed. Those pages will be re-indexed if the tag is removed
'; $lang['changelog'] = <<
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
EOF ?> ve. Pour cela, incluez ceci n'importe où dans la page <!-- pageAttribute: NotSearchable -->. Quand le module de recherche verra ce code, il n'indexera rien de ce qui se trouve sur cette page.
La balise <!-- pageAttribute: NotSearchable --> peut également être placée dans un gabarit. Si c'est le cas, aucune des pages utilisant ce gabarit ne sera indexée. Ces pages seront réindexées si la balise est supprimée.
'; $lang['changelog'] = '
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
'; ?>ntent module, or other smarty logic to show different content to different groups of users, it may be advisiable to prevent the entire page from being indexed even when it is live. To do this include the following tag anywhere on the page <!-- pageAttribute: NotSearchable --> When the search module sees this tag in the page it will not index any content for that page.
The <!-- pageAttribute: NotSearchable --> tag can be placed in the template as well. if this is done, none of the pages attached to that template will be indexed. Those pages will be re-indexed if the tag is removed
'; $lang['changelog'] = <<
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
EOF ?> ve. Pour cela, incluez ceci n'importe où dans la page <!-- pageAttribute: NotSearchable -->. Quand le module de recherche verra ce code, il n'indexera rien de ce qui se trouve sur cette page.
La balise <!-- pageAttribute: NotSearchable --> peut également être placée dans un gabarit. Si c'est le cas, aucune des pages utilisant ce gabarit ne sera indexée. Ces pages seront réindexées si la balise est supprimée.
'; $lang['changelog'] = '
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
'; ?>ntent module, or other smarty logic to show different content to different groups of users, it may be advisiable to prevent the entire page from being indexed even when it is live. To do this include the following tag anywhere on the page <!-- pageAttribute: NotSearchable --> When the search module sees this tag in the page it will not index any content for that page.
The <!-- pageAttribute: NotSearchable --> tag can be placed in the template as well. if this is done, none of the pages attached to that template will be indexed. Those pages will be re-indexed if the tag is removed
'; $lang['changelog'] = <<
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
EOF ?> ve. Pour cela, incluez ceci n'importe où dans la page <!-- pageAttribute: NotSearchable -->. Quand le module de recherche verra ce code, il n'indexera rien de ce qui se trouve sur cette page.
La balise <!-- pageAttribute: NotSearchable --> peut également être placée dans un gabarit. Si c'est le cas, aucune des pages utilisant ce gabarit ne sera indexée. Ces pages seront réindexées si la balise est supprimée.
'; $lang['changelog'] = '
1.1 - Original release
1.2 - April 2007 (calguy1000)
Added the ability to limit results to certain modules,and added the ability to pass parameters through to the various modules to allow different formatting of the output.
Modified so that the search module could be used in non default content blocks.
Any idea how to solve this issue ? If not, how do I get back to the 0.5 version that was working fine ?
Thanks in advance

Souhail.