News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Failed to find block 'file_line'

Started by gtroll, September 24, 2003, 06:25:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jay2

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!

gtroll

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

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

gtroll

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

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

SpiderGhost

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

DJMaze

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


If not then you have wrong files
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

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

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

DJMaze

Could you activate coppermine on your site so i can see the error?
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

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

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

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

Urza

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.

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?

SpiderGhost

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_ ?

SiteMaster

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
<?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_";
?>

DJMaze

No spyderghost unless you edited coppermine.sql.
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

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...

DJMaze

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 ?
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

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