forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: pfeiffertheface on January 06, 2009, 09:09:26 pm

Title: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: pfeiffertheface on January 06, 2009, 09:09:26 pm
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!


Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: Nibbler 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.
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: poubao on January 06, 2009, 10:02:45 pm
The table prefix is not good, you can see this information using phpmyadmin
poubao :D
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: Nibbler on January 06, 2009, 10:07:24 pm
If that is the issue, your table prefix is cpg14x_
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: pfeiffertheface 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
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: a-m on February 10, 2009, 05:11:55 pm
can you tell me how to do?
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: a-m on February 10, 2009, 05:15:42 pm
can you give me you files?
Title: Re: Warning: mysql_num_rows(): supplied integration with WordPress2.7
Post by: Fabricio Ferrero 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.