News:

Support the VirtueMart project and become a member

Main Menu

Synchronize media to VirtueMart - Get an error message

Started by belsaas, July 15, 2014, 11:16:24 AM

Previous topic - Next topic

belsaas

Hi, I have asked about this topic before, but didn't get some replays. So I try again.

I run a site where I shall sell some mp3 files. I have over 2500 mp3 files. I have synchronized 786 of the mp3 files and want to synchronize the last ones.
To to that I follow the procedure, but when I do so I got this message:

Found prior migration process, resume migration maxScriptTime 47 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 /customers/3/3/9/korpedagogen.no/httpd.www/korpedagogen25vm26/vmfiles/
Synchronized alltogether 0 files

Sometimes I also get a blank page.
I have tried to rise the number in the migrator.php to 300:

if(!empty($jrmax_execution_time)){
         //          vmdebug('$jrmax_execution_time',$jrmax_execution_time);
         if($max_execution_time!=$jrmax_execution_time) @ini_set( 'max_execution_time', $jrmax_execution_time );
      } else if($max_execution_time<300) {
         @ini_set( 'max_execution_time', 300 );
      }

But this doesn't help either.
Can some help me with this problem and help me with an solution?

-------------------------------
Joomla 3.8.1
Virtuemart 3.2.4
PHP 7.1
-------------------------------

GJC Web Design

from the messages it seems it doesn't find any media to synchronise
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

belsaas

Hi!
I tried again. I put four mp3 fields in the vmfiles map. The page got blank four times before I got this error view.

-------------
vmdebug $siteLang: nb-NO self::$_jpConfig->lang nb_no
vmdebug vmTime: loadConfig db no: 0.0189290046691895
vmdebug Start used Ram 5M
Found prior migration process, resume migration maxScriptTime 239 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 4 media for forSale in directory /customers/3/3/9/korpedagogen.no/httpd.www/korpedagogen25vm26/vmfiles/
vmdebug vmTime: VirtueMartControllerMedia Finished task media: 35.9996738433838
vmdebug End used Ram 58.75M
vmdebug Peak memory peak 59.25M
Synchronized alltogether 4 files
vmdebug $siteLang: nb-NO self::$_jpConfig->lang nb_no
vmdebug vmTime: loadConfig db no: 0.0162718296051025
vmdebug Start used Ram 11M
Found prior migration process, resume migration maxScriptTime 239 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 /customers/3/3/9/korpedagogen.no/httpd.www/korpedagogen25vm26/vmfiles/
vmdebug vmTime: VirtueMartControllerMedia Finished task media: 75.4846589565277
vmdebug End used Ram 65.75M
vmdebug Peak memory peak 66.25M
Synchronized alltogether 0 files
vmdebug $siteLang: nb-NO self::$_jpConfig->lang nb_no
vmdebug vmTime: loadConfig db no: 0.00501298904418945
vmdebug Start used Ram 5M
Found prior migration process, resume migration maxScriptTime 239 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 /customers/3/3/9/korpedagogen.no/httpd.www/korpedagogen25vm26/vmfiles/
vmdebug vmTime: VirtueMartControllerMedia Finished task media: 26.0680351257324
vmdebug End used Ram 57.75M
vmdebug Peak memory peak 58.25M
Synchronized alltogether 0 files
vmdebug $siteLang: nb-NO self::$_jpConfig->lang nb_no
vmdebug vmTime: loadConfig db no: 0.00488591194152832
vmdebug Start used Ram 5M
vmdebug vmTime: VirtueMartControllerMedia Finished task media: 12.0425560474396
vmdebug End used Ram 15.5M
vmdebug Peak memory peak 15.5M
-----------

Why does the page go blank? The four files are synchronized but it take very long time for four mp3 files.

-------------------------------
Joomla 3.8.1
Virtuemart 3.2.4
PHP 7.1
-------------------------------

belsaas

This is very strange.
After your last post I tried to put some files in the vmfiles map, and and those files got synchronized. So I tried with more files (28 pieces), but those was not synchronized.
I deleted those files from the vmfiles map and refreshed the page. After awhile I put four files in the same map, and no I can't synchronize those either. I have tired several times but the message I got is "0 files synchronized". But those fils are not listed in the table "Media files".

I have also tried to activate the database tool at control panel, but the same thing happen.
Is there some cache problem here?

It sees that VM is very selective here.  :(

I have almost 1500 mp3-files I want to synchronize and don't want to write those "by hand". :)
-------------------------------
Joomla 3.8.1
Virtuemart 3.2.4
PHP 7.1
-------------------------------

jjk

Quote from: belsaas on July 15, 2014, 11:16:24 AM
Synchronized 0 media for forSale in directory /customers/3/3/9/korpedagogen.no/httpd.www/korpedagogen25vm26/vmfiles/
Synchronized alltogether 0 files

Looks to me like a problem with your 'Safe Path' setting. I would suggest to have a look at this tutorial:
http://docs.virtuemart.net/faqs/110-how-to-set-the-safe-path.html
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

borro

Quote from: belsaas on July 16, 2014, 09:50:02 AM
This is very strange.
After your last post I tried to put some files in the vmfiles map, and and those files got synchronized. So I tried with more files (28 pieces), but those was not synchronized.
I deleted those files from the vmfiles map and refreshed the page. After awhile I put four files in the same map, and no I can't synchronize those either. I have tired several times but the message I got is "0 files synchronized". But those fils are not listed in the table "Media files".

I have also tried to activate the database tool at control panel, but the same thing happen.
Is there some cache problem here?

It sees that VM is very selective here.  :(

I have almost 1500 mp3-files I want to synchronize and don't want to write those "by hand". :)
Hello. So how did you solve your question?
Wish you happiness!