coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: SmedRock on January 04, 2004, 11:44:12 PM

Title: Error after install.
Post by: SmedRock on January 04, 2004, 11:44:12 PM
After getting a good install I now come across this:

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


I'm Stumped.
Title: Error after install.
Post by: Joachim Müller on January 05, 2004, 09:24:13 AM
it says you over-modified /theme/yourtheme/theme.php by removing the line<!-- BEGIN file_line -->. Put it back in, or use a theme that comes with coppermine.

GauGau
Title: hmmm
Post by: SmedRock on January 05, 2004, 08:36:06 PM
Well the only thing I changed was the line to my pm_inc.php.  The rest I never touched.

Here is the code are you mentioned:

<!-- BEGIN file_line -->
                        <br />
                        <br />
                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->


That is a direct cut and paste. And those are the only occurences. could it be the path to pm_inc.php that couses this?

Here is the code for that path: <?php include("./pm/cgp/pm_inc.php");?>

Do I need an absolute path to this?
Title: Error after install.
Post by: Joachim Müller on January 06, 2004, 10:25:52 AM
I don't get the point... What's pm_inc.php? Could it be that you're refering to the nuke version of coppermine? You're currently posting in the support board for the standalone version...

GauGau