News:

Support the VirtueMart project and become a member

Main Menu

mod_virtuemart_allinone.1.9.8c WARNINGS

Started by selyatich, July 25, 2011, 14:54:32 PM

Previous topic - Next topic

selyatich

When I trying to install mod_virtuemart_allinone.1.9.8c on joomla 1.7.0, system  is writing  mesage "Installing component was successful." Also it writing 11 warning messages:

Quote
Warning: copy(/usr/local/www/shop/plugins/search/virtuemart.php) [function.copy]: failed to open stream: Permission denied in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/plugins/search/virtuemart.xml) [function.copy]: failed to open stream: Permission denied in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261
VirtueMart2 plugins moved to the joomla plugins folder
VirtueMart2 modules moved to the joomla modules folder

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_cart.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_category.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_currencies.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_manufacturer.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_product.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/language/fr-FR/fr-FR.mod_virtuemart_search.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261
VirtueMart2 language moved to the joomla language FE folder

Warning: copy(/usr/local/www/shop/administrator/language/fr-FR/fr-FR.plg_vmpayment_paypal.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/administrator/language/fr-FR/fr-FR.plg_vmpayment_standard.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

Warning: copy(/usr/local/www/shop/administrator/language/fr-FR/fr-FR.plg_vmshipper_weight_countries.ini) [function.copy]: failed to open stream: No such file or directory in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261
VirtueMart2 language moved to the joomla language BE folder
Installing Virtuemart Plugins and modules Success

What can I do to fix warnings?


Milbo

Warning: copy(/usr/local/www/shop/plugins/search/virtuemart.php) [function.copy]: failed to open stream: Permission denied in /usr/local/www/shop/administrator/components/com_vm_all-in-one/vminstall.php on line 261

I think the first warning shows your problem. Looks like you have the wwwrun problem. That means you upload and made the file as ftp-user and not as user which php uses. So you can use the ftp option or temporarly change the permissions of your directories.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

selyatich

I copy unpacked files to /usr/local/www/shop/tmp (FreeBSD 8.2 RELEASE)
Next set permisions

Quote
cd /usr/local/www
chmod 777 shop
chmod 777 shop/administrator/components
chmod 777 shop/components
chmod 777 shop/modules
chmod 777 shop/plugins
chmod 777 shop/administrator/language/en-GB
chmod 777 shop/language/en-GB
chmod -R 777 shop/tmp/mod_virtuemart_allinone198c
chmod 777 shop/configuration.php

Owner root
Quote
shop# ls -l /usr/local/www/shop/tmp
total 6
drwxr-xr-x  7 root  wheel  512 Jul 26 09:59 com_virtuemart198c
-rw-r--r--  1 root  wheel   31 Jul 26 09:59 index.html
drwxrwxrwx  3 root  wheel  512 Jul 26 09:59 mod_virtuemart_allinone198c
shop#

But situation not changed