Hi,
I was trying to install chronoforms in joomla 1.5rc1, and I always get the error that the folder com_chronocontact already exists, but it doesn`t.
I`m trying to install it locally on my wamp Server.
Just tried to install it on some older versions of joomla 1.5, same effect.
I have heard of people installing chronoforms in 1.5 with success, is there any setting in my wamp installation maybe?
Also tried a different compononent, a calender componont, which installed without any problems.:huh:
Any Ideas?
Hi Mario,
No ideas off the top of my head. I have downloaded RC1, I'll try an install on my WAMP and see what happens with ChronoForms.
Bob
Hi Bob,
just uploaded a rc1 Version on my Server of Site5, same result,
"There is already a file called '/home/krupikco/public_html/administrator/components/com_chronocontact/' - Are you trying to install the same CMT twice?"
I`m going to try it on php4 server, maybe thats the problem.
mario
**EDIT**
Just switched the server to php 4.4.4, same result again.
Are you experiencing the same?<br><br>Post edited by: mariokrupik, at: 2007/07/22 16:13
Hi Mario,
Yes, I have exactly the same error message: PHP 5.1.4 on MySQL 5.0.22 on a virgin install of Joomla! 1.5.0
Will try some de-bugging later.
Bob
Later: progress report - the installer copyFiles() function is being called twice (recursion?) and the second time finds an empty file array and fails.
Later still: Calling twice is OK.
The installer is failing to extract the 'name' of the 'install file' from the XML and fails when it tries to copy just the paths.<br><br>Post edited by: GreyHead, at: 2007/07/22 20:40
thanks,
but unfortunatly I couldn`t really follow your path, should I actually already be able to install chronoforms, or are you still trying to get a workaround?
Also,
I would be very interested how you get those debug messages, do you use extra software, or is there a joomla logfile in the core for debugging?
thanks
Mario
Hi Mario,
Still working on it when I have spare moments.
It looks like either there's something wrong with the XML file - but I can't see what that might be - or there's a bug in the component installer that fails when there is an 'install file' for the extension.
The error message that we see is because the file copier is being called with paths that do not include the file name. For example: '...\com_chronocontact\' should be '...\com_chronocontact\install.chronocontact.php'
No logs or debugger that I know about. I just go and play 'hide and seek' by putting echo "XXX"; and print() statements in the code to track down where the problem arises. Unfortunately OO code makes that more difficult😟
Bob
PS If you want to look, the problem is with the copyFiles() call on line 188 of installer\adapters\component.php<br><br>Post edited by: GreyHead, at: 2007/07/23 00:21
Hi Mario,
OK - I've cracked the installer problem. The xml file has a bug that doesn't seem to show in 1.0.x. Instead of <installfile>name</installfile> it uses just <installfile><filename>name</filename></installfile>
Please replace the chronocontact.xml file in the current release with the one in the attached zip file and see if it works for you.
Later: Should be OK. I think that the 'instantiate' error I saw is just because sendmail isn't set up on my local WAMP!
Later still: checked the Developer manual and found that the installfile problem was with the ChronoForms xml file. Corrected this post accordingly.
Bob
Note: The attached file should work OK with Joomla 1.0.x or 1.5. Not yet tested with 1.0.x. [file name=chronocontact.zip size=1399]http://www.chronoengine.com/components/com_fireboard/uploaded/files/chronocontact.zip[/file]<br><br>Post edited by: GreyHead, at: 2007/07/23 10:16
thanks,
i`ll give it a try
Hi Mario,Bob,
Please give me sometime to finish V2.3 and then make it Joomla 1.5 compatible, this should be done all in a few days, hopefully this week.
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thanks max,
very much appreciated
Hi Mario,
I'm not sure what's happening here. The installer ran perfectly for me with the amended xml file.
Two possible thoughts. I did run the xml file through Tidy before posting it. You might try editing it to make sure that the DROP entry is on a single line.
Technically the queries should have unique ids <query id='1'> etc.
I'm not sure that either of these are going to do the trick but neither do I have anything better to suggest at the moment.
Bob<br><br>Post edited by: GreyHead, at: 2007/07/23 13:05
Hi Bob,
got it working now.
I really don`t know what the problem was, but I started to download a fresh install of chronoforms, and only replaced the installfile and uninstallfile as you directed, and now it`s working.
The only funny thing is, that this is working fluently with the rc1, but I also have nightly shortly after beta2 release, where this file is not working.
But whatever, old version anyway.
Thanks for all your effort,
mario
Hi Mario,
It's all a bit odd. I uninstalled and reinstalled and got the same SQL error, then refreshed the screen and the install continued successfully . . .
Anyhow I edited another version of the xml file with the minimum changes and that seems to install successfully and repeatedly on RC1 so I've posted that in the 'How to' forum.
Bob