I just installed the latest version of Chronoforms "Chronoforms V3.0 BETA 2" now when i try to use the form i get this:
"Warning: include(/templates/mytheme/settings.php) [function.include]: failed to open stream: No such file or directory in /home/user_site/public_html/templates/mytheme/index.php on line 15
Warning: include() [function.include]: Failed opening '/templates/mytheme/settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_site/public_html/templates/mytheme/index.php on line 15
Warning: require(/templates/mytheme/scripts/suckerfish.php) [function.require]: failed to open stream: No such file or directory in /home/user_site/public_html/templates/mytheme/index.php on line 16
Fatal error: require() [function.require]: Failed opening required '/templates/mytheme/scripts/suckerfish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_site/public_html/templates/mytheme/index.php on line 16"
Everything on the back end is loving it, i can use all the functions of the component no problems
Any help would be awsome
Cheers
Csifo.
"Warning: include(/templates/mytheme/settings.php) [function.include]: failed to open stream: No such file or directory in /home/user_site/public_html/templates/mytheme/index.php on line 15
Warning: include() [function.include]: Failed opening '/templates/mytheme/settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_site/public_html/templates/mytheme/index.php on line 15
Warning: require(/templates/mytheme/scripts/suckerfish.php) [function.require]: failed to open stream: No such file or directory in /home/user_site/public_html/templates/mytheme/index.php on line 16
Fatal error: require() [function.require]: Failed opening required '/templates/mytheme/scripts/suckerfish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user_site/public_html/templates/mytheme/index.php on line 16"
Everything on the back end is loving it, i can use all the functions of the component no problems
Any help would be awsome
Cheers
Csifo.
Hi Csifo,
I guess your template has some problems, can you open this file :
/home/user_site/public_html/templates/mytheme/index.php
and paste the first 20 lines of code for me here to check, and please verify that this file exists:
/templates/mytheme/settings.php
and does this problem happen at the form page ONLY ?
I guess your template has some problems, can you open this file :
/home/user_site/public_html/templates/mytheme/index.php
and paste the first 20 lines of code for me here to check, and please verify that this file exists:
/templates/mytheme/settings.php
and does this problem happen at the form page ONLY ?
Hi csifo,
I've no idea what's happening - these are all warnings and an error for your theme. Switch your site temporarily to the rhuk_milkyway template and check that is all is well.
Follow Max's post to debug.
Bob
I've no idea what's happening - these are all warnings and an error for your theme. Switch your site temporarily to the rhuk_milkyway template and check that is all is well.
Follow Max's post to debug.
Bob
Thanks for the Help Guys
Now i checked and the file is there but nothing relating to the lines it called out in the error.
Template change fixes the forms and they work as they should,
so here is the first 20 lines from the /home/user_site/public_html/templates/mytheme/index.php
====================================================================================
<?php
/*----------------------------------------------------------------------
# Simple Date- May 2007
# ----------------------------------------------------------------------
# Copyright (C) 2007 You Joomla. All Rights Reserved.
# Designed by: You Joomla
# License: Commercial
# Website: http://www.youjoomla.com
------------------------------------------------------------------------*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
// xml prolog - quirks mode
//echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
include ($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/settings.php"
);
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/scripts/suckerfish.php");
?>
==============================================================================================
that is 34 lines down.
Again thanks for the help
Cheers
Csifo
Now i checked and the file is there but nothing relating to the lines it called out in the error.
Template change fixes the forms and they work as they should,
so here is the first 20 lines from the /home/user_site/public_html/templates/mytheme/index.php
====================================================================================
<?php
/*----------------------------------------------------------------------
# Simple Date- May 2007
# ----------------------------------------------------------------------
# Copyright (C) 2007 You Joomla. All Rights Reserved.
# Designed by: You Joomla
# License: Commercial
# Website: http://www.youjoomla.com
------------------------------------------------------------------------*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
// xml prolog - quirks mode
//echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
include ($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/settings.php"
);
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/scripts/suckerfish.php");
?>
==============================================================================================
that is 34 lines down.
Again thanks for the help
Cheers
Csifo
Hi Csifo,
where did you get this template ? its not 100% J1.5 compatible!
please do this, before this line :
add : global $mosConfig_absolute_path;
this will fix it!
Cheers
Max
where did you get this template ? its not 100% J1.5 compatible!
please do this, before this line :
include ($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/settings.php"
);
add : global $mosConfig_absolute_path;
this will fix it!
Cheers
Max
Problem Solved
Max Cheers mate!
Much appreciated
i will sleep again๐
Again thanks guys for your help
Max Cheers mate!
Much appreciated
i will sleep again๐
Again thanks guys for your help
thanks for letting us know!๐
good night!!
good night!!
This topic is locked and no more replies can be posted.