MicrostockGroup Sponsors

LEO, HELP - Problems with Symbiostock Theme 2.6.3

Started by cclapper, August 30, 2013, 23:04

Previous topic - Next topic

cathyslife

Still getting this error. Code noise is ok but it means I can't be certain that the changes I made have been saved.

Warning:  Missing argument 2 for wpdb::prepare(), called in /home3/cathysl1/public_html/wp-content/themes/symbiostock/inc/classes/network-manager/network-manager.php on line 822 and defined in /home3/cathysl1/public_html/wp-includes/wp-db.php on line 992

Warning:  Cannot modify header information - headers already sent by (output started at /home3/cathysl1/public_html/wp-includes/wp-db.php:992) in /home3/cathysl1/public_html/wp-includes/pluggable.php on line 87
#boycottShutterstock   #shutterstockBoycott

cathyslife

#1
After updating to 2.6.1 (no premium plugin) I made a test purchase. Payments went through just fine and I got the emails. But the image doesnt move to the download area, after multiple refreshes and about 15 minutes passing.

I just updated to 2.6.3, checked again, and I still cannot download that image I purchased yesterday. It is still showing in the Cart, not Download area.
#boycottShutterstock   #shutterstockBoycott

Leo Blanchette

Quote from: cathyslife stockphotos.com on August 30, 2013, 23:04
Still getting this error. Code noise is ok but it means I can't be certain that the changes I made have been saved.

Warning:  Missing argument 2 for wpdb::prepare(), called in /home3/cathysl1/public_html/wp-content/themes/symbiostock/inc/classes/network-manager/network-manager.php on line 822 and defined in /home3/cathysl1/public_html/wp-includes/wp-db.php on line 992

Warning:  Cannot modify header information - headers already sent by (output started at /home3/cathysl1/public_html/wp-includes/wp-db.php:992) in /home3/cathysl1/public_html/wp-includes/pluggable.php on line 87


Can you please tell me which screen these errors are showing on? Your line numbers mentioned relate to this function (which does not touch the database) hence I could not properly address it.

Below function is responsible for getting your google coords, which is just a cute thing that shows up in the author area:

    public function get_coords( $address )
    {
        if ( !empty( $address ) ) {
            $address = str_replace( " ", "+", $address ); // replcae all the white space with "+" sign to match with google search pattern
           
            $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address";
           
            $response = file_get_contents( $url );
           
            $json = json_decode( $response, TRUE ); //generate array object from the response from the web           
           
            return serialize( $json );
        } //!empty( $address )
    }


Second just to verify, can some others do some test purchases? I had addressed the simple issue which accidentally dropped the process of converting the sale here:

functions.php file, of premium version:

function ss_apply_purchased_license($user_products)
{
    $user_id = ipn_user_id( );
   
    return $user_products;
}
add_filter( 'ss_user_cart_before_transfer' , 'ss_apply_purchased_license' );


Was previously something like this:

function ss_apply_purchased_license($user_products)
{
    $user_id = ipn_user_id( );

}
add_filter( 'ss_user_cart_before_transfer' , 'ss_apply_purchased_license' );


Where the "user_products" were not delivered back to the filter, and thus nothing was delivered. As mentioned, a small one-liner development oversight.

At this point though (left to my own imagination) it seems both problems your having would only occur in back versions.

I have to re-address Jean's site, but I'll continue to look in this today. Also anyone else please verify your transactions are in working order.

[edit] both problems were addressed in the past: the db one quite a while ago, the transaction one a few days ago.

Leo Blanchette

Since your sending me login credentials I'll look at it now.

cathyslife

Quote from: Leo on August 30, 2013, 23:21
Quote from: cathyslife stockphotos.com on August 30, 2013, 23:04
Still getting this error. Code noise is ok but it means I can't be certain that the changes I made have been saved.

Warning:  Missing argument 2 for wpdb::prepare(), called in /home3/cathysl1/public_html/wp-content/themes/symbiostock/inc/classes/network-manager/network-manager.php on line 822 and defined in /home3/cathysl1/public_html/wp-includes/wp-db.php on line 992

Warning:  Cannot modify header information - headers already sent by (output started at /home3/cathysl1/public_html/wp-includes/wp-db.php:992) in /home3/cathysl1/public_html/wp-includes/pluggable.php on line 87


Can you please tell me which screen these errors are showing on? Your line numbers mentioned relate to this function (which does not touch the database) hence I could not properly address it.


When I make a change to my Profile page and hit Save or whatever the button says, I get this error.
#boycottShutterstock   #shutterstockBoycott

Leo Blanchette


cidepix

Ok I am not on a pc at the moment where I usually do my test purchases, but I did a test purchase on my android device using Firefox browser and the image was transferred to download area after refresh..

Leo Blanchette

Can you resave? I'm not getting errors anywhere. (Do whatever you did to cause the error)

cathyslife

Quote from: Leo on August 30, 2013, 23:35
Can you resave? I'm not getting errors anywhere. (Do whatever you did to cause the error)

Nope, didnt get error that time.

I will try and make another test purchase, too.
#boycottShutterstock   #shutterstockBoycott

Leo Blanchette

Hold on I'm just reinstalling your premium plugin for good measure.

Leo Blanchette

You should be all set now. Gotta run!

Redneck

I just did a test purchase on my site.

Bought one single image and one collection (12 image files) in one cart. It all worked perfectly smooth. Very nice.

Well, except the Paypal auto return did not work, but it has actually never worked on my site.

cathyslife

#boycottShutterstock   #shutterstockBoycott

Jo Ann Snover

I did some test purchases yesterday (when I still had 2.6.1) using PayPal's test site. I thought perhaps I'd done something wrong because the purchase appeared to work looking at the PayPal end but nothing moved out of the cart on my site.

I now have 2.6.3 but figured I'd hold off on testing anything again until I get a fix from Leo for the problems relating to my site URL being handled wrong ('cause it's messing up enough things that I considered it might have messed up the PayPal stuff too)

shotupdave


Leo Blanchette

Quote from: jsnover on August 31, 2013, 01:09
I did some test purchases yesterday (when I still had 2.6.1) using PayPal's test site. I thought perhaps I'd done something wrong because the purchase appeared to work looking at the PayPal end but nothing moved out of the cart on my site.

I now have 2.6.3 but figured I'd hold off on testing anything again until I get a fix from Leo for the problems relating to my site URL being handled wrong ('cause it's messing up enough things that I considered it might have messed up the PayPal stuff too)

Your issue is set! jsnover happens to be the one site in 95 that used a certain set-up technique (legit, but rare) and threw off the paths. Thats fixed now. We just have to work out the networking-connection issue now which is similar.

Jo Ann Snover

Now if only those three test purchases that Leo made while fixing this were three real purchases :)

Thanks for that fix.

Leo Blanchette

Quote from: jsnover on August 31, 2013, 08:39
Now if only those three test purchases that Leo made while fixing this were three real purchases :)

Thanks for that fix.

The fun part of all of this is having access to all these awesome images using monopoly money!

cathyslife

#18
Leo it would be most appreciated if you would fix my site. Or tell me what the problem is so I can fix it. Purchases still do not move to download area. I am having the same problem as jsnover, above.
#boycottShutterstock   #shutterstockBoycott