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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

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

Post 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
Last edited by Andor on Mon Feb 20, 2006 6:32 am, edited 1 time in total.
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

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

Post by Andor »

Anyone?

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

:-\ Andor
Mudders

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

Post 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.
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

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

Post 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!
Mudders

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

Post 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.
Post Reply

Return to “CMSMS Core”