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 2 [3] 4   Go Down

Author Topic: Failed to find block 'file_line'  (Read 64383 times)

0 Members and 1 Guest are viewing this topic.

jay2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.jay2.com
[fixed see sticky]template error
« Reply #40 on: October 18, 2003, 03:53:38 am »

http://impulsesd.com/impulsesd/modules.php?name=coppermine

i get the

Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

as well. i'm using

phpnuke 6.5
coppermine 1.1d

someone please help!
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
[fixed see sticky]template error
« Reply #41 on: October 18, 2003, 04:06:01 am »

Jay2 and rallyeulli what themes are you using that you're getting the file_line template error? Are these files from this sites download? Have you done any modifications? I will test the themes and find your errors ya just gotta let me know...

jay2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.jay2.com
[fixed see sticky]template error
« Reply #42 on: October 18, 2003, 09:18:47 am »

i cant even access the gallery at all. Im using the copperzone theme for phpnuke. www.nukemods.com is where i got the theme.
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
Broken theme fix
« Reply #43 on: October 18, 2003, 09:32:53 am »

jay2: Scan up the thread for the phpmyadmin command to change the theme If you'd like to send the theme folder to me I'll see if I can fix it.

jay2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.jay2.com
[fixed see sticky]template error
« Reply #44 on: October 19, 2003, 03:49:48 am »

okay.. i have reinstalled the coppermine gallery and i am still getting the same error. any other suggestions?
Logged

SpiderGhost

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[fixed see sticky]template error
« Reply #45 on: October 21, 2003, 04:54:42 pm »

hey i just installed the 1.1d version and im getting this error too .. i tried everything but nothing seems to work .. i checked for the username/ uname conflict and i am using the default theme but when i go to the module all i see is this template error:
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :


and i tried installing version 1.2 and it didnt work either.. so i went back to 1.1 .. can someone please explain how to fix this?  :cry:

Im running phpnuke 6.5 and version 1.1D of coppermine
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[fixed see sticky]template error
« Reply #46 on: October 21, 2003, 10:04:42 pm »

coppermine/themes/default/theme.php beginning at line 556 should say:
Code: [Select]
<!-- BEGIN file_line -->
                        <br />
                        <br />
                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->


If not then you have wrong files
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
[fixed see sticky]template error
« Reply #47 on: October 21, 2003, 10:16:12 pm »

Often with this error it's not the blocks that are missing, but an error before that that causes the block info not to be read by the script, it shows there is an error in your theme.
I am in the process of setting up nuke6.5 with the default download from here to see if I can recreate your prob...

jay2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.jay2.com
[fixed see sticky]template error
« Reply #48 on: October 22, 2003, 07:01:29 am »

any luck on this yet? i still get the errors.  :(
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[fixed see sticky]template error
« Reply #49 on: October 22, 2003, 07:13:01 am »

Could you activate coppermine on your site so i can see the error?
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
6.5 install no errors....
« Reply #50 on: October 22, 2003, 08:46:00 am »

ok it took all day to get the 6.5 nuke running but I got it ( started with a dev version from nukecops deinstalled deleted and reinstalled standard version ) , then I uploaded coppermine1.1d for 6.5+ ran the sql though phpmyadmin, activated coppermine through the nuke menu, and... no problems I uploaded a picture as admin and can browse fine as anon... the URL is  a temporary domain {PM if you want to test your scenerio}
the only changes I  made to the default install was, switch to nuke theme, the nuke theme fix (uncomment as spoken about on this board) and denying all but voting to anon. Can you all tell me what y'all did that was different than this?

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
file line error
« Reply #51 on: October 22, 2003, 01:31:39 pm »

try this:
in init.inc.php on line 135
you have
Code:
$CONFIG['TABLE_USERS']        = "nuke_users";
 
change the nuke_ to the prefix you use for your phpnuke

jay2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.jay2.com
[fixed see sticky]template error
« Reply #52 on: October 23, 2003, 02:33:52 am »

that fixed the problem! many thanks!  :D  :D  :D  :D
Logged

Urza

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
[fixed see sticky]template error
« Reply #53 on: October 23, 2003, 01:08:42 pm »

I'm getting a similar error, I'm running PHP-Nuke 6.8, and have the CPG 1.1d freshly downloaded and installed from this site last night.

Code: [Select]
Warning: Undefined index: debug_mode in /home/sites/site2/web/nuke/html/modules/coppermine/include/functions.inc.php on line 123
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :


If you want to take a look, the site is http://www.tricorp.net and the address of the Module is http://www.tricorp.net/nuke/html/modules.php?name=coppermine.

Any suggestions?
Logged

SpiderGhost

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[fixed see sticky]template error
« Reply #54 on: October 23, 2003, 01:20:44 pm »

Alright i will try those ..i just have one more question.. if my tables prefix is nuke_ should i change the config.inc. to say nuke_ instead of cpg_ ?
Logged

SiteMaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
[fixed see sticky]template error
« Reply #55 on: October 24, 2003, 07:40:06 pm »

first sorry for my english :D

i have the same problems in phpnuke v6.9 but i got it to work
here is how i did

all my tabels i my db starts with nuke_
so before i imported the coppermine.sql i changed the cpg_ to nuke_cpg_
so i needed to change the $CONFIG['TABLE_PREFIX'] = "cpg_"; to "nuke_cpg_";

open modules\coppermine\include\config.inc.php
Code: [Select]
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'&#93; = "database server";       // Your database server
$CONFIG['dbuser'&#93; = "database username";  // Your mysql username
$CONFIG['dbpass'&#93; = "database password";         // Your mysql password
$CONFIG['dbname'&#93; = "database name";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'&#93; = "nuke_cpg_";
?>
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[fixed see sticky]template error
« Reply #56 on: October 25, 2003, 03:39:32 am »

No spyderghost unless you edited coppermine.sql.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

peoples

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Coppermine PHP-Nuke help
« Reply #57 on: October 30, 2003, 09:28:47 pm »

My coppermine is been having some problems, I tried to install and re-install about 2 times, look at the problem which appears here

http://community.dvdmations.com/modules.php?name=coppermine

Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

I have no Idea what to do...
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[fixed see sticky]template error
« Reply #58 on: October 30, 2003, 09:48:15 pm »

You installed Coppermine for phpNuke 6.5 into phpNuke 6.5 or above ?
Uploaded all files from the zip to modules/coppermine ?
You configuration of coppermine uses Default theme or did you change that ?
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

peoples

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[FIXED] Template Error
« Reply #59 on: October 31, 2003, 01:40:40 am »

I know this Error been coming up to many people, and no one has found a solution, I love Coppermine, But I cant seem to get it to work, please someone help me out, I installed everything correctly, and in the right folders, and all the mysql files and everything... I have php-nuke 6.5 and coppermine 1.1D I cant seem to figure it out. The error is ....

Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

the error looks like this on the site
http://community.dvdmations.com/modules.php?name=coppermine

Please My website is due on November 10'th Or else my Sponsours will stop sponssoring me... email me at : peoples@dvdmations.com :

Please Post Your Suggestions/Ideas
Logged
Pages: 1 2 [3] 4   Go Up
 

Page created in 0.03 seconds with 19 queries.