News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

(maybe solved) Fatal error synchronize Media in Vm 2.0.6 and 2.0.7 (update)

Started by lipes, May 02, 2012, 17:41:05 PM

Previous topic - Next topic

lipes

I'm using J2.5.4 and VM2.0.6 ...
before VM 2.0.6 i could synchronize all media..
but now i cant do it... and give me a blank Browser page with error:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Ampps\www\mp5\administrator\components\com_virtuemart\helpers\migrator.php on line 242
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

no, you must do a manual install. It is a normal joomla problem, or better said php configuration problem of your server. Do it manually, I saw your answer, so why does this not work for you? http://www.phoca.cz/documents/2-phoca-gallery-component/438-cannot-find-joomla-xml-setup-file
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

i'm not using 3rd parties components like phocagallery .. i am talking about VM Media Manager here:
http://localhost/mp5/administrator/index.php?option=com_virtuemart&view=media

in VM 2.0.3 ..4..5 was working wonderful!
but now in VM 2.0.6 i cant synchronize my new images again :-\

I am using the AMPSS ...  i've tryed to install the new 2.0.7 and give me the same fatal error with "Maximum execution time ..." ...
i've checked the php.ini file and changed the execution time from 30 to 60 ... but the error still persist with the same message ...
dont know what to do more to solve this...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

New lines in 2.0.7... cant synchronize yet my image Media Files ( http://localhost/mp5/administrator/index.php?option=com_virtuemart&view=media# )

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Ampps\www\mp5\administrator\components\com_virtuemart\helpers\migrator.php on line 364
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

I did one thing, in the row Filter Name: ... [Go] [Reset] and [Please Select]
I've clicked on 'Please Select' and selected the [Manufacturer]
Then the VM started loading the files and give me one Error Message :

vmError: Attention script time too short, no time left to store the media, please rise script execution time

Why this?? ? In VM2.0.5 this was working very good...
now i / or / we cant synchronize our media files with a single click :-\
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

Hmm, I think there is not difference between both version. But when I look on the code, it looks like you have just a loooot more media. It is not an error. In fact it is just a warning, attention you were not able to import all medias in one step.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

maybe. I'am importing all my media from my fathers old website.

AMpps (localhost) ->
a) apache Version 2.2.21 (Win32)
b) PHP/5.3.9 mod_wsgi/3.3 Python/2.7.2
c) mysqlnd 5.0.8-dev - 20102224 - $Revision: 321634 $
d) memory_limit = 128M   
e) max_execution_time = 60   max_input_time = 60
f) Joomla! Version = 2.5.4
g) Virtuemart version BEFORE update = 2.0.6
h) Virtuemart version of the update you want to = 2.0.7
i) writable
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

I used wrong message type. It should be warning, changing it now.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

I am using now VM 2.0.7b
I've clicked in Synchronize media (many times)
... and now i am seeing that in \images\stories\virtuemart\product\resized folder i've got 3 kind different img Sizes
My default size in VM is: 154px x 123px
but now i've got this more: 154 x 127  and 154 x 129 ...
This is increasing my folder Mbts size and I dont know why this is happening here, what could it be the cause?

UPDATE: one more important thing, the picture name for the same product it's:
..... _154x123.jpg
..... _154x127.jpg
..... _154x129.jpg
in the image properties > Details > Dimensions .. all have the default 154 x 123 pixels size
This is a problem in creating many names for same product and not in the size!
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

Milbo, i miss this steps:
in the selection box (please select) just select 'Manufacturer'.
Then please Hit the 'Synchronize' again.

You'll get the message saying something like ... more Xxxx files Synchronized.. please synchronize again...
Then i checked the some folder.... like product folder (an so on) and i saw that in the Product folder the same product its repeated many times with a different name:
..... _154x123.jpg
..... _154x127.jpg
..... _154x129.jpg


UPDATE: lol ... I think this Never Stops!
I did the same again... and get again the Same Message:
Found prior migration process, resume migration maxScriptTime 23 maxMemoryLimit 114
Synchronized 1112 media for product in directory images/stories/virtuemart/product/
The synchronisation is not finished, please execute again
vmError: Attention script time too short, no time left to store the media, please rise script execution time


this is increasing my image folder volume every time that i hit 'Synchronized' when I select 'Manufacturer'


If i Hit Synchronized without that selection everything works fine:
Found prior migration process, resume migration maxScriptTime 23 maxMemoryLimit 114
Synchronized 0 media for product in directory images/stories/virtuemart/product/
Synchronized 0 media for category in directory images/stories/virtuemart/category/
Synchronized 0 media for manufacturer in directory images/stories/virtuemart/manufacturer/
Synchronized 0 media for vendor in directory images/stories/virtuemart/vendor/
Synchronized 0 media for forSale in directory d:\Ampps\www\vmfiles\
Synchronized alltogether 0 files
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25