Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: cpm_getCategoryList doesn't work  (Read 5198 times)

0 Members and 1 Guest are viewing this topic.

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
cpm_getCategoryList doesn't work
« 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?
Logged

Nibbler

  • Guest
Re: cpm_getCategoryList doesn't work
« Reply #1 on: August 24, 2009, 08:47:07 pm »

That's the expected behaviour. You requested a category list but didn't display it.

Code: [Select]
<?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();
?>

Logged

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: cpm_getCategoryList doesn't work
« Reply #2 on: August 24, 2009, 08:56:02 pm »

Still doesn't working.....
Logged

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: cpm_getCategoryList doesn't work
« Reply #4 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
    • Windsurf.me
Re: cpm_getCategoryList doesn't work
« Reply #5 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: cpm_getCategoryList doesn't work
« Reply #6 on: August 24, 2009, 11:57:26 pm »

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

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: cpm_getCategoryList doesn't work
« Reply #7 on: August 25, 2009, 12:02:20 am »

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

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: cpm_getCategoryList doesn't work
« Reply #8 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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 21 queries.