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

Great. Thats easy. List the currencies you want and I'll put them in sunday night. Then I am DONE for a loonnggg time.

Kerioak~Christine

#126
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' ),



ajt

Leo, we all will be waiting very long for new version and imagick in official code, so maybe now you could make one little change:

In wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php file,
in symbiostock_process_image function, here:


            //make our thumbnail

            $image = WideImage::load( $this->upload_dir . $image_file . '.jpg' );

            $resized = $image->resize( $thumb_size[ 'width' ], $thumb_size[ 'height' ] );

just throw away second command

and leave it as here:

            //make our thumbnail

            $resized = $image->resize( $thumb_size[ 'width' ], $thumb_size[ 'height' ] );


and it will increase jpg pix limit about twice.

For example, someone with 256M memory set in php.ini, and 25Mpix image limit (click_click, I suppose), should have about 50 MPix now.
and me, with 64M memory, will have limit incresed from 3 to 6MPix :)
My fisheye straightener: http://anglerfish.ajotte.com

Leo Blanchette

Tried to impliment that but it crashes sites that dont run imagick. Tried to write conditional statement around it but not working yet. Getting help on issue from friend

ajt

But this small change ma be for now only, it has nothing common with imagick, it just removes allocating huge amout of memory, by removing one loading of image.
And for imagick, maybe look into wordpress code, it has some functions to check if imagick is present, etc.
My fisheye straightener: http://anglerfish.ajotte.com

Leo Blanchette

Quote from: ajt on March 30, 2013, 16:28
But this small change ma be for now only, it has nothing common with imagick, it just removes allocating huge amout of memory, by removing one loading of image.
And for imagick, maybe look into wordpress code, it has some functions to check if imagick is present, etc.
will attempt again tonight. Thankfully smart friend helping me so there will be a few improvements soon.

cascoly

#131
installed v1.1.1   
categories seem to work.  when i list categories from the main page is says i have none - but i assume that's because it doesn't show categories with 0 images?

if i have no images in transport, but 3 child categories will that display as:

transport (0)
    -- trains (2)
    -- hot air balloons (8)

======================

still no saves for network, settings, prices,etc

upload works, as does ftp and files appear in the proper folder  but process gives same error:

Fatal error: Call-time pass-by-reference has been removed in /homepages/35/d235364144/htdocs/cascoly/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php on line 472
Steve Estvanik 
travel & photo blog https://cascoly-images.com

cascoly

child theme installs ok, but how do i add my name & url to the replace yours? 

nothing happens when i click on 'edit' directly
BUt i can open in a new tab & EDIT
lets me edit, but when i update, or view page, nothing has happened. 
however, when i close and re-enter the changes are there

---------------------------
Steve Estvanik 
travel & photo blog https://cascoly-images.com

Travelling-light

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?

ajt

Quote from: Travelling-light on March 30, 2013, 22:11
Any ideas about other settings to check?

Probably you have 64M memory limit for php. Read my reply #127 above. Maybe Leo will finish new version today, with Imagick and it should resolve this problems. Meanwhile you can try to increase memory_limit in php.ini (if you are allowed to do it on your server).
My fisheye straightener: http://anglerfish.ajotte.com

Travelling-light

Quote from: ajt on March 30, 2013, 22:22
Quote from: Travelling-light on March 30, 2013, 22:11
Any ideas about other settings to check?

Probably you have 64M memory limit for php. Read my posts above. Maybe Leo will finish new version today, with Imagick and it should resolve this problems. Meanwhile you can try to increase memory_limit in php.ini (if you are allowed to do it on your server).

Already at 128M, and the test site is fine with 64M. OK, I'll wait for the update.

steheap

QuoteThe '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.

Ahh - that is the issue I am having, even though my images are about 1.5M in size. Which setting need to be added to the php.ini file to properly change that memory allocation?

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

Travelling-light

#137
Quote from: steheap on March 30, 2013, 23:11
QuoteThe '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.

Ahh - that is the issue I am having, even though my images are about 1.5M in size. Which setting need to be added to the php.ini file to properly change that memory allocation?

Steve

If you can edit your php.ini then you need

memory_limit = 128M

If you can't edit the file (as I can't) you can often add an override in your root directory.

Make a file called .user.ini containing

[php]
memory_limit = 128M


in the site root. That PHP in the square brackets is supposed to be upper case, but the forum software won't have a bar of it.

This is more reliable than .htaccess files for PHP settings, as they don't work if PHP is running as FastCGI rather than an Apache module.


cascoly

o deleted all revious uploads, and then upl'd one 32K image -- still bobms with the same error as before on attempt to process
Steve Estvanik 
travel & photo blog https://cascoly-images.com

Leo Blanchette

Quote from: cascoly on March 30, 2013, 19:27
installed v1.1.1   
categories seem to work.  when i list categories from the main page is says i have none - but i assume that's because it doesn't show categories with 0 images?

if i have no images in transport, but 3 child categories will that display as:

transport (0)
    -- trains (2)
    -- hot air balloons (8)

======================

still no saves for network, settings, prices,etc

upload works, as does ftp and files appear in the proper folder  but process gives same error:

Fatal error: Call-time pass-by-reference has been removed in /homepages/35/d235364144/htdocs/cascoly/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php on line 472

Yep! Now only categories that have images show. Also if you upload a bunch of images and save them as drafts, then add them to category, it will still appear lacking until you publish them.

Leo Blanchette

Just a general update which I'm sure people are figuring out - the majority of problems left are just hosting-specific issues, which hopefully we can fix soon. Gonna put in something ajt had given me and see what I can do to free up memory.

click_click

Leo, I know you're pretty much off the clock already.

I feel kind of bad posting requests or reminding any developer about features/fixes to be considered but I wanted to throw in that it would be great if vertical images were centered on the product pages.

Would that be just a CSS issue or would you have to "hard code" it into the main thing?

Leo Blanchette

css - could even be done with child theme. But I'll do that since it seems like a pretty standard expectation.

Regarding people who cannot save settings in network/author/etc can you quickly post what browsers your using? I logged into cidepix's site and it works for me so I think its just browser. - which means its probly just a javascript change.

edit - or for fun - enter the cheatcode mentioned on original post. If nothing happens, javascript is broken on that page :D

click_click

Here is another one:

After the update something happened to my categories.

All the standard categories have been added to the ones that I custom created (I deleted all the standard ones).

However, some of my custom categories now show up with a "-2" at the end like "Architecture-2" and it even says "Architecture-2" on the actual page when I click on that category.

Since I do not have two categories with the same name (architecture was just an example) I'm surprised to see this happening.

I accidentally, deleted all categories (again) and therefore all images were stripped off their custom categories.  :P

Leo Blanchette

Tonight's main agenda for me tonight:

Memory use on image processing

The "It doesn't save when I click save" problem in admin area for some users

Centering the main page preview pic

Other money/currency

...let me know if I'm forgetting anything crucial...

Quote from: cascoly on March 30, 2013, 20:16
child theme installs ok, but how do i add my name & url to the replace yours? 
:

If you open the CSS file contained in the folder of the child theme, you simply change my name to yours, and url as well...top of css file.

Leo Blanchette

Quote from: click_click on March 31, 2013, 02:01
Here is another one:

After the update something happened to my categories.

All the standard categories have been added to the ones that I custom created (I deleted all the standard ones).

However, some of my custom categories now show up with a "-2" at the end like "Architecture-2" and it even says "Architecture-2" on the actual page when I click on that category.

Since I do not have two categories with the same name (architecture was just an example) I'm surprised to see this happening.

I accidentally, deleted all categories (again) and therefore all images were stripped off their custom categories.  :P

Kind of weird. I didn't do any major changes to categories except how they display. If your not too deep into things - delete ALL your categories and reinstall. They will be there fresh, and hopefully should work fine.

Leo Blanchette

Found out source of "won't save" issue. Its a browser thing...ie



Thanks for helping me find it cidepix

click_click

Quote from: Leo on March 31, 2013, 02:03
Quote from: click_click on March 31, 2013, 02:01
Here is another one:

After the update something happened to my categories.

All the standard categories have been added to the ones that I custom created (I deleted all the standard ones).

However, some of my custom categories now show up with a "-2" at the end like "Architecture-2" and it even says "Architecture-2" on the actual page when I click on that category.

Since I do not have two categories with the same name (architecture was just an example) I'm surprised to see this happening.

I accidentally, deleted all categories (again) and therefore all images were stripped off their custom categories.  :P

Kind of weird. I didn't do any major changes to categories except how they display. If your not too deep into things - delete ALL your categories and reinstall. They will be there fresh, and hopefully should work fine.
Darned, I must have messed something up.

Coincidentally I custom created a category called "city" and I believe this lead the database to believe the standard category city (rural or something) is #1 and my custom category would be #2

I could see that - if that's actually the case.

But then I created a category that did not remotely exist in the clean install.

After the update, seeing all the "old", standard categories I thought, ugh, let me just wipe them out and delete them. I deleted the first bulk -> fine.
Then on the second page (few categories left) once I hit the delete button I realized that my custom categories were still there (I think I saw that - not 100% sure).

So maybe my custom categories already received a spot in the database but then I deleted them.

Setting up thses categories again, must have led to the additional -2 situation - I guess   :-\

Now, I deleted all categories, deactivated the theme, reactivated the theme, deleted all categories and created my custom ones again.

Still, SOME categories have the -2 added  :-X

No clue what to do now.

cidepix

Quote from: Leo on March 31, 2013, 02:08
Found out source of "won't save" issue. Its a browser thing...ie



Thanks for helping me find it cidepix

no worries.. nice pic btw..

my site doesn't look good on mobile devices whereas this one looks pretty good: http://www.theruchos.com/ (congrats to ruchos btw) what in the code needs to be corrected?

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..

Leo Blanchette

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?