Welcome Guest, Not a member yet? Register   Sign In
XML form generation
#11

[eluser]Maglok[/eluser]
Greetings,

I didn't fill out API keys, cause I guess I concluded from the readme to 'if you want to use' fields. I will try to set it up again and then remove the googlemap and captcha fields in the example. Though it renders nothing, still seems to suggest a parse error to me.

I used Carabiner 1.45, there is a Carabiner 2?
#12

[eluser]Mark Croxton[/eluser]
I was referring to the version of CodeIgniter you are using, rather than Carabiner Smile

Let me know how you get on.

Mark
#13

[eluser]Maglok[/eluser]
Ah I misread. You mentioned if I used the latest Carabiner, and then the CI version. I use CI 1.7.3.

As for the installing, I will let you know.
#14

[eluser]Maglok[/eluser]
Alright I have looked into it. At the moment I installed it (with carabiner) on http://fsc.dev.fss.uu.nl/index.php/formatic_example

It should be noted that http://fsc.dev.fss.uu.nl does work (the welcome msg)

Things I did:
- Autoload carabiner and formatic
- In formatic.php change the bridge to carabiner
- Install carabiner (put in the libraries and the minify, etc.)
- Install formatic's application side
- Install formatic's assets and upload dirs
- Comment out all fields except one text field in application/formatic/fields/example.php
- Turn on short openingtags (so it will parse the views)

It is still not rendering anything. What am I missing here?
#15

[eluser]Mark Croxton[/eluser]
Just seen your message I didn't get a notice from this forum.

Could you please try the following:

* verify that Carabiner is actually working independently of Formatic.

* make sure you are using the Carabiner asset render code rather than the Stuff code in formatic_view_example.php (near the top of the file).


Cheers

Mark
#16

[eluser]Maglok[/eluser]
I have tested that Carabiner works independently.

I have also uncommented the carabiner code in the formatic_view_example (hadn't done that yet) and commented the stuff out.

Still no work though. Sad
#17

[eluser]Mark Croxton[/eluser]
I've just tested everything again from scratch again and not found any problems. So I'm not sure what's going on here Sad

Any chance you can turn on error reporting and see what errors get generated?

Mark
#18

[eluser]Maglok[/eluser]
Hmm apparantly it can't find the 'CI_Controller':

Code:
[17-Jan-2011 09:34:10] PHP Fatal error:  Class 'CI_Controller' not found in \domain\application\controllers\formatic_example.php on line 3
#19

[eluser]Mark Croxton[/eluser]
There's the problem! That's how you do it in CodeIgniter 2 and Reactor.

For CI 1.x change to:
Code:
class Formatic_example extends Controller

You'll also need to change formatic_model_example to:

Code:
class Formatic_model_example extends Model

Sorry about that.
#20

[eluser]Maglok[/eluser]
Eureka!

http://fsc.dev.fss.uu.nl/index.php/formatic_example

I got the example working. Smile Thanks for the help. Now I can toy around with it a bit.




Theme © iAndrew 2016 - Forum software by © MyBB