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

downloadable file path problems

Started by Silla, March 22, 2012, 16:10:23 PM

Previous topic - Next topic

Silla

Using Joomla 2.5.3 and virtuemart 2.0.2
I bought and installed the plug-in virtual goods ST42,
I followed the instructions in the manual, all right,
I created a folder in / var / www / vhosts / sitename / wmfiles
in VM Configuration / templates / media for sale in the path I put: / var / www / vhosts / sitename / wmfiles,
when I upload the file you load in images / stories / virtuemart / product / files
in the shop / media I get this:
Warning: is_file () [function.is-file]: open_basedir restriction in effect. File (/ var / www / vhosts / sitename / wmfiles) Is Not Within The allowed path (s): (/ var / www / vhosts / sitename / httpdocs :/ tmp) in / var / www / vhosts / sitename / httpdocs / libraries / joomla / filesystem / file.php on line 523

what is the error?

Silla

The folder "vmfiles" I created outside of the ROOT of Joomla has the permissions to 755

jenkinhill

open_basedir restriction in effect is a server configuration. The hosts will not allow the use of a directory outside of root, which is something not acceptable these days.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Silla

Thanks the response Jenkin

my host set the parameters to 777,
does not load the file in / vmfiles
in the shop / media gives me these 2 messages:

JFolder :: create: Infinite loop detected
JFTP :: store: Negative response
Warning: failed to move the file!

File / var / www / vhosts / sitename / httpdocs / / var / www / vhosts / sitename / vmfiles/mp3 zip.zip was loaded
Media stored correctly

jenkinhill

Quote from: Silla on March 23, 2012, 15:17:28 PM
File / var / www / vhosts / sitename / httpdocs / / var / www / vhosts / sitename / vmfiles/mp3 zip.zip was loaded

That path suggests a server issue, possibly with .htaccess
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Silla

he odyssey has only just begun

1) when I load a file in / var / www / vhosts / sitename / httpdocs / vmfiles gives me this error:

JFolder :: create: Infinite loop detected
JFTP :: store: Negative response
Warning: failed to move the file!

File / var / www / vhosts / sitename / httpdocs / / var / www / vhosts / sitename / vmfiles/mp3 zip.zip was loaded
Media Stored Correctly


2) when loading a file into a folder in the ROOT, load it, but I get this message:
         File / var / www / vhosts / sitename / httpdocs / / var/www/vhosts/sitename/httpdocs/myfolder/mp3 zip.zip was loaded
Media Stored Correctly


3) when loading a folder in the ROOT of the music files zipped, + major than 3,000 kb, I do not charge them and gives me this error:
COM_VIRTUEMART_PRODUCT_FILES_ERR_UPLOAD_MAX_FILESIZE
         Choose the type of format for the media with the file name
VMerror: Could not resolve mime / var / www / vhosts / soundcentershop.eu / httpdocs / satdespju /

the file. htaccess I have changed according to the guide online, however, gives me the same errors before and after the change ...

you can tell me that I need to do specific requests to the host?
or am I that I set virtuemart?

I'm stuck

Silla

I put in the file htaccess.txt
# Options + FollowSymLinks
RewriteBase /
and renamed the file. htaccess

jenkinhill

If your host uses more secure settings that should be

Options +SymlinksIfOwnerMatch
etc...
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Silla

could you be more explicit?
My host says:
Write exactly what you need and what you do
he asks what is to set ... but I don't know...

Silla

Perhaps the web server is too old? Versione PHP    5.2.6-1+lenny9

Studio 42

Hi silla ,
your host has limited the size to 2,000 kb and you try to upload a 3,000 kb file
You must edit your php seting max_file_size or look with your provider.
Test with a little file and look if problem are same

Silla

Hello guys,

My host says

I set max_upload at 500mb,
I can not raise the timeout beyond 10 min because if it goes in a loop operation it crashes the entire server,
I can upload untill 10 mb
I put the screen configuration of php

My site sells music, and files from a few kb and entire cd of 100 mb and above,

the question is: Is there a way to upload files to ftp to do the digital download?

thanks

[attachment cleanup by admin]

Silla


DavidAllenNeron

This is exactly my problem right now.

I cannot upload larger files.

I have my php set to 500mb max, but I cannot even upload a pdf that is 6mb

This is the message I get.
COM_VIRTUEMART_PRODUCT_FILES_ERR_UPLOAD_MAX_FILESIZE

I run Joomla 2.5.4 and virtuemart 2.0.6

I am using the Virtual Goods extension, and cannot upload "larger" files in the media section of Virtuemart.

how could I go about solving this issue?

Dishmaster J

Has anyone figured out how to fix this problem?