Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: desteele - toukokuu 23, 2006, 07:58:53 AP

Otsikko: Template Parse Error
Kirjoitti: desteele - toukokuu 23, 2006, 07:58:53 AP
When I try to go into "Avatar Settings" I get the following message:

LainaaThere was a problem loading the \Themes\default/languages/ManagePermissions.english.php template or language file.

Here's the highlighted code it displays:

224: $txt['permission_disable_postgroups_warning'
] = 'Disabling this setting will remove permissions currently set to post count based groups.';local permissions means that
for that board, you can set every permission for
every membergroup.';


Am I missing some slashes?  Fresh upgrade last night, and everything else seems to be working pretty well.

Thanks,

DeS
Otsikko: Re: Template Parse Error
Kirjoitti: kegobeer - toukokuu 23, 2006, 09:26:09 AP
Upload a fresh copy of ManagePermissions.english.php.
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 23, 2006, 09:01:11 IP
Lainaus käyttäjältä: kegobeer - toukokuu 23, 2006, 09:26:09 AP
Upload a fresh copy of ManagePermissions.english.php.


Done it twice now, and the error has changed, but for the same file. 

LainaaParse error: parse error in E:\inetpub\vhosts\springdalegrads.com\httpdocs\forum\Themes\default\languages\ManagePermissions.english.php on line 224

224: $txt['permission_disable_postgroups_warning'] = 'Disabling this setting will remove permissions currently set to post count based groups.'; local permissions means that for that board, you can set every permission for every membergroup.';
Otsikko: Re: Template Parse Error
Kirjoitti: Kindred - toukokuu 23, 2006, 09:15:05 IP
you definitely have issues....   that second bit (after the first semicolon is NOT supposed to be there.

get a FRESH copy of the file directly from the archive...
do NOT open in an editor
load it using FTP and BINARY mode.
Otsikko: Re: Template Parse Error
Kirjoitti: Oldiesmann - toukokuu 23, 2006, 09:29:32 IP
Also make sure your FTP client is set to overwrite files and not "resume" or "skip".
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 23, 2006, 11:53:07 IP
OK, I pulled down the full install package, pulled that file out, stuck in the spot that the parse error is pointing to, but here's my confusion:  I'm not using the default theme, I'm using smFox... is that considered the "default" by the software and I'm sticking this file in the wrong directory?  Because I just got it again:

LainaaParse error: parse error in E:\inetpub\vhosts\springdalegrads.com\httpdocs\forum\Themes\default\languages\ManagePermissions.english.php on line 226

Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 24, 2006, 12:23:49 AP
Nope, that can't be it.  Its still pulling on that same directory...I'm clueless.  If anyone else has an idea, I'm all ears.  The forum is working fine otherwise, just can't change the avatar settings, or the calendar settings.
Otsikko: Re: Template Parse Error
Kirjoitti: Kindred - toukokuu 24, 2006, 07:46:07 AP
if a file is not present in a theme, then the system will use the files from the default theme...   so, loading the ManagePermissions.english.php inot the default/languages directory is completely correct.


if you PM me your FTP user/password information and a url, I will see what I can do for you.
Otsikko: Re: Template Parse Error
Kirjoitti: kegobeer - toukokuu 24, 2006, 07:46:40 AP
If you use the default theme, do you still get that message?
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 24, 2006, 08:16:52 AP
Lainaus käyttäjältä: kegobeer - toukokuu 24, 2006, 07:46:40 AP
If you use the default theme, do you still get that message?


Yep... I have a hard time believing it's the reloaded file, simply because two separate copies have gone in there.  I noticed that SmartFTP was set for "Cached directories" last night, so I un-set that, deleted it from the directory and reloaded the file yet again, still with no luck.  I feel like it has to do with the upgrade process somehow, not sure why it would, but obviously if hundreds of people are using the same exact file with no problem it has to be something with my install. 
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 24, 2006, 08:18:17 AP
Lainaus käyttäjältä: Kindred - toukokuu 24, 2006, 07:46:07 AP

if you PM me your FTP user/password information and a url, I will see what I can do for you.


Done...thanks.
Otsikko: Re: Template Parse Error
Kirjoitti: Kindred - toukokuu 24, 2006, 09:51:42 AP
should be fixed.
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 24, 2006, 10:16:40 AP
Lainaus käyttäjältä: Kindred - toukokuu 24, 2006, 09:51:42 AP
should be fixed.


Outstanding...now, are you going to share?   :)


And thank you very much...
Otsikko: Re: Template Parse Error
Kirjoitti: Kindred - toukokuu 24, 2006, 10:40:33 AP
whatever you were doing what just writing the SAME error line...  somehow line 224 of your file got corrupted and you just kept writing the same error.

I loaded a verified clean copy from my system, using FTP, overwriting....
Otsikko: Re: Template Parse Error
Kirjoitti: desteele - toukokuu 24, 2006, 10:50:35 AP
Lainaus käyttäjältä: Kindred - toukokuu 24, 2006, 10:40:33 AP
whatever you were doing what just writing the SAME error line...  somehow line 224 of your file got corrupted and you just kept writing the same error.

I loaded a verified clean copy from my system, using FTP, overwriting....



Well, I'd say "crap..." but I don't know how I could have done it any differently.  Would passive vs. active FTP have made any difference?  I know I was using binary...
Otsikko: Re: Template Parse Error
Kirjoitti: Kindred - toukokuu 24, 2006, 11:41:10 AP
passive vs active only makes a difference in getting through firewalls.

I don't know what was causing it...  there is a chance that your original file on your home system was corrupted.