VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: MiHu on September 05, 2007, 17:49:01 PM

Title: [CLOSED] 921: fail installation
Post by: MiHu on September 05, 2007, 17:49:01 PM
4 Septembert, 2007
VirtueMart 1.1 revision 921 Complete Package

I installed at two different hosts, and both got the same error message
Quote
Upload component - Upload Error
Failed to move uploaded file to /media directory.

I tried to install it w/ J!1.5, and it also fails.
Title: Re: 921: fail installation
Post by: gregdev on September 05, 2007, 19:04:51 PM
This is caused by incorrect permissions - probably on your {joomla_root}/tmp directory. I found that I had to make my tmp directory writable. Then it installed fine.

(It installs fine on Joomla 1.0.12, but fails on the latest J! 1.5 (rev. 8752). It is a J! 1.5 problem. Other components fails to install too. But, it only started in more recent versions of J! 1.5.)

Greg
Title: Re: 921: fail installation
Post by: MiHu on September 05, 2007, 21:15:05 PM
it's weird. I don't even have tmp folder under my joomla root.
Title: Re: 921: fail installation
Post by: gregdev on September 05, 2007, 23:21:09 PM
Which version of J! 1.5 are you using?
Title: Re: 921: fail installation
Post by: MiHu on September 06, 2007, 00:22:24 AM
all right ..

there is a tmp folder within J! 1.5. I though you are talking about J 1.0.x
I still can't install even I change the permission to 777 on tmp folder.

I tried to install on J 1.0.13 and still no luck.
Is it something wrong w/ my host?

I have no problem to install 1.0.12 at my J 1.0.13.

Best,



Title: Re: 921: fail installation
Post by: aravot on September 06, 2007, 07:00:14 AM
It seems Joomla or host issue, recheck permissions make sure it is 777, which version of J1.5.
Title: Re: 921: fail installation
Post by: MiHu on September 06, 2007, 07:11:14 AM
J! 1.5 version: 20070905 nightly build

I'll recheck the permission again tomorrow, but how come I can install the old version but not the new one.

BTW, 1.1 is for both 1.0.13 and 1.5, right?
Title: Re: 921: fail installation
Post by: aravot on September 06, 2007, 07:25:08 AM
Quote from: MiHu on September 06, 2007, 07:11:14 AM
BTW, 1.1 is for both 1.0.13 and 1.5, right?

Correct. There is a new build try that.
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: hitesh on September 07, 2007, 17:26:12 PM
Not sure if this helps or not - I've had mixed results as follows:

Using J1.5RC2  + VM1.1 (6 Sept 07 build) - with Joomla 1.0 Legacy Mambot enabled

Installing on Linux machine hosted offsite using the following DB=4.1.22-standard, PHP=4.4.7, Web Interface=Apache
  - installs correctly and useable. Am testing on this at the moment

Installing on Windows machine hosted locally using the following DB=5.0.16-nt, PHP=5.0.5, Web server= IIS5, Web interface, cgi-fcgi
  - Does not install and I get the following messgage:
     'There was an error uploading this file to the server.'

Title: Re: [UNDER REVIEW] 921: fail installation
Post by: aravot on September 07, 2007, 17:34:49 PM
Quote from: hitesh on September 07, 2007, 17:26:12 PM
Installing on Windows machine hosted locally using the following DB=5.0.16-nt, PHP=5.0.5, Web server= IIS5, Web interface, cgi-fcgi
  - Does not install and I get the following messgage:
     'There was an error uploading this file to the server.'

In php.ini increase memory / file upload limit to 16MB
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: hitesh on September 07, 2007, 17:47:22 PM
Cool - works now. It had to be something simple :)
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: MiHu on September 07, 2007, 19:56:27 PM
what's wrong w/ my host?
???

the permission page shows all "writable" except session path.
How can I debug for this?

[attachment cleanup by admin]
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: aravot on September 07, 2007, 21:06:10 PM
You are missing 'Session save path = /tmp' you need to contact your host and ask them to add it, by the way who is your host?
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: MiHu on September 07, 2007, 21:12:48 PM
well ... can you tell me how to config it if you know how?
It's my testing dev box at a virtual machine.

Thanks for pointing out my problem :D

I will try again at my host machine later of the day if I get a chance.
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: aravot on September 08, 2007, 00:36:21 AM
Which one are you using? In php.ini search for session.save_path and add /tmp to it.

example
session.save_path = "c:/wamp/tmp"
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: MiHu on September 10, 2007, 07:39:05 AM
I will try to change the php.ini file tomorrow for local host, but I just gave it a try on my host (lunarpages.com) w/
6 Septembert, 2007 build & 1.0.13 version. I still get the same error message.  ???
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: MiHu on September 11, 2007, 00:45:08 AM
Quote from: aravot on September 08, 2007, 00:36:21 AM
example
session.save_path = "c:/wamp/tmp"

I changed according to your suggestion but I still get the same error.
This is my localhost.

I also tried the lunarpages' host, and I got the same error too.

Can I install manually?

[attachment cleanup by admin]
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: aravot on September 11, 2007, 03:20:35 AM
There must be something wrong with your setup, I installed on dreamhost, hostpc and two locals using wampserver and wos II no problems.

Make sure folders are write able and CHMOD 777, if all is correct and still can't install than I have no idea.
Title: Re: [UNDER REVIEW] 921: fail installation
Post by: MiHu on September 11, 2007, 17:28:12 PM
I am still not sure what happen; however, I tried to install from local drive instead of upload the file, and it works.
We can close this "under review" issue although I am still don't know what happen.

Thanks for all response.

Time to try 1.1.x