Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: lelynx - syyskuu 23, 2011, 09:53:22 AP

Otsikko: after upgraded to 1.1.15, copyright is missing
Kirjoitti: lelynx - syyskuu 23, 2011, 09:53:22 AP
after upgraded to 1.1.15, i'm getting this message at the bottom of my page
-----
Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.
-----
any idea what's wrong here?

-----
The theme_copyright() is there at my code before the upgrade.
Extracted from my index.template.php.
Any idea what's wrong here? Syntax error?

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
   echo '<div style="white-space: nowrap; padding: 10px; text-align: center;" class="smalltext">
                                        ', theme_copyright(), ' <br />
               <a href="hxxp:validator.w3.org/check/referer [nonactive]" target="_blank">XHTML</a> |
               <a href="hxxp:jigsaw.w3.org/css-validator/check/referer [nonactive]" target="_blank">CSS</a> |
               <b>', $context['mycolor']=='_terra' ? 'Terra97' : 'Aero79' ,'</b> design by <a href="hxxp:www.tinyportal.net [nonactive]" target="_blank">Bloc</a>';
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: Ricky. - syyskuu 23, 2011, 09:58:29 AP
Consider attaching your index.template.php
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: geomouchet - syyskuu 25, 2011, 01:30:59 AP
Has anyone found a solution to this?  I am gettting the same error.  The copyright notice disappeared and I am getting "Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.
Not sure why this message is appearing? Take a look at some common causes." instead.  The copyright showed fine in 1.1.14.  index.template.php was unchanged. What exactly was changed in 1.1.15.
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: geomouchet - syyskuu 25, 2011, 01:34:01 AP
BTW, the PHP, MySQL and W3C logos are still there.  Just the copyright in the middle was affected by the update.
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: geomouchet - syyskuu 25, 2011, 01:50:59 AP
I have a little more information.  I have two subdomains: www, which is the main web site, and test, which I use for testing.  I had applied 1.1.15 to test.  The error then appeared on www.  Test showed the copyright and no error. I don't really understand it, but the error went away when I applied 1.1.15 to www.   I am using subdomain independent cookies, but I don't see how that could affect it.

Lelynx, does this sound like your situation?
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: Ricky. - syyskuu 25, 2011, 10:58:33 AP
As said, consider attaching your index.template.php ,though you hve tried to give info as much as you can but still problem must be traced in systematic manner.
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: Dgui - syyskuu 25, 2011, 10:08:04 IP
We noticed the issue on a couple of upgrades to 1.1.15.

The problem is likely with the ./Sources/Subs.php file, replace it with the old file and see if the copyright error goes away.

If so, try the manual edits on the subject file (suggest copying the edits from the upgrade file).
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: lelynx - syyskuu 25, 2011, 11:54:25 IP
my index.template.php as attached
thanks for any help provided :)

hi, geomouchet
mine is not as your setup. just simple www domain only
Otsikko: Re: after upgraded to 1.1.15, copyright is missing
Kirjoitti: Ricky. - syyskuu 26, 2011, 03:25:21 AP
Sorry, looks like you attached wrong file.. You need to attach file from Theme/default/index.template.php (or for the theme you are using).
Also include your Sources/Subs.php