17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1052 Views |
-
Page with File Upload doesn't work (Error saving content or Error in Ajax Evaluator). Please help.

26 February 2008 at 7:14am Last edited: 26 February 2008 8:39pm
Hi forum
I created a new Page-Type and added the following fields to the DB
static $has_one = array(
'MyFile' => 'File',
'Preview' => 'Image'
);I added the appropriate Form Fields to the Tabs in getCMSFields.
Whenever i try to save such a Page, i get a Error: Error saving content.It works fine when i remove the 'File' field.
The 'Image' upload always works, what could be the Problem with 'File'?Edit
Rephrased Topic Title for clarity. -
Re: Page with File Upload doesn't work (Error saving content or Error in Ajax Evaluator). Please help.

26 February 2008 at 8:34pm
I changed the FileField to FileIFrameField, now the upload works, but whenever i try to save the page i get:
Error in Ajax evaluator on line 974: invalid flag after regular expressionThe document is actually being saved, but the error message is really annoying.
Could somebody please help me resolve this? Or maybe tell me where this error comes from? Is there some sort of Error-Log with a more detailed description, since i really don't have a clue where to start debugging.Thanks a ton
-
Re: Page with File Upload doesn't work (Error saving content or Error in Ajax Evaluator). Please help.

28 February 2008 at 9:38pm
Anybody?
Is there a workaround for this?
| 1052 Views | ||
|
Page:
1
|
Go to Top |

