1
Daethian
Formulize Parse error
  • 2007/12/30 21:58

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


When trying to access Form Management from the control panel:

Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in /home/crabstrt/public_html/xoops/modules/formulize/admin/formindex.php on line 195

Menu and Preferences seem to work fine.
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

2
jegelstaff
Re: Formulize Parse error

Hello, thank you for your interest in Formulize. Sorry to hear you're having trouble.

What version of PHP are you using? And what does line 195 in that file look like? Make sure you do not have "line wrapping" turned on when you look at the file so you can find the correct line number.

This error has not occurred on any systems we maintain ourselves. I believe line 195 is a comment, but it has code in it. Possibly your parser is misreading the line. If it is commented, and you delete it entirely, perhaps that will solve the issue?

Let us know how it goes. Good luck,

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

3
Daethian
Re: Formulize Parse error
  • 2008/1/3 0:45

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


PHP 5.2.5

Here is line 194 and 195

// copy a form -- added June 17 2005
function clone($title) {
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

4
jegelstaff
Re: Formulize Parse error

You're using a really old version of Formulize, possibly 2.0 something. It is not compatible with PHP 5. You need to upgrade to the latest version. You can get the latest version here:http://www.freeformsolutions.ca/formulize

Read the readme file. Follow the upgrade instructions carefully, especially step 6. If the main admin page of Formulize does not say 2.2 at the bottom, then you need to do step 6.

Let us know if that fixes the issue. Good luck,

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

5
Daethian
Re: Formulize Parse error
  • 2008/1/4 17:48

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Okay thanks I downloaded it from the module repository.

I will give it a try over the weekend and report back.

Thanks for your help!
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

6
Daethian
Re: Formulize Parse error
  • 2008/1/7 1:13

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Okay that made a difference but I still have some issues.
In the readme it says there are patch files. The only additional files are located in the Drupal Integration folder, are those the files? Neither of them is in xoopsforms as the readme says it is. If the patch files are not part of the archive, where can I download them?

I can't get the forms to show on the form menu.

How can I make one of the forms be submitted to an email address?
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

7
jegelstaff
Re: Formulize Parse error

Hello,

In the Formulize 2.3 RC1 zip file, there is another .zip file called xoops_2.0.x_datebox_patch.zip. That's the patch file referred to. It's not critical for the operation of Formulize, but does greatly improve the behaviour of dateboxes, by introducing a true non-date default value (YYYY-mm-dd).

If all you want is a form that people can fill in and the results get sent to an e-mail address, you may want to try Formulaire.

In Formulize, you can click the Notifications button on the list of entries page, and specify there what e-mail messages you want sent to whom when entries are created, modified or deleted.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

8
Daethian
Re: Formulize Parse error
  • 2008/1/17 3:34

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Thanks! I installed it and it does look to be a better fit for what I need!!
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

9
Daethian
Re: Formulize Parse error
  • 2008/1/17 15:22

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Another question. I had created 2 forms with Forumulize, is there a way to import those into Formulair so that I don't have to recreate them from scratch??

I'm so glad you guys are still around to offer some support on your modules!!
http://www.artfire.com/daethian
My Artfire store- Vintage Jewelry and New Bead Jewelry

10
jegelstaff
Re: Formulize Parse error

Unfortunately, no. There is no import process between Formulize and Formulaire, or vice versa. The data structures are very similar though. If you're good with phpMyAdmin, you may be able to copy entries from the _formulize table and _formulize_id table to the _form table and _form_id table. It may work as is with no modifications, or maybe some of the data would have to be altered to fit. I'm not sure if all the fields are a perfect match still.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

Login

Who's Online

254 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits