Forums

ChronoForms doesn't work on one host, works fine with other

stefp 26 Mar, 2010
Hi!

I couldn't find the answer to my question, so I'm posting it here. I've got a serious problem with ChronoForms. It works fine on my own website. The wizard, saving and using forms. But on my clients website it doesn't.
After a few re-installs I get this screen when I go to the Form Wizard:
At first I only got this page (which seems to be kinda off...) when I tried to go to a few options in the ChronoForms component. But now it's appearing with all options...

Can anyone please help me?? Thanks a lot in advance!

By the way, I know it's not validated yet, I want it to work before I make a purchase.
GreyHead 26 Mar, 2010
Hi stefp,

We've seen this once or twice recently and don't realy know what causes it. I suggest that you remove all the php files from the components/com_chronocontact/plugins folder and see if that clears the problem. If it does then try putting them all back except for the ReCaptcha plugin - someone reported that solved the problem for them

Bob
stefp 26 Mar, 2010
Hi Bob,

Thanks for your very quick reply! Unfortunately your suggestion works partially. When I remove all of the plugins, ChronoForms works, except for the Forms Management and Upgrade SQL and Load Demo Form. These screens are completely blank.
When put the plugins back except the recapcha-plugin. The blank screens I just mentioned, look like the image I posted before.

Could the problem have something to do with a different plugin? Or is there something wrong with my database? Since ChronoForms works fine on my own website...
GreyHead 26 Mar, 2010
Hi stefp,

Looks like the installation is broken. If it's new, try reinstalling again.

If you set Site Global Reporting to Maximum you may see some more useful PHP Error messages instead of the blank screens.

Bob
stefp 26 Mar, 2010
Hi Bob,

Thanks for your help so far! My name is Stef by the way :-)
I set the error reporting to maximum and receive this error on:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 77824 bytes) in /var/www/html/components/com_chronocontact/plugins/cf_paypal_api.php  on line 380


So I removed that plugin and also the captcha plugin. But the error is still there and changed a little. The problem has now something to do with line 118 of the same paypal plugin...

Thank you,

Stef
GreyHead 26 Mar, 2010
Hi Stef,

If you possibly can increase the memory limit for your PHP installation. The 8Mb isn't enough for some reason. I think that you can may be able to do this with a command in your template header.

Bob
stefp 26 Mar, 2010
I don't think my host is going to like that... but I can give it a try.

Thank you,

Stef
GreyHead 26 Mar, 2010
Hi Stef,

See this post. Otherwise I know a friendly Dutch host . . .

Bob
stefp 26 Mar, 2010
Okay it is working... I can now access Forms Management and Upgrade SQL and Load Demo Form. But I get these errors:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/html/administrator/index.php:2) in /var/www/html/libraries/joomla/session/session.php  on line 423

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/administrator/index.php:2) in /var/www/html/libraries/joomla/session/session.php on line 426


Since I'm not that much of a developer, I'm a little clueless. I did what you suggested. The memory limit was set to 8. I put this line
ini_set('memory_limit', '32M');
as first line of code in administrator/index.php.

Is this okay? Also the text is bigger now, than it was before. Setting the limit to 16M doesn't solve this. Or can I now create my form, put it on the site and remove the line of code? Would it then work?
GreyHead 27 Mar, 2010
Hi Stef,

Well it needs to go inside the <?php tags:
// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define('DS', DIRECTORY_SEPARATOR);
ini_set('memory_limit', '32M'); // << here might be better

Bob
stefp 27 Mar, 2010
Thank you so much, Bob! It's working fine now! So I can finally finish the site and make my client a happy camper ;-)

Thank you,

Stef
jstratford 03 Dec, 2010
Bob and Stef, this was exactly what I needed to know. Much appreciated!

Jon
This topic is locked and no more replies can be posted.