Forums

No love from V3.0 BETA 2

csifo 26 Aug, 2008
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.
Max_admin 26 Aug, 2008
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 ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 26 Aug, 2008
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
csifo 26 Aug, 2008
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
Max_admin 26 Aug, 2008
Hi Csifo,

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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
csifo 26 Aug, 2008
Problem Solved

Max Cheers mate!

Much appreciated

i will sleep again๐Ÿ™‚

Again thanks guys for your help
Max_admin 26 Aug, 2008
thanks for letting us know!๐Ÿ™‚

good night!!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.