Warning Message from this theme!!!

hendrix01 27 Aug, 2008
I Got this Message
Warning: require(/templates/gk_corporation/gk_suckerfish.php) [function.require]: failed to open stream: No such file or directory in /home/ansa/domains/ansamueblerias.com/public_html/catalogo/templates/gk_corporation/index.php on line 24

Fatal error: require() [function.require]: Failed opening required '/templates/gk_corporation/gk_suckerfish.php' (include_path='.:/usr/local/lib/php') in /home/ansa/domains/ansamueblerias.com/public_html/catalogo/templates/gk_corporation/index.php on line 24
Any sugestions?
Max_admin 27 Aug, 2008
Hi, thats because your theme is not J1.5 compatible, they use the old global variables! you need to define it yourself! you can paste here the first 24 lines of
/home/ansa/domains/ansamueblerias.com/public_html/catalogo/templates/gk_corporation/index.php

and I will show you how to fix!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hendrix01 27 Aug, 2008
<?php
/*--------------------------------------------------------------
# The Corporation - October 2007
# Copyright (C) 2007 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
---------------------------------------------------------------*/
//defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
//$iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
if ( $my->id ) {
	initEditor();
}
$menu_name = "mainmenu";                 // mainmenu by default,you can use any joomla menu name
$style_panel = "true";                	// true | false
$default_style = 1;					   // default page style  (1 or 2)

require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/gk_suckerfish.php");
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/gk_setup.php");
hendrix01 27 Aug, 2008
Thanks for the quick reply MAX
I apreciate it
Max_admin 27 Aug, 2008
No problems, here its :

after :

$default_style = 1;                  // default page style  (1 or 2)


add :

global $mosConfig_absolute_path;


this will fix it, this template is not coded well, where did you get it ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 27 Aug, 2008
Thanks, I got it, their site even doesn't open!🙂
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hendrix01 27 Aug, 2008
MAx i did what you told me to do but
now I cannot see my template
it is becase i need to put the complete path?
Max_admin 28 Aug, 2008
all your CSS/JS files are not loaded, I think its another issue with the template code, open the page source and look at the CSS paths and check their actual path on your server, whats the difference ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 28 Aug, 2008
ok, I think you need to add this line also with the one you added before :

global $mosConfig_live_site;
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hendrix01 28 Aug, 2008
Thanks MAX it worked!!!
This topic is locked and no more replies can be posted.