News:

Support the VirtueMart project and become a member

Main Menu

Bilder werden nicht angezeigt /no images at the frontend

Started by webbie65, September 14, 2012, 10:44:44 AM

Previous topic - Next topic

webbie65

i migrated an old joomla version to 2.5, but now i cant see any pictures in the frontend.
I loaded all pictures in the right file on ftp to images/stories/virtuemart/product et. , but there
isnt shown any image.

Anyone any idear what causes the error?

Thank you very much!

jjk

Images are not migrated automatically. After copying your images into your image folder, you need to go to 'Tools' - 'Tools and Migration' and click on "Synchronize Media to Virtuemart'. Thereafter you can select/assign images to your products in the 'Product Edit' - 'Product images' tab.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webbie65

I did that already and now once again, but there arent still any pictures  in the frontend.
Thats the posting in the front of virtuemart:

Quote

        Found prior migration process, resume migration maxScriptTime 39999 maxMemoryLimit 114
        11711 Media für product im Verzeichnis images/stories/virtuemart/product/ synchronisiert
        6 Media für category im Verzeichnis images/stories/virtuemart/category/ synchronisiert
        1 Media für manufacturer im Verzeichnis images/stories/virtuemart/manufacturer/ synchronisiert
        4 Media für vendor im Verzeichnis images/stories/virtuemart/vendor/ synchronisiert
        0 Media für forSale im Verzeichnis synchronisiert
        Insgesamt 11722 Dateien synchronisiert

        vmError: forSale Path/Url is not set correct :


Milbo

First: vmError: forSale Path/Url is not set correct
Second: you must of course import the images BEFORE you do the migration. Otherwise it is atm impossible to determine which images should be connected to which product.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

I thought the migrator doesn't assign images to products (personally I've never used the migrator) - but Milbo is the expert  :)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webbie65

maybe you can tell me, where in the database tables the images have to be, i cant find any id in the structure.
i think it must be something like file_url? But there isnt anything like this. By importing from Joomla 1.0 to 1.5 it was no problem, all
images where shown after migration, but now i doesnt see anything. Maybe it is possible to make the folders manually and integrate the pictures?

jjk

In VM2, all image information is in the database table _virtuemart_medias, including the file_url and file_url_thumb (make shure the paths match your image path settings in configuration). The association between products and media is in the table _virtumart_product_medias.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webbie65

#7
Thank you very much!

Ok, so i looked at the madia button in the shop and all pictures are listed, but it seems,
that there are no prducts to it. So under the file "Produktbezeichnung" there is nothing.

The databasetable"jos25_virtuemart_product_medias` is completly empty??
The button to migrate the media data doenst change anything, so what now?

And what means "forSale Path/Url is not set correct"??  :-[

Antworten gerne auch auf Deutsch ;-)

jjk

Quote from: webbie65 on September 14, 2012, 16:41:55 PM
And what means "forSale Path/Url is not set correct"??

See here: http://forum.virtuemart.net/index.php?topic=98633.msg325409#msg325409
This is primarily for those shops which sell downloadable products. It's a folder that you can't access by simply typing the url to the files into your browser.
On a local VM2 installation using xampp it could be something like: C:\xampp\htdocs\myvm2\

The column "Produktbezeichnung" is always empty - that's normal. It's a leftover from early versions of VM2.
A working Media file list looks like this: (See attached image)

If the images are not assigned to products, that's probably because what Milbo mentioned already. If you run the migrator before the images are copied into their directories, the migrator can't associate images to products. So you either have to do it again or select the images manually from the product edit view by typing the file name of the image file into the filter.

[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webbie65

#9
ok, i understand  :-[

And how did you do that without migrating?
Because migrating in virtuemart did not work, so i copied the tables and put in into the right folder.
But manually for 14.000 products i will better do not..hm. thinking...

jjk

I did it manually more than a year ago before a migrator became available, but only with 500 products and 1500 images. But I wanted to get rid of the SEO-unfriendly image file names of VM1.1.x anyway.

I think in your case I would try a fresh migration of the images into the latest version of VM2 (2.0.11) again.
If that doesn't help, perhaps one of the following links does (never tried them myself):
http://virtuemartjoomla.com/virtuemart-joomla-extensions-components-import/virtuemart-joomla-simple-import.html
http://extensions.joomla.org/search?q=csvi
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webbie65

Ok, thank you very much for your help!

So,  i tried again to migrate joomla , installed virtuemart and migrate my da data from the database to joomla.
But always i get the error:

QuoteInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webadmin@kundenserver.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have no idear why i get this error, erverything seems alright, so options on the server are:
max_execution_time 50000
Server-Einstellungen der maximalen Ausführungszeit 50000
memory_limit 90M

I think that should be enough, but it still doesnt work.
So maybe you have an idear again for me, what to do?

I think i can only copy and paste my old tables in the new one.

jjk

A possible explanation (scroll down to "max_execution_time" and 1&1):http://www.joomgallery.net/faq/allgemeines/der-upload-von-bildern-funktioniert-nicht.html
In general, it is a good idea to do such things on your own PC using i.e. xampp as a server (very easy to install): http://www.apachefriends.org/en/xampp.html, because you can easily adjust the server settings if required.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

wavebrook

#13
Hi,
I think I`ve the same problem and I can`t see the proukt- and categorie Img in the fronted:
http://waveswebdesign.de/joomla/jupgradeneu/index.php/en/
I`m migraded joomla 1.5 with vm to 2.5 with the tool jupgade.
...
First: vmError: forSale Path/Url is not set correct -> between yes
...
Second: you must of course import the images BEFORE you do the migration. Otherwise it is atm impossible to determine which images should be connected to which product.
...
After the migration it wasn`t VM in joomla 2.5 and I must installed VM 2.0.12f
I import the images to images/stories/virtuemart/categorie and all ...
Then I started the migration.
But I can`t see the images in the categories and produkts details and not in the fronted. Only in the media.
What I can do: the images manuell in the produktseite about seach in the top list.
Have you tips ? What can do other manuell?
Wave
Edit:
the next test:
http://waveswebdesign.de/entwurf/salz/jupgrade/index.php/en/
What I doing:
step for step what you say. (I hope I understand you)
Wave