psnGallery2 1.3.2 available (fix the dash issue)

Here is the fast track for the “dash” in database name issue !

The release is only fixing this specific issue.

click psnGallery2 version 1.3.2 to get it.

16 thoughts on “psnGallery2 1.3.2 available (fix the dash issue)”

  1. I have to say that I have checked the multimedia files….And for the moment I am rather busy at work…..
    As soon as I have more time, I will check/update/fix but for now I have no time…

  2. I serve RealAudio Video files (.ram) using Coppermine, but psnGallery2 shows no thumbnails at all. It only shows file_names.ram as if all .ram files all are audio files.

    Is there any way to show thumbnails for each .ram video files using psnGallery2? All my video files each has its own thumbnail (for example: thumb_memories.jpg, not generic one, thumb_movies.jpg). Please help.

  3. I assume you are using minimum 2 different databases (one for WP and another one for CPG).

    psnGallery2 is using the same method as WP to access the database (DB abstraction layer). It seems that the “wp-email-notification” plugin is not using the DB abstraction layer. So in other words, any other plugin which uses another database will have the same issue !
    Here is the code that causes you some problems :

    $query = "SELECT email_addr FROM $wpdb->email_list WHERE gets_mail = 1";
    $res = mysql_query($query);
    while ($row = mysql_fetch_assoc($res)) {
    $addr = $row['email_addr'];

    So to fix the issue, in “email-notification-v1.5.php” around line 21, you have something like :
    $wpdb->email_list = $table_prefix . 'email_list';

    Simply change to :
    $wpdb->email_list = DB_NAME .'.'. $table_prefix . 'email_list';

    I haven’t tested it but it should work.

Comments are closed.