Well, I was too fast to deliver the psnGallery2…In the sql, included in the “package”. There is a “(” too much !

In order to fix the issue. Execute the following sql (eg, from phpMyAdmin) :

UPDATE wp_psnGallery SET value = 'CPGPicture($elems[ 0 ], $elems[ 1 ], $elems[ 2 ], $elems[ 3 ], $elems[ 4 ], $elems[ 5 ], $elems[ 6 ]);' WHERE "kind" = 'TAG' AND "key" = 'picture' LIMIT 1 ;

And here is sample of the display of one specific picture via the tag <cpg_picture>759|1</cpg_picture>

Dscn0190.jpg

Categories: Uncategorized

7 Comments

admin · 05/06/2004 at 12:32

I checked on your site…I found nothing special. The ‘eval()’ issue is usually related to what is beteween the tags. I fixed few bugs within the code. I recommend you to download the latest version…If the error is still occuring, please, provide me a dump of your psnGallery table and the content of the post which is casing the issue. (admin (at) idahocline (dot) com)

Joel · 04/06/2004 at 21:53

another issue, when using the element I get:

Parse error: parse error, unexpected ‘)’ in /home/jtelling/public_html/wp/wp-content/plugins/psnGallery2.php(99) : eval()’d code on line 1

admin · 31/05/2004 at 16:55

Okay understood ! :o)

I will do a help file on the tags usage….

Jeroen · 31/05/2004 at 16:54

Actually your image in this post does not function correct. It is not clickable. I have the same problem. It has something to do with the path, I think.

Jeroen · 31/05/2004 at 16:52

I do understand elems 0,1,2,3,4 are parameters! But what do they mean?

admin · 31/05/2004 at 16:33

To answer you :

elems 0,1,2,3,4… are the parameters (they will be replaced with the correct values once they will be displayed).

The path for the main directory of Coppermine is taken from Coppermine config itself (parameter: ecards_more_pic_target). you can view it in Coppermine Configuration area in “e-cards….”

Jeroen · 31/05/2004 at 16:19

Could you give me a hint how those tags work exactly. I really don’t get it with the elems 0,1,2,3,4,5,6 . What I want to do is to show a picture of an album, so I use the cpg_picture tag I guess, but I don’t know how.

I don’t have coppermine installed in the same dir. as wordpress, so the path to ‘displayimage.php’ should be changed. Can I configure this?

I think this is really nice plugin BTW.

Comments are closed.

%d bloggers like this: