Forums

Blank page in Frontend view (even with the simplest form)

mpeter1975 12 Jan, 2012
Hi,

I just downloaded CF. My installation is Joomla 1.7.3 (English, SEO/SEF totally off) and ChronoForms J1.6 V4 RC3.0. I've also downloaded and installed the CFs module (same version). My problem is after I create a form and try to view it in Frontend view I receive a totally blank page.

My form:
test_form is created by the Form Wizard. Elements contain only one Text Box (Label Text: Test, Field Name: test, all other is default). Actions contain an On Load event which is Show html(0) (all settings are default). Save & Close the form. Click on Frontend view and I get a new, _blank_ browser window.

What did I do wrong? I need to create am extended registration form quickly and I think CFs will be the best way to do that. Although I don't really know how to handle some new registration fields (I know how to create them).

Any help welcome!
Peter
GreyHead 12 Jan, 2012
Hi Peter,

A completely blank page is usually an indicator of a PHP Error. Please try temporarily setting your Site Error Reporting to Maximum in the Site Global Configuration and see if you get a more helpful error message.

Bob
mpeter1975 12 Jan, 2012

Hi Peter,

A completely blank page is usually an indicator of a PHP Error. Please try temporarily setting your Site Error Reporting to Maximum in the Site Global Configuration and see if you get a more helpful error message.

Bob



Hi,

I set the Joomla's configuration to Debug Yes. Unfortunately I cannot change the php.ini file, I have no permission to do that. Nothing special appears only the blank page. On the admin page the debug give no clue, CFs form is only displayed regarding languages:

**Untranslated Strings**

# **Unknown file**

BACKUP_FORMS="Forms"
COPY_FORM="form"
CREATE_TABLE="table"
INSTALL_ACTION="Action"
RESTORE_FORMS="Forms"
SHOW_DATA="Data"

# /var/www/administrator/components/com_chronoforms/toolbar.chronoforms.php

FORMS_MANAGER="Manager"


Managed to turn on error reporting PHP feature and turned out that the otherwise well working JoomDoc is the guilty:

Fatal error: Class 'JModel' not found in /var/www/modules/mod_joomdoc/mod_joomdoc.php on line 37

I don't know anything about the problem, because JoomDoc was working. Removing it solved the problem, but generate a new one: How can these two extension live with each other?
GreyHead 12 Jan, 2012
Hi Peter,

This is a bug in the JoomDoc module - it assumes that some other component will have loaded the Joomla! JModel file. I think this is the third module we've seen with this problem.
You can try putting this code into a Custom Code action in your form's On Load action:
<?php
jimport( 'joomla.application.component.model' );
?>
Hopefully that will fix the problem.

There's a slighty fuller description of a fix for another module here

Bob
mpeter1975 12 Jan, 2012
Thank you very much Bob! I'll follow the link you gave and apply the "patch" you presented.
Peter
This topic is locked and no more replies can be posted.