cpm_getCategoryList doesn't work cpm_getCategoryList doesn't work
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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