Forum Moderators: coopster
I'm using the export order to csv contrib 4728
"Export all order data to a csv file 1.0"
I really like this contrib because of the neat output, all columns are properly labeled and an option to output in CSV or HTML compared to the other contrib the same function.
However I'm having trouble making it work, all it does is refresh the page and no files are generated. Though it does problem only happen online but not on my offline test server.
Is this a problem with MS2 and RCA version compatibility? Or just a problem in the code? Also it's hard coded but even manual changing the link gives more error.
Please I really need it, so I need all help so guys can offer.
Thanks a lot!
I can post the whole code if required. But you can also get the contrib in the osc website.
Thanks for your response, I did check the write permissions first. Besides, it doesn't write anything it just query the database and prompt the user to save the results. Below is the full source code. Apologies if I have to post it here instead of doing this at the official oSCommerce site. Can't get a response there for a month now. Hope somebody here will be kind enough to at least look at the code.
Thanks!
<code dump>
[edited by: eelixduppy at 3:29 pm (utc) on Oct. 13, 2008]
[edit reason] snipped code [/edit]
That was a lot of code that is going to turn off anyone from trying to help you here. If you read our Forum Charter [webmasterworld.com], large code dumps and "do your homework" posts aren't going to work out here, so I removed the code to help generate better responses.
Anyway, you should first turn up error_reporting [php.net] as high as possible then give ALL errors that are coming from this script, with the code of those respective lines. If this worked on your development server it's likely there are some changes in your configuration that affect it.