ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Problems when using Subversion and Chronoforms (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Problems when using Subversion and Chronoforms
#7500
petersen (User)
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Problems when using Subversion and Chronoforms 2 Months, 3 Weeks ago Karma: 0  
When using Subversion (and I'm assuming other forms of version control), the forms component will fail due to a bug in the script that includes the toolbars.
QUOTE:
Fatal error: menuChronoContact::require_once() [function.require]: Failed opening required 'C:\wamp\www\sitename/components/com_chronocontact/plugins/.svn.php' (include_path='.;C:\php5\pear') in C:\wamp\www\sitename\administrator\components\com_chronocontact\toolbar.chronocontact.html.php on line 82


This is caused by the component trying to pick up files associated to Subversion (normally in a directory named .svn).

You need to replace the function MENU_Plugins_2:
Code:

function MENU_Plugins() { $directory = JPATH_SITE.'/components/com_chronocontact/plugins/'; $results = array(); $handler = opendir($directory); while ($file = readdir($handler)) { if (!strpos($file, 'svn')) { if ($file != '.' &&; $file != '..') { $results[] = str_replace('.php','', $file); } } closedir($handler); foreach($results as $result){ require_once(JPATH_SITE.'/components/com_chronocontact/plugins/'.$result.'.php'); ${$result} = new $result(); JToolBarHelper::custom($task = 'plugin_'.$result, $icon = 'extensions_f2.png', $iconOver = 'extensions_f2.png', $alt = ${$result}->result_TITLE, $listSelect = true) ; } }
In addition, you need to modify admin.chronocontact.html.php at line 814 as follows:
Code:

while ($file = readdir($handler)) { if (!strpos($file, 'svn')) { if ($file != '.' && $file != '..') $results[] = str_replace('.php','', $file); } }
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/13 06:17 By GreyHead. Reason: Fixed html entities
  The administrator has disabled public write access.
#7524
admin (Admin)
Admin
Posts: 1570
graphgraph
User Online Now Click here to see the profile of this user
Re:Problems when using Subversion and Chronoforms 2 Months, 2 Weeks ago Karma: 22  
Thanks petersen, We will get this fixed very soon (few days) in the next version!

Best regards

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#8297
petersen (User)
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Re:Problems when using Subversion and Chronoforms 1 Month, 3 Weeks ago Karma: 0  
Has this been rolled in yet? Still looks like the last version is online.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8299
GreyHead (Admin)
Admin
Posts: 2801
graph
User Offline Click here to see the profile of this user
Re:Problems when using Subversion and Chronoforms 1 Month, 3 Weeks ago Karma: 59  
Hi Peteresen,

As far as I know Max hasn't yet added this to a release.

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#8312
admin (Admin)
Admin
Posts: 1570
graphgraph
User Online Now Click here to see the profile of this user
Re:Problems when using Subversion and Chronoforms 1 Month, 3 Weeks ago Karma: 22  
Hi petersen, yes, the fix is done here locally but it didnt went online yet, adding some new features and fixing more bugs before it can go online!!

Cheers

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials