Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Warning: mysql_num_rows(): supplied integration with WordPress2.7  (Read 9294 times)

0 Members and 1 Guest are viewing this topic.

pfeiffertheface

  • Coppermine newbie
  • Offline Offline
  • Posts: 9

Hi, I'm new here.

I've installed Coppermine 1.4.19 in my server: http://www.pfeiffertheface.com/gallery

I'm trying integrate it in my site with Wordpress 2.7 - I've installed the plugin Coppermine Integration 4.6.2.

Apparently all is ok, when i'm going to create a new post and to insert new images I can see the buttons to add the images and the frame where the image should be showed, even the pop-up to get the files is ok, but I can't see the images to upload them. When I edit the options of the plugin I get this message:

Quote
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/pfeiffer/public_html/wp-content/plugins/coppermine/coppermine-config.php on line 1138
The connection to the database was successful, but the Coppermine tables could not be found. This probably means that the table prefix you entered is invalid. It is usually something like "cpg133_" or "cpg140_".
The database connection is not shared with WordPress.


I've attached a capture of the problem. Sorry my English. And thanks a lot for your timeand dedication... I've taken entirely today but I feel now so frustrated!


Logged

Nibbler

  • Guest
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #1 on: January 06, 2009, 09:30:54 pm »

You need to ask whoever supports that plugin for help; it's nothing to do with us.
Logged

poubao

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: la
  • Offline Offline
  • Gender: Male
  • Posts: 277
    • Collections du Laos
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #2 on: January 06, 2009, 10:02:45 pm »

The table prefix is not good, you can see this information using phpmyadmin
poubao :D
Logged
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**

Nibbler

  • Guest
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #3 on: January 06, 2009, 10:07:24 pm »

If that is the issue, your table prefix is cpg14x_
Logged

pfeiffertheface

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #4 on: January 06, 2009, 10:22:05 pm »

Hey! guys thanks!! Thanks a lot! it was the error!, now it works perfect!
I though I was going to come crazy!

http://www.pfeiffertheface.com
Logged

a-m

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 30
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #5 on: February 10, 2009, 05:11:55 pm »

can you tell me how to do?
Logged

a-m

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 30
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #6 on: February 10, 2009, 05:15:42 pm »

can you give me you files?
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
« Reply #7 on: February 10, 2009, 07:02:39 pm »

Just change the DB prefix to the one you're using. ;)

Start you're own topic if you need support.


Locking.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.