forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: Ayeso on December 06, 2003, 04:17:19 am

Title: Error After install Template error-not default theme
Post by: Ayeso on December 06, 2003, 04:17:19 am
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

OS windows 2000
Apache
Php 4.x

Anyone help?
Title: DEFAULT THEME is only theme that works
Post by: gtroll on December 06, 2003, 05:26:52 am
Only default theme works
Installation-english.txt said:
Quote
ONLY DEFAULT THEME is included in this package.
It is easy to change the look to match your theme by editing the css file. Copy the default directory to a folder in the themes directory of the name of your choice and edit to your delight.

FIX:
Go to phpmyadmin:
UPDATE `cpg_config` SET `value` = 'default' WHERE `name` = 'theme';
where cpg_ is your prefix....
Title: Template error (even with default one)
Post by: Choucky on December 14, 2003, 06:56:40 pm
Hi,

I have the same error as mentionned by gtroll ("Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in : ")

But I have the default one (theme) consifured in PhpMyadmin as Ayeso mentionned to configure it.
Actualy I haven't changed anything since I installed CPG 1.2.1.
The installation process were ok !
When I login as Admin to configure Coppemine, (configuration menu) I have this template error message.

Coppermine just never worked on my Linux machine with :
PHPNuke vesrion 6.9
PHP version 4.2.2
Apache 2
MySql 3.23.58
it looks like SAFE_MOD is off
Image Lib(s) : GD module doesn't exist, but I should have Image:Magic (as I had configured once swigs for photo gellery). But I'm not sure how to really check if Coppermine can use it or not.

Any help would be appreciated. If more info are needed from my config, please tell me ...

Choucky
(a poor litle insect which try his best to go forward on linux and computing ...) :roll:
Title: DEFAULT THEME is only theme that works
Post by: Choucky on December 14, 2003, 07:07:14 pm
Hi again,

Sorry Gtroll, I get confused with your name and Ayeso's one ...
Sorry for that.
I know you are the man that probably can help me ...?
there is a link on my temporary web try : http://www.oho-consulting.com/modules.php?name=coppermine

The template error should be seeable there.

Choucky :cry:
Title: DEFAULT THEME is only theme that works
Post by: Spearchucker on December 15, 2003, 03:40:43 pm
I get this.

Fatal error: Cannot redeclare pageheader() (previously declared in /home/medici3/public_html/modules/coppermine/include/functions.inc.php:175) in /home/medici3/public_html/modules/coppermine/themes/nuke/theme.php on line 67

any ideas mate?
Title: DEFAULT THEME is only theme that works
Post by: Ivo2 on December 15, 2003, 07:13:00 pm
Hi,

@Chouky: It looks like cpg-stand alone version and not cpgnuke
Please look if it's so

greetings

Ivo
Title: I don't think it is a cph-standalone version
Post by: Choucky on December 15, 2003, 10:31:00 pm
Thanks for your comment Ivo2.

I don't think (except missundrestanding on how to check it) it's a stand-alone version.
I followed the New-install process and had installed (copying) the files in html/modules, html/admin, html/block, html/images directories. Then had run the install (went to http://mysite.com/modules/coppermine/install.php) ... so far everything went ok ...

On My MySql nuke database I have the the tables created for coppermine (cpg_admin, cpg_blabla, etc.) together with my nuke tables (nuke_something) ...

Am I right saying that it's not on stand-alone mode ??

Choucky. :roll:  (the litle insect) ...