News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

New and Old Install error "Template Parse Error"

Started by eldanas, August 25, 2011, 05:35:52 AM

Previous topic - Next topic

eldanas

Hi.

Some weeks ago, I have a 2.0RC3 install and works good.
Now, give me error in some cases.
Per example when i try to register a new user say this:

Template Parse Error!

It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.


Also, I I try to go to Feature Setings, or Package Manager or other say some similar:


Template Parse Error!

There was a problem loading the /Themes/default/Packages.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.


Now, I download final version 2.0, and install in new database and new directory and have the same problems.

What happend ?

I try too, put 755 chmod to all files, and same problem.

Can anyone help me, please ?

I don´t know How to do.

Thanks.

kat

Hi, eldanas! Welcome to the forum!

As that second message mentions language files, what language is your forum using?

Illori

sounds like an issue with the themes not being updated or uploaded completely on your server.

eldanas

Quote from: K@ on August 25, 2011, 06:01:00 AM
Hi, eldanas! Welcome to the forum!

As that second message mentions language files, what language is your forum using?

I use the standard of the new instalation.
I install over 0 all.

No chages made, only standard install.

eldanas

Quote from: Illori on August 25, 2011, 06:04:38 AM
sounds like an issue with the themes not being updated or uploaded completely on your server.
I don´t channge anything.
I do a new standard install.
Also, I do a new database with new user, and new 2.0 install, and give the same error.

eldanas

Other example, when not login in forum, and click to register.

Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.




Illori

can you or your host verify the ownership and chmod of all your theme and language files?

How do I chmod? / what is chmod?

eldanas

Quote from: Illori on August 27, 2011, 06:40:39 AM
can you or your host verify the ownership and chmod of all your theme and language files?

How do I chmod? / what is chmod?

All files have 755

kat

Do you OWN the files?

Only your host can tell you that.

This explains it all rather well.

http://en.wikipedia.org/wiki/Chown

Illori


eldanas

Quote from: Illori on August 27, 2011, 05:19:10 PM
files should be 644 not 755 that might help.

I change to 644 and report all pages this error:

Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


And the files are my own files. (normaly)

I change again 755 an now work the forum, but report same error to access in some parts, and register part.


Illori


eldanas

Quote from: Illori on August 27, 2011, 05:55:25 PM
ask your host to check your file permissions

My file permision is Ok. (because if were wrong, forum not work at all, but now some pages work good)
Is not a file permision problem. Have 755 and own files.
The forum works, exceps some places, like register, packages, users ... but forum works good, because see the posts.

Something extrange happend, and not know how !!

Illori

you are not telling us why those pages dont work. and i am not sold on this not being a permissions issue even if some pages are working.

eldanas

Quote from: Illori on August 27, 2011, 06:09:49 PM
you are not telling us why those pages dont work. and i am not sold on this not being a permissions issue even if some pages are working.

Well.
I have all my files to 755 permisions. rwx-rx-rx, and all files are my own.
Show the General discusion forum well, and hel, login page ..etc..
The forum, now show the index.php good, but if click in register, show the error.

Can see here: http://tuwebenlared.com/gpro [nofollow]

Before, when enter as admin, can´t enter in users, pacakges, forums, show the error.

I hope explain good, my english is not very well ;-)

Illori


eldanas


kat

Just a hunch...

These two files:

Sources>Register.php

Themes>Default>Register.template.php

Do they exist? If they do, are they read-enabled?

eldanas

Quote from: K@ on August 28, 2011, 10:45:36 AM
Just a hunch...

These two files:

Sources>Register.php

Themes>Default>Register.template.php

Do they exist? If they do, are they read-enabled?

Yes, exists and have rwx-rx-rx, and size is 28.002, is the orignal of a new installation.
Register.php, have rwx-rx-rx, and size is 32,024, is the orignal of a new installation.

kat

You still haven't told us if you have FULL OWNERSHIP of the files on your site.

As I said, earlier, your host will need to confirm that.

I'm not talking "CHMOD". I'm talking "CHOWN".

Advertisement: