coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: darkheartagram on August 24, 2009, 07:17:00 PM

Title: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 24, 2009, 07:17:00 PM
Hi!

I'm trying to get category list but after running such source code
Quote<?php
  include "/home/infgrp/pawelek/public_html/coppermine/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/home/infgrp/pawelek/public_html/coppermine/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_getCategoryList();
  $objCpm->cpm_close();
?>

I've got only blank page ( nothing in source code) Is there any solution for this problem?
Title: Re: cpm_getCategoryList doesn't work
Post by: Nibbler on August 24, 2009, 08:47:07 PM
That's the expected behaviour. You requested a category list but didn't display it.


<?php
  
include "/home/infgrp/pawelek/public_html/coppermine/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("/home/infgrp/pawelek/public_html/coppermine/cpmfetch/cpmfetch_config.php");
  
$categories $objCpm->cpm_getCategoryList();
  
print_r($categories);
  
$objCpm->cpm_close();
?>

Title: Re: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 24, 2009, 08:56:02 PM
Still doesn't working.....
Title: Re: cpm_getCategoryList doesn't work
Post by: Joachim Müller on August 24, 2009, 11:09:00 PM
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
http://forum.coppermine-gallery.net/index.php/topic,35221.msg197845.html#msg197845
Title: Re: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 24, 2009, 11:13:16 PM
CPG 1.4.24
cpmfetch 2.0.0

My gallery ( temporary version ) http://student.agh.edu.pl/~pawelek/coppermine
link to script http://student.agh.edu.pl/~pawelek/coppermine/test.php
Title: Re: cpm_getCategoryList doesn't work
Post by: phill104 on August 24, 2009, 11:39:28 PM
Going OT:- You gallery is not displaying correctly in IE8. If you cannot work out the fix please start a new thread on this problem.
Title: Re: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 24, 2009, 11:57:26 PM
EOT - This is beta version, at this time it's working just under firefox
Title: Re: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 25, 2009, 12:02:20 AM
just checked at IE8, working quite fine ( 1 bug to repair)
Title: Re: cpm_getCategoryList doesn't work
Post by: darkheartagram on August 26, 2009, 02:00:12 AM
tested on another instalation in the 1.4.25 version on other server - still doesn't work so it seems to be more serious problem