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: patrik60 on January 04, 2008, 14:31:00 PM

Title: [OBSOLETE] Can't upload csv file
Post by: patrik60 on January 04, 2008, 14:31:00 PM
When I use csv upload for products I get this message:

Sorry, but we could not verify your Security Token.
Go back and try again please.

Joomla 1.0.13
VM rev 1117

Patrik
Title: Re: Can't upload csv file
Post by: jenkinhill on January 04, 2008, 15:20:07 PM
This is related to https://dev.virtuemart.net/cb/proj/tracker/itemDetails.do?navigation=true&task_id=1633
Title: Re: [FIXED] Can't upload csv file
Post by: aravot on January 04, 2008, 21:06:42 PM
Fixed in revision 1119
Title: Re: [FIXED] Can't upload csv file
Post by: iqapps1 on January 04, 2008, 22:07:50 PM
Quote from: aravot on January 04, 2008, 21:06:42 PM
Fixed in revision 1119
NOOP!!!! CSV upload still shows same message.....


Regards
IQAPPS
Title: Re: [FIXED] Can't upload csv file
Post by: aravot on January 04, 2008, 22:22:50 PM
Works for me, did you overwrote the files or started fresh, I started fresh.
Title: Re: [FIXED] Can't upload csv file
Post by: iqapps1 on January 04, 2008, 22:37:49 PM
Quote from: aravot on January 04, 2008, 22:22:50 PM
Works for me, did you overwrote the files or started fresh, I started fresh.

I overwrote file It's only two iles changed in this rev...Right!?

Regards
IQAPPS
Title: Re: [FIXED] Can't upload csv file
Post by: aravot on January 04, 2008, 23:21:46 PM
If you are overwriting the files than you need to change one more thing.

In administration/components/com_virtuemart/virtuemart.cfg.php search for rand() and remove it.

After removing the line of code should look like
define('ENCODE_KEY', md5( $mosConfig_secret ) );
Title: Re: [FIXED] Can't upload csv file
Post by: iqapps1 on January 04, 2008, 23:41:06 PM
Hi

You mean virtuemart.cfg-dist.php file ...this is file I pload to my server....I gooing to upload all files again and test ..tryed with to clear browser chace butno luck....lol


Regards
IQAPPS
Title: Re: [FIXED] Can't upload csv file
Post by: aravot on January 04, 2008, 23:50:23 PM
If you have existing installation than this file -> virtuemart.cfg.php
Title: Re: [FIXED] Can't upload csv file
Post by: patrik60 on January 05, 2008, 07:14:54 AM
It still doesn't work. I've made a absolutely fresh installation of virtuemart rev 1119 without installing the sample dates, that means  nothing to overwrite, no product in the shop, going directly to the shop. Uploading a csv file always results in the same error message.

patrik
Title: Re: [UNDER REVIEW] Can't upload csv file
Post by: jenkinhill on January 05, 2008, 17:05:24 PM
Confirmed still to be an error in 1119. If you try to export a CSV file of the default products or if you try to upload a CSV file it gives the Security Token error message.


Database Version: 4.1.22
PHP Version:  4.4.4
Web Server: Apache
VirtueMart 1.1: Ver. 1119
Joomla! Version: Joomla! 1.5 Beta4+ Rev 9840 2008-01-03
Title: Re: [UNDER REVIEW] Can't upload csv file
Post by: patrik60 on January 07, 2008, 22:10:46 PM
I get also to error messages, may be this helps to solve the problem:

when trying to export a csv file:


Warning: Cannot modify header information - headers already sent by (output started at /home/ferbattu/public_html/joomla/administrator/components/com_virtuemart/classes/mainframe.class.php:101) in /home/ferbattu/public_html/joomla/administrator/components/com_virtuemart/classes/ps_main.php on line 831

when trying to upload a csv file:

Fatal error: Call to undefined method mosMainFrame::close() in /home/ferbattu/public_html/joomla/administrator/components/com_virtuemart/classes/mainframe.class.php on line 155


patrik
Title: Re: [UNDER REVIEW] Can't upload csv file
Post by: iqapps1 on January 08, 2008, 20:17:50 PM
stil same error in 1132         >:( ??? :'(
Title: Re: [UNDER REVIEW] Can't upload csv file
Post by: aravot on January 08, 2008, 23:00:23 PM
can you attached your csv file
Title: Re: [OBSOLETE] Can't upload csv file
Post by: aravot on January 24, 2008, 19:36:54 PM
CSV import/export has been removed from VM 1.1 instead use http://www.csvimproved.com