cpm_getCategoryList doesn't work cpm_getCategoryList doesn't work
 

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

cpm_getCategoryList doesn't work

Started by darkheartagram, August 24, 2009, 07:17:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darkheartagram

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?

Nibbler

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();
?>


darkheartagram




phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

darkheartagram

EOT - This is beta version, at this time it's working just under firefox

darkheartagram

just checked at IE8, working quite fine ( 1 bug to repair)

darkheartagram

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