JSWeb:
Anyone had a play with iPhone MyShop and ZenCart mod? appstore.malorny.net/myshop.php
I can get it to read customers, but it isn't loading Order (but that may be caused due to another mod being installed to improve cust orders); will need to try on a fresh install.
I can't get that to work :( I have posted to malorny and he does'nt know the problem either.
here is the conversation
Hi, following a previous thread I have used http://www.mystore.co.uk/admin/iphone.php/a=status [^] to try and find out why the program was not working.
The result was:
MyShop iPhone App plugin version 1.3
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mystore/public_html/admin/iphone.php on line 395
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mystore/public_html/admin/iphone.php on line 400
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mystore/public_html/admin/iphone.php on line 405
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mystore/public_html/admin/iphone.php on line 410
phpversion ... 5.2.9 OK
mysqlversion ... 5.0.81-community-log OK
mb_convert_encoding ... OK
zen_db_prepare_input ... OK
zen_db_input ... OK
mysql_query ... OK
mysql_fetch_array ... OK
customer query ... 1 FAIL
products query ... 1 FAIL
orders query ... 1 FAIL
items query ... 1 FAIL
fail
I am using zen-cart version 1.3.8a and I do have orders, customers, products and items in the database, so any help would be appriciated.
after a bit of testing he replyed with this
OK, that means, that there's something wrong with your PHP functions create_..._query(...).
It's hard to debug this from here without access to your code/server. Do you have someone who can help you debugging the PHP code?
First it would be helpful to check, why the function create_customer_query returns "false" instead of a mysql_query object.
If anyone has any ideas about how to fix it let me know please.