forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: u2web on July 08, 2004, 12:03:25 am

Title: Unknown modifier 't' in /templates/index.php on line 137
Post by: u2web on July 08, 2004, 12:03:25 am
I seem to have come across a small problem, I have tried to back track and also upload a new index.php but to no avail.

Unknown modifier 't' in /templates/index.php on line 137

Please help.

Thank you in advance.
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: Casper on July 08, 2004, 12:29:57 am
Coppermine standalone version does not have a directory 'templates', so either you are using a cms version, or your problem is with a different application (unless for some strange reason you called you cpg directory 'templates'.
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: u2web on July 08, 2004, 12:51:01 am
I installed the script via Fantastico in cPanel, and the script is installed to a directory named templates.

Can you offer any further suggestions to rectifying this problem?
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: Casper on July 08, 2004, 01:05:34 am
OK,
line 137 of the stable 1.3.0 index.php should read
Code: [Select]
if ($level == $CONFIG['subcat_level']) {
Try getting a new copy of the index.php from the stable branch of cvs and uploading it to your server.
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: u2web on July 08, 2004, 01:42:05 am
My line 137 in index reads
'{MODIFY}' => $lang_album_admin_menu['modify'],
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: Joachim Müller on July 08, 2004, 07:36:35 am
OK, this is some sort of misunderstanding: there are a lot of users who claim to have used "fantastico (http://www.cpanelthemes.com/fantastico.php)" to install coppermine. I have never tried fantastico myself, nor cpanel, but as I understand it the software is used to painlessly install open source software packages to your server (correct me if I'm wrong). For this, the fantastico builders had to re-package the original open source packages (and applying all sorts of "tweaks" to the package to make them work with fantastico in the first place). From my point of view, it's a good idea to have such a "package manager" on your webserver if you have no intention to find out details about a third party software, but there are drawbacks as well: the fantastico packages are not the most recent packages, and the tweaks they had to apply to it makes it impossible for us (the developers of the "original" package) to give full support, as the code base differs. Basically, there's only one advise: if you really need coppermine, don't use fantastico nor cpanel, but install it "the old fashioned way", or look for support on your webhost's site or the site or the fantastico homepage.

GauGau
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: Peter_AUS on July 08, 2004, 08:34:10 am
I have cpanel too, but installed compermine the old fashion way, not being that familiar with php at all, I followed the steps as per the install instructions, step by step and had no problems at all.  Even doing the upgrade to the current version 1.3.0  would suggested doing the same thing I did as suggested already to you.
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: u2web on July 08, 2004, 11:29:17 pm
I have to agree, cPanel - Fantastico is not installing the latest version of this script.  After a full install via ftp all seems to be working as you would expect it to be.  I would like to add that u2-web.com thanks the excellent support we have received over the past few days, and this script, forum and members are a credit to you all.

http://www.u2-web.com/templates/index.php
Title: Re: Unknown modifier 't' in /templates/index.php on line 137
Post by: Tarique Sani on July 09, 2004, 05:20:54 am
I have to agree, cPanel - Fantastico is not installing the latest version of this script.
Please holler at Fantastico and your web host on our behalf