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?
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?
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!
/home/ansa/domains/ansamueblerias.com/public_html/catalogo/templates/gk_corporation/index.php
and I will show you how to fix!
<?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");
No problems, here its :
after :
add :
this will fix it, this template is not coded well, where did you get it ?
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 ?
Thanks, I got it, their site even doesn't open!🙂
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?
now I cannot see my template
it is becase i need to put the complete path?
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 ?
ok, I think you need to add this line also with the one you added before :
global $mosConfig_live_site;
This topic is locked and no more replies can be posted.
