theme do not show .. theme do not show ..
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

theme do not show ..

Started by versus7, March 14, 2005, 12:17:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

versus7

hi first i musts say what happens

i tryed to install com_coppermine to mambo to feet coppermine in my site

i replaced the following line in include/functions.inc.php

$template = fread(fopen($template_file, 'r'), filesize($template_file));

with this

//$template = fread(fopen($template_file, 'r'), filesize($template_file));
ob_start();                     // Start output buffering
include ($template_file);       // Parsed file goes to buffer
$template = ob_get_contents();  // Assign buffer to $template
ob_end_clean();                 // Clear buffer and turn off output buffering


after i uploaded the special theme for this job

all that don't worked

although i replaced the code again to original

after i uninstalled the com_coppermine, delete the special theme and last i selected my theme back ...

and now look this problem

http://www.oixalia.gr/gallery/index.php

can anyone tell me why my theme (and all themes) do not show ????


(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Joachim Müller

obviously you haven't undone your modifications completely (which were bound to fail, as coppermine uses a theme engine of it's own, you can't "trick" it that easily). Get a fresh copy of the coppermine files and overwrite those on your server with the frash copy and you should be fine - it's impossible to tell where exactly you have messed up.

Joachim