Just thought I'd poke my head in and say hi. I've logged in for the first time in like 9months and had a number of PM's. I only had one client who used ZenCart, and I moved them over to the now...
Type: Posts; User: phazei
Just thought I'd poke my head in and say hi. I've logged in for the first time in like 9months and had a number of PM's. I only had one client who used ZenCart, and I moved them over to the now...
That array_flip error is because the fgetcsv function isn't returning the correct item. Could be a poorly formed csv. It won't work with the old format in 1.2.5.4
Could also be the wrong version...
Could you be using a mac? It can load the whole thing as a single line because of different types of line breaks on a mac.
Other than that, try opening it in a text editor and see if it's all...
WTF? This is confusing. Why were these threads merged? Mine was a specific support thread for a addon. The addon faq thing says each addon needs its own support thread. Now if anyone is looking...
Have to have PHP 5 I guess. Other people also had same issue because of that.
fgetcsv should work on PHP4, but it doesn't seem to be working as well.
Yup, you sure can.:smile:
supergper:
Yes, if the category doesn't exist it will create it.
Now if a category has subcategories, it can't also have direct products. So I have no idea what would happen if you accidentally...
The latest version also lists all the files in the temp directory right in the EP page with nice buttons next to them to import. If you click on the file name itself, it should download.
I haven't had a chance to check the forum lately, sorry about that.
vagabondette:
I guess you got it working by now. The fgetcsv function should work fine on PHP4, or so I thought. Perhaps it...
I'm using jQuery on the site I'm working on. I noticed that when I added hoverBox3 it started giving errors. I looked at the js for HB3 and it was all base62 encoded. After decoding it, I found that...
My bad, the version I was looking at was slightly different than the one i uploaded. It is line 1222.
Excel07 should be fine. As long as it's saved as a csv. Hmm, that means the fgetcsv isn't...
Hmm, 33megs. How many products do you have? It runs through all the products you have and stores them in an array. I suppose that array is getting too big and causes it to die. There's no simple...
I'm not really taking requests and don't have much time at the moment to work on the program. On the other hand, I am short on mortgage this month, lol.
I'd suggest taking a look at Easy Populate...
That doesn't reflect any line number in the file that uses array_flip. You must have modified it in some way.
The only place I see where that could be possible is by the while loop around line...
I updated the version again. Added some stuff, cleaned up a bit of code. There is now a pretty file listing with import button next to each file.
lstahlberg:
:unsure: No clue, sorry.
...
Unfortunately, I do have some ideas, but nothing that will help. Something I should have stated in my first post to this thread. I mentioned it in the other forum...
1.2.5.5.CSV will ONLY work...
Yeah, that will only work in my version. It might be a pain in the old version.
CSV files are basically text files, they just have certain rules that make things easier. The file it was...
I added a new thread:
http://www.zen-cart.com/forum/showthread.php?t=117204
Though it works the same, it's more of an update than a new contribution. But then again, this thread is getting...
Just putting this here in case it's needed. I uploaded EP 1.2.5.5.csv to the Zen Cart Add-on section. Most everything is the same as the 1.2.5.4 version. If something isn't working right with the...
That should be really simple one liner.
Line 1071:
$filestring[] = $tempcsvrow;
Change that to:
$filestring[$row['v_products_model']] = $tempcsvrow;
or
$filestring[$row['v_products_id']] =...
The CSV version isn't compatible with data files from older versions.
Added some more details under "Upload Results".
Fixed: when creating new manufacturers it didn't add to both mfg db's, so if you went to add a url later on, it wouldn't work, and it broke ZM.
I found the problem and was able to import it in just fine.
It's a CR/LF aka \r\n aka chr(13)chr(10) issue.
The function I use only uses LF as a end of line terminator.
That's fine for windows...
Just for testing purposes cut the csv down to like 10 products and see if it still does the same thing.
Then you could send me the csv and I'll see if I can figure out why.
While I removed the bad code I replaced, I didn't want to remove or break anything else. Like that Linda's Header Controler 2.0 thing, and lots of other hacks people added to it to work with lots of...
Is that a file you exported with the version I made? I noticed it ended in .txt
My version creates .csv
There are lots of internal changes to the file. It won't work with files downloaded with...
Fixed a line for the date function for the specials date items
MetaTag support: products only.
For categories won't be coming.
I'm just really OCD and ADD, I need to get back to work...
I also rewrote lots of the sql statements and optimized them a bit....
It does support all punctuation. You should be able to use any characters you want, including returns and tabs and quotes. Nothing is converted to <br> in the description. I did that because...
I just made a CSV version of Easy Populate which can handle all you're talking about. soft returns and pretty formatting in description boxes will work just fine. I posted it on page 209 of the...
New: CSV Easy Populate... heh.
OMG, I went through the code easypopulate.php and it's horrible. And judging from langers comments, he wasn't a very experienced programmer at the time. Although...