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: Znuff on September 06, 2007, 20:13:19 PM

Title: [OBSOLETE] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: Znuff on September 06, 2007, 20:13:19 PM
Like the title says, Uploading the products by CSV fails with the following error:

QuoteError: Failed to move the uploaded CSV file to . Please make this directory writable first!

above the error, I get a php error:

QuoteWarning: chmod() [function.chmod]: No such file or directory in /home/19106/domains/xxxx/html/administrator/components/com_virtuemart/classes/ps_csv.php on line 952

On line 952 of that there's:

Quoteif( !chmod( $mosConfig_cachepath, 0777 )) {

I'm guessing that variable is not defined anymore?
Title: Re: [Task #1419] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: gregdev on September 06, 2007, 20:41:51 PM
This is a bug in Joomla! 1.5. I have posted the problem (http://forum.joomla.org/index.php/topic,209803) in the Joomla 1.5 Q&T forum. They incorrectly named the legacy variable (put in an extra underscore).

Greg
Title: Re: [Task #1419] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: Znuff on September 06, 2007, 20:49:10 PM
I also tried replacing the $mosConfig_cachepath with $tmp_path, but with no luck.

Also, I have some issues importing the CSV from the server.
After VirtueMart analyzes my CSV file, I don't have the form with the "Import Now" button. The form appears if I change between Simple and Extended mode, but it gives me an error because it removes the csv file after the simulation.
Title: Re: [Task #1419] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: aravot on September 06, 2007, 21:07:21 PM
Could you please try it with latest J1.5 SVN with corrected legacy.php file.
Title: Re: [Task #1419] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: gregdev on September 06, 2007, 21:08:23 PM
Yes, they just corrected it. They are fast in responding! I also corrected our J! 1.5 compatibility file (rev. 928) to match their change.

Greg
Title: Re: [Task #1419] 926: CSV Upload Fails under Joomla 1.5 (svn)
Post by: aravot on January 22, 2008, 20:40:14 PM
CSV import/export has been removed from VM 1.1 instead use http://www.csvimproved.com