Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Unknown modifier 't' in /templates/index.php on line 137  (Read 7116 times)

0 Members and 1 Guest are viewing this topic.

u2web

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Affordable Web Hosting
Unknown modifier 't' in /templates/index.php on line 137
« 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.
Logged
www.u2-web.com
Affordable Web Hosting

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #1 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'.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

u2web

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Affordable Web Hosting
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #2 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?
« Last Edit: July 08, 2004, 12:57:51 am by u2web »
Logged
www.u2-web.com
Affordable Web Hosting

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #3 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

u2web

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Affordable Web Hosting
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #4 on: July 08, 2004, 01:42:05 am »

My line 137 in index reads
'{MODIFY}' => $lang_album_admin_menu['modify'],
Logged
www.u2-web.com
Affordable Web Hosting

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #5 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" 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
« Last Edit: July 08, 2004, 07:43:53 am by GauGau »
Logged

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #6 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.
Logged
Regards,

Peter

u2web

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
    • Affordable Web Hosting
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #7 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
Logged
www.u2-web.com
Affordable Web Hosting

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Unknown modifier 't' in /templates/index.php on line 137
« Reply #8 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
Logged
SANIsoft PHP applications for E Biz
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.