MicrostockGroup

Microstock Photography Forum - General => Symbiostock => Symbiostock - Technical Support => Topic started by: cathyslife on August 30, 2013, 17:04

Title: LEO, HELP - Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 30, 2013, 17: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
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 30, 2013, 17:09
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:21
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:

   
Code: [Select]
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:

Code: [Select]
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:
Code: [Select]
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:24
Since your sending me login credentials I'll look at it now.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 30, 2013, 17:31
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:33
TY looking at it now
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cidepix on August 30, 2013, 17:35
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..
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:35
Can you resave? I'm not getting errors anywhere. (Do whatever you did to cause the error)
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 30, 2013, 17:40
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:43
Hold on I'm just reinstalling your premium plugin for good measure.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 17:43
You should be all set now. Gotta run!
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Redneck on August 30, 2013, 17:49
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 30, 2013, 17:49
Test purchases are not working.  :(
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Jo Ann Snover on August 30, 2013, 19: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)
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: shotupdave on August 30, 2013, 19:44
no errors on my end at all
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 30, 2013, 23:38
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.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Jo Ann Snover on August 31, 2013, 02:39
Now if only those three test purchases that Leo made while fixing this were three real purchases :)

Thanks for that fix.
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: Leo Blanchette on August 31, 2013, 03:29
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!
Title: Re: Problems with Symbiostock Theme 2.6.3
Post by: cathyslife on August 31, 2013, 06:15
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.
Title: Re: LEO, HELP - Problems with Symbiostock Theme 2.6.3
Post by: leaf on August 31, 2013, 08:08
Looks like this moved over here.
www.microstockgroup.com/symbiostock-technical-support/problems-with-symbiostock-theme-2-6-4/ (http://www.microstockgroup.com/symbiostock-technical-support/problems-with-symbiostock-theme-2-6-4/)

Locking this thread now