MicrostockGroup Sponsors

Symbiostock Test Build - the Bug Stomping Thread!

Started by Leo Blanchette, March 26, 2013, 19:02

Previous topic - Next topic

It Works // It Doesn't work. Please fill out the checklist. (Tell me bugs to add)

WORKING: Saving- Prices/Settings/Network/Author values.
11 (57.9%)
BROKEN: Saving- Prices/Settings/Network/Author values.
0 (0%)
WORKING: Image Uploading
10 (52.6%)
BROKEN: Image Uploading
2 (10.5%)
WORKING: Image Processing
10 (52.6%)
BROKEN: Image Processing
1 (5.3%)
WORKING: Non-root-level-install
7 (36.8%)
BROKEN: Non-root-level-install
0 (0%)
WORKING: Child Theme template
8 (42.1%)
BROKEN: Child Theme template
1 (5.3%)
WORKING: Network Search/Pagination
4 (21.1%)
BROKEN: Network Search/Pagination
1 (5.3%)

Total Members Voted: 19

Leo Blanchette

Quote from: cidepix on March 31, 2013, 02:16

also, I think we should be able to disable the blog search Leo.. that would be amazing.. being able to search with multiple keywords would be the icing on top of the cake..

I'll try to make an option to disable blog search tonight. The option should be there though for all-around functionality. Some people might have blogs.

And a search with multiple keywords... it should work. Only in some rare cases it should fail.

My image has the keywords Blueprint, bright, cartoon, and searching for them reveals that image.

cidepix

I noticed a bug on http://www.theruchos.com/stock-photo/baby-monkey-and-mother-on-a-ledge/

maybe he/she is aware of it and maybe not.. but when you click on any resolution to purchase the image, it doesn't function at all.. (neither IE9 nor chrome)

maybe this is not a general issue and something is messed up when styling the site.. I haven't yet uploaded an image myself, so I don't know..

Leo Blanchette


cidepix

Quote from: Leo on March 31, 2013, 02:28
Could also be a plugin they used.

would it be easy to make let's say "Large" size pre-selected and have an "add to cart" button?

or is it better like this.. I am not sure about it, just brainstorming..

click_click

Quote from: Leo on March 31, 2013, 02:17
Quote from: click_click on March 31, 2013, 02:12
Still, SOME categories have the -2 added  :-X

No clue what to do now.

Let me know if someone else sees the problem. Forgive me if I'm asking a question you answered - I'm spacey today - are the posts in those categories published?
Yes, all images are published.

cidepix

about the search (daveh900 brought this up first so I will give an example using his site)

this image http://stompstock.com/image/halloween-party-invitation-graphics/ contains all these keywords: stamp, school, seal, treat, trick, vintage

so when you search for stamp, school, seal, treat, trick, vintage or stamp school seal treat trick vintage that image should come up in search results, since it contains all those keywords.. but it doesn't..

only when you search for one of the keywords that image comes up along with hundreds of other images.. so as it stands, it is impossible to narrow down the search results..

Leo Blanchette

That is strange. I guess its one of those minor things I'll have to pay attention to. If your up for it make me an account on your site (admin) and I'll look at it myself. Nobody else has reported the problem?

Cidepix - I'd like to have something pre-selected. One of those annoying details I have to get to.

Alrighty I'm going to depart for a while to do all those updates. Thanks guys.

Leo Blanchette

I might be missing something - see this image:

http://stompstock.com/image/halloween-party-invitation-graphics/

Note the keywords

adult autumn costume distressed < brings you a result showing that image.

If you leave the commas on it it won't happen of course but I never search with commas

Leo Blanchette

How bout this - added to tonight's agenda for me -

Remove all non-alpha-numeric characters from search. I'll bet at least you could search multiple keywords. If I can search title occurrences too that might be enough for now.

After tonight if problems still occur I hope it inspires a new coder to join the project. Within months this thing could have more features than you could imagine. Its time more than complexity.

cidepix

Quote from: Leo on March 31, 2013, 02:47
I might be missing something - see this image:

http://stompstock.com/image/halloween-party-invitation-graphics/

Note the keywords

adult autumn costume distressed < brings you a result showing that image.

If you leave the commas on it it won't happen of course but I never search with commas

ahhh.. I noticed that I seperated the word "rubber stamp" so nothing came up..

cidepix

Quote from: Leo on March 31, 2013, 02:52
How bout this - added to tonight's agenda for me -

Remove all non-alpha-numeric characters from search. I'll bet at least you could search multiple keywords. If I can search title occurrences too that might be enough for now.

After tonight if problems still occur I hope it inspires a new coder to join the project. Within months this thing could have more features than you could imagine. Its time more than complexity.

I agree..

btw, I think "comma" was not the problem, because when I removed "stamp" from the keywords I used, it brought up that image, with or without commas..

steheap

QuoteRemove all non-alpha-numeric characters from search

Not sure we should do that - how about a $20 bill in a stock photo? The $ wouldn't be found

Steve

PS - my search seems to be working OK, but I'll try some more variants
Stock Photo Blog: http://www.backyardsilver.com

steheap

Isn't the issue with the example file above - the actual keyword is rubber stamp, not stamp. So the search is not looking inside a compound keyword or phrase?

Steve
Stock Photo Blog: http://www.backyardsilver.com

cidepix

Quote from: steheap on March 31, 2013, 03:30
Isn't the issue with the example file above - the actual keyword is rubber stamp, not stamp. So the search is not looking inside a compound keyword or phrase?

Steve

Yes, that's it.. everything else seems to be working fine..

ruchos

Quote from: cidepix on March 31, 2013, 02:27
I noticed a bug on http://www.theruchos.com/stock-photo/baby-monkey-and-mother-on-a-ledge/

maybe he/she is aware of it and maybe not.. but when you click on any resolution to purchase the image, it doesn't function at all.. (neither IE9 nor chrome)

maybe this is not a general issue and something is messed up when styling the site.. I haven't yet uploaded an image myself, so I don't know..

Thanks for the heads up (and thanks Leo for the email).

My problem came from doing child themes. In two template files they looking to include files that were in the symbiostock folder, but were still being directed to look in the current (or child theme) folder.

in Footer.php:
include_once('modal-login.php');

in taxonomy-image-tags.php:
include_once('modal-search.php');

Seems to be all working again now.


Leo Blanchette

I need to update the issues as I take care of them or I'll forget. Please save comments until after I put out tonight's version.

Thank you ajt for helping me on the memory saving issue http://www.microstockgroup.com/symbiostock-technical-support/symbiostock-test-build-the-bug-stomping-thread!/125/ Reply #127

Hopefully memory consumption has improved a bit. But here is a little word from the wideimage creator himself:

http://wideimage.sourceforge.net/documentation/technical-details/performance/

What is says (to me) is simple: PHP image functions are not the perfect solution (known fact). And his library, which we are using, only adds a small amount of overhead while using php image functions.

But there are packages (depending, again, on server environments) which are hugely more efficient on graphics processing. Like imagick. Wordpress checks for it and uses it if possible: http://core.svn.wordpress.org/trunk/wp-includes/class-wp-image-editor-imagick.php ...but it depends on server environment. So if your limited in memory, but your server has the imagick package...your probably all set.

So its SO easy! Alls I have to do is work it in! But, unfortunately, its not a paying gig for me yet and I have to detour to customers for the next two weeks.

What needs to happen, if you want it sooner: Someone just has to write in a number of conditional statements checking for imagick and use it if it is there. Also on the download page (where customer purchases/downloads) because wideimage dynamically resizes their image on demand (to save you file/space useage) and deploys it straight to the browser.

So this is the point where people decide "Wow, I think I love this project enough to go track down a coder and make it happen! Then we can release a revised zip to the community sooner and when Leo is available he can merge it into the main branch on github!"

This will really be how it works for issues beyond image processing - features can be added things can just keep getting better. Almost any feature on any stock photo site could easily be implemented into this project. In the world of stock photography I'm sure there are submitters who are familiar with PHP and would love to get involved. You just need to contact them forcefully drag them in because this is SO much fun.


cascoly

didnt think of it earlier, but as suggested, i tried under chrome, rather then IE10, and the save problem went away -- i can add to my network (havent tested anything further), and can change prices.  good to know, but most of the world (ie, my potential buyers) still use IE

the process uploads for a 32K image still fails thouigh

so some progress .. will keep playing

(using 1and1 hosting)
Steve Estvanik 
travel & photo blog https://cascoly-images.com

Leo Blanchette

Quote from: Tinny on March 30, 2013, 09:24
When you get to paypal the prices are in dollars.

I have tried to change it (having no idea what I was doing ) after looking on the wordpress.org help pages/forums  but broke the network page after trying to insert the following response to someone else which I found on the wordpress.org forums - I changed the original theme's name to symbiostock just to see if I could do it but after
~~

I think you must add or change in admin-settings.php:  (edited to add: this was in the message I found, I would not have a clue)

array(
'name' => __( 'Currency', 'symbiostock' ),
'desc' => __("This controls what currency prices are listed at in the deals and which currency gateways will take payments in.", 'symbiostock' ),
'tip' => '',
'id' => 'symbiostoc_currency',
'css' => 'min-width:300px;',
'std' => 'GBP',
'type' => 'select',
'class' => 'chosen_select',
'options' => array_unique(apply_filters('symbiostock_currencies', array(
'USD' => __( 'US Dollars ($)', 'symbiostock' ),
'EUR' => __( 'Euros (€)', 'symbiostock' ),
'GBP' => __( 'Pounds Sterling (£)', 'symbiostock' ),
'AUD' => __( 'Australian Dollars ($)', 'symbiostock' ),
'CAD' => __( 'Canadian Dollars ($)', 'symbostock' ),


Nice piece of info here. Where the heck did you find it? Working on it now.

THP Creative

Hey Leo, sorry to distract you, I'm about to jump in on testing this tomorrow (australia time), just wondering - are you putting out a new version in the next 12-18 hours? If so, I will wait for that version to begin my setup and testing.

Not sure if others would agree, but I think it would be helpful to receive an email with each new release at this point, as I'm finding it hard to keep track of these forum threads and releases (but thanks for implementing version numbers, that will help HEAPS!)
Visit: THP Creative

Leo Blanchette

Quote from: Microstock Man on March 31, 2013, 06:17
Hey Leo, sorry to distract you, I'm about to jump in on testing this tomorrow (australia time), just wondering - are you putting out a new version in the next 12-18 hours? If so, I will wait for that version to begin my setup and testing.

Not sure if others would agree, but I think it would be helpful to receive an email with each new release at this point, as I'm finding it hard to keep track of these forum threads and releases (but thanks for implementing version numbers, that will help HEAPS!)

Leo[at]symbiostock if you want to get on my list. I've been very conservative with how many update emails I send. I'll put one out tonight. If I can finish the currency thing tonight, yes, easily within a few hours.

THP Creative

Brilliant thanks. I am on your list already, but think I've only got 2 emails thus far (not sure if you've sent more, seems like there has been more releases than 2?)

I can understand your reluctance to spam people, but from my point of view the more communication on this project the better.

Also, have you considered running something like Mantis (http://www.mantisbt.org) or similar on your server to keep track of bugs/progress on issues? I wonder whether it would help keep track of things better than a forum?

Anyway, thanks for the quick reply and I'll wait till tomorrow to leap into Symbiostock. Thanks again Leo!
Visit: THP Creative

Travelling-light

Quote from: Travelling-light on March 30, 2013, 22:11
I've got image processing problems on my live site. The 'Process Uploads' page stalls at reload with only the title displayed, and the metadata for a processed image appears in an entry in 'All Images' without any thumbnail. This only happens with files over about 4MB, and I thought it might be caused by the post_max_size 8M limit in the php.ini, but my local test site works well with that setting.

Any ideas about other settings to check?

Doing a bit more poking about, turned display_errors on and this is the error message:

Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/travelling-light.net/subdomains/images/httpdocs/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php on line 43

And indeed, my test site has safe_mode off. I'll see if I can get AussieHQ to turn safe mode off on the live site

Leo Blanchette

Quote from: Travelling-light on March 31, 2013, 07:23
Quote from: Travelling-light on March 30, 2013, 22:11
I've got image processing problems on my live site. The 'Process Uploads' page stalls at reload with only the title displayed, and the metadata for a processed image appears in an entry in 'All Images' without any thumbnail. This only happens with files over about 4MB, and I thought it might be caused by the post_max_size 8M limit in the php.ini, but my local test site works well with that setting.

Any ideas about other settings to check?

Doing a bit more poking about, turned display_errors on and this is the error message:

Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/travelling-light.net/subdomains/images/httpdocs/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php on line 43

And indeed, my test site has safe_mode off. I'll see if I can get AussieHQ to turn safe mode off on the live site
Yes, that is crucial. If your script can't execute all the images within x-seconds it will die. set_time_limit allows it to loop through images until its done. In our prototype sites, when I processed Christos's ( http://www.atstockillustration.com/ )  thousands of images the script ran for like an hour.

Leo Blanchette

Just about done with the currency feature. We've got "USD", "EUR", "GBP", "CAD", "JPY".

Question: The cart system relies on a (number) point (decimal) format. For instance 1.50 is 1 dollar 50 cents USD.  5.00 is five dollars.

Now that we have those other cart values, will 1.00 make sense as "EUR", "GBP", "CAD", "JPY" or is there different formats for any of these? Quick answer would be great. I'm getting ready to put this up for download soon.

Pilens

Decimal point, too, for CAD. In Germany a decimal comma is used (EURO).