Page 1 of 1

Can't edit templates - error in edittemplate.php?

Posted: Sun Feb 19, 2006 2:01 pm
by Andor
I just installed version 0.11.2 (I am really amazed how simple and flexible you have made it all compared to a lot of other solutions!) and all went fine.

Basics:
PHP version 4.4.2
MySQL version 4.0.25
Apache version 1.3.34 (Unix)

Now I'm trying to edit templates, but get this error:
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /cms/admin/edittemplate.php on line 240

This is what line 240 looks like:
/>

However, it is possible to create a new, copy and delete a template. I have uploaded the edittemplate.php and the class.template.inc.php again, just to make sure these files were not 'corrupted' during upload.

Since it's a 'vanilla' installation, I really can't figure out what's wrong...

Any ideas?

Thanks in advance,

Andor

Re: Can't edit templates - error in edittemplate.php?

Posted: Mon Feb 20, 2006 4:03 pm
by Andor
Anyone?

Any information I can provide to make it easier and maybe even more exciting to look into?

:-\ Andor

Re: Can't edit templates - error in edittemplate.php?

Posted: Mon Jul 03, 2006 12:33 pm
by Mudders
Andor wrote: Anyone?

Any information I can provide to make it easier and maybe even more exciting to look into?

:-\ Andor
Did you eventually solve this? I'm guessing it might be a permissions issue as this has just occured on my installation so have a feeling my hosting provider has changed something.
Now to figure out what.

Re: Can't edit templates - error in edittemplate.php?

Posted: Mon Jul 03, 2006 3:46 pm
by Andor
Hi,
Unfortunately I never solved this. However, I went on to 0.12 and it all worked fine,which make me wonder if it really is a permissions issue, since "nothing" else changed.

Disturbing though not to know what it was that made me so frustrated at the timeĀ  ;)

Good luck!

Re: Can't edit templates - error in edittemplate.php?

Posted: Mon Jul 03, 2006 4:56 pm
by Mudders
I fixed this eventually by deleting my templates_c directory and recreating it with nothing inside and the permissions 777.
After that it worked fine. So don't know what that was about.