| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
A sales report based on users | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
create_array is a function that I had created before figuring out func_query function.
I haven't tested but if you use func_query instead the code might work. I also added the code for create_array above in my first post. You need to place that code somewhere in include/func.php
__________________
Jay S Xcart 4.1.3 & Mysql 5.0.20 Xcart 4.0.17 & Mysql 4.1 Apache 2.0 & Linux Whitebox 3 |
|||||||
#12
|
|||||||
|
|||||||
Hi,
thank you, I forgot to upload the modified func.php I changed "mow_report.php" to "sales_report.php" in two of the files because it was giving me file not found errors. Now it works. thank you for your help! |
|||||||
#13
|
|||||||
|
|||||||
when searching for orders in previous days , weeks etc nothing happens. Any ideas?
__________________
MarkH Web Development Manager Jackel International Limited X-Cart Version 4.0.13 + Customisations http://www.tommeetippee.co.uk/ |
|||||||
#14
|
|||||||
|
|||||||
Make sure the form tag is referring to sales_report.php ot whatever file name you assigned it in admin folder.
<form name="report" method="post" action="sales_report.php">
__________________
Jay S Xcart 4.1.3 & Mysql 5.0.20 Xcart 4.0.17 & Mysql 4.1 Apache 2.0 & Linux Whitebox 3 |
|||||||
#15
|
|||||||
|
|||||||
Hi I did that and it still doesnt do the business!. Any further ideas?
__________________
MarkH Web Development Manager Jackel International Limited X-Cart Version 4.0.13 + Customisations http://www.tommeetippee.co.uk/ |
|||||||
#16
|
|||||||
|
|||||||
I think that the problem might be related to html form issues.
Just check generated output to see everything is fine ti submit the form. Other than that I have limited information about your problem to help.
__________________
Jay S Xcart 4.1.3 & Mysql 5.0.20 Xcart 4.0.17 & Mysql 4.1 Apache 2.0 & Linux Whitebox 3 |
|||||||
#17
|
|||||||
|
|||||||
Code:
Code:
__________________
MarkH Web Development Manager Jackel International Limited X-Cart Version 4.0.13 + Customisations http://www.tommeetippee.co.uk/ |
|||||||
#18
|
|||||||||
|
|||||||||
I have followed the mod and displays the page, but i get a error which is:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\maxking\shisha\shopcart\include\func.php on line 5891 Now looking at the line the error is: while ($query_result= mysql_fetch_array($result)) I am using x-cart 4.18 The full file that i put into the include/func.php is: Code:
As described in the installation instructions.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#19
|
|||||||
|
|||||||
Hi,
any solutions to the problem I have posted about? the forms look fine to me but if someone can offer any other suggestions I would be greatful. As for this guys error above i'd say it could be that this function is not available to you on IIS with PHP, I used to find IIS very temperamental when it came to php!
__________________
MarkH Web Development Manager Jackel International Limited X-Cart Version 4.0.13 + Customisations http://www.tommeetippee.co.uk/ |
|||||||
#20
|
|||||||
|
|||||||
Re: A sales report based on users
Hi,
Though it was an old thread.But anyone can successfully test and implement on X cart pro 4.1.x based store.I want to see a demo. |
|||||||
|
|||
X-Cart forums © 2001-2020
|