Today night i tired the manual Installation of TP..... well all worked fine even the manual_tp_install.php worked, but if i start now the index.php on the Root Folder this Parse Error appears.
Template Parse Error!
There was a problem loading the /Themes/default/index.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.
Parse error: syntax error, unexpected '<' in .../Themes/default/index.template.php on line 128
119:
120: // Output any remaining HTML headers. (from mods, maybe?)
121: echo $context['html_headers'], '
122:
123: <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
124: var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';
125:
126: function shrinkHeader(mode)
127: {';
128: <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
129: var current_leftbar = ', empty($options['collapse_leftbar']) ? 'false' : 'true', ';
130:
131: function shrinkHeaderLeftbar(mode)
132: {';
the lines of the current index.template.php
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';
function shrinkHeader(mode)
{';
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_leftbar = ', empty($options['collapse_leftbar']) ? 'false' : 'true', ';
function shrinkHeaderLeftbar(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_leftbar", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("leftbarHeader").style.display = mode ? "none" : "";
current_leftbar = mode;
}
// ]]></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_rightbar = ', empty($options['collapse_rightbar']) ? 'false' : 'true', ';
function shrinkHeaderRightbar(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_rightbar", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("rightbarHeader").style.display = mode ? "none" : "";
current_rightbar = mode;
}
// ]]></script>
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
Any Suggestions?
Thanks in forward
//Shiek
€: i attached the current index.template.php
is this on a fresh install of smf and tp. Do you have any other mods installed and is this the default theme template
Quote from: Tick on August 25, 2007, 05:16:14 AM
is this on a fresh install of smf and tp. Do you have any other mods installed and is this the default theme template
not a fresh install of smf. i installed it 1 month ago (i think)...
i set before the installation it to the default theme, and maintence mode.
Forum Version were 1.1.3
TP_0983_manual installation.
Do you have any other mods installed?
Quote from: Tick on August 25, 2007, 05:40:03 AM
Do you have any other mods installed?
no, as long i remember
Try this one.
Quote from: Tick on August 25, 2007, 05:46:08 AM
Try this one.
when i download this file a index.php appears, is that corrent?
should i rename it into index.template.php and replace it /themes/default/* ?
sorry, if i am wrong :)
€: renamed it, Works fine.
Thanks Tick i highly appreciate ur work in here ! :up:
Sure thing bud. Glad to have helped you. :)
Sorry to disturb you guy's again.
The SMF Portal runs great now ;)
but i noticed a little issue there ---> http://213.239.219.51/forum/
on the Download area u can Upload Files, i tired this out and its acting really strange.... small files i can upload... arround~ 2MB
but i entered on the Admin side that Files with a Size of 5000000kb are allowed to upload... as u can see on this Screen's
--> (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fandroid%2Ftp.jpg&hash=e6be10fb8e08c5afab0da774ced6d5a7e672b32d)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fandroid%2Ftp2.jpg&hash=1ffc9e1a73dad2d661a9c7ae7c868fea3f6d0eb5)
Is there maybe a "timelimit" ?
Any Suggetions to fix it ?
Thanks in forward
//Shiek
€:
This Error occurs --> (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fandroid%2Ftp3.jpg&hash=1a76405cb987e7505ce024c7f1567de8796f52da)
If I remember correctly it is a php limitation thats usually imposed by certain hosts.
Quote from: [cbl]Drifter on August 25, 2007, 04:16:09 PM
If I remember correctly it is a php limitation thats usually imposed by certain hosts.
Your correct!
Quote from: crip≈ on August 25, 2007, 04:18:05 PM
Quote from: [cbl]Drifter on August 25, 2007, 04:16:09 PM
If I remember correctly it is a php limitation thats usually imposed by certain hosts.
Your correct!
And how can i solve the Problem ?
You would have to contact your host and ask them to raise the upload limit. Most host have this set at 2mb
Quote from: Tick on August 25, 2007, 04:33:24 PM
You would have to contact your host and ask them to raise the upload limit. Most host have this set at 2mb
im the host/owner of the root server.
That's why im asking, where i could change this =)
www.simplemachines.org have the answers you want
Or a search would give you the answer here on this site.
Another good option... Google is your friend... ^-^ http://www.washington.edu/computing/web/publishing/php-ini.html#create