Warning: Invalid argument supplied for foreach() in..

Warning: Invalid argument supplied for foreach() in..

Postby esparrow2002 » Wed Oct 20, 2010 2:36 am

Today when I open my website:
http://www.urcellphones.com/

The page shows me:
Warning: Invalid argument supplied for foreach() in /home/goldeneb/public_html/urcellphones.com/templates/default/category.tpl on line 63

But it works fine before and I didn't change anything, But it works OK if you search a product.
http://www.urcellphones.com/search.php? ... &sc=408234

What's the problem?

Hope someone can help me, Thanks a lot!!

:shock:
esparrow2002

 
Posts: 9
Joined: Wed Mar 10, 2010 10:59 am

Re: Warning: Invalid argument supplied for foreach() in..

Postby ANS Team Dmitry » Wed Oct 20, 2010 7:17 am

Hello esparrow2002,

send me ftp info in PM, i'll check it out.
Best regards
ANS Team
ANS Team Dmitry

 
Posts: 96
Joined: Mon Sep 27, 2010 5:00 pm

Re: Warning: Invalid argument supplied for foreach() in..

Postby esparrow2002 » Wed Oct 20, 2010 2:37 pm

Thanks for your help, Sir!

I PMed you my site's FTP info.

Thanks again.

:)
esparrow2002

 
Posts: 9
Joined: Wed Mar 10, 2010 10:59 am

Re: Warning: Invalid argument supplied for foreach() in..

Postby ANS Team Dmitry » Wed Oct 20, 2010 6:48 pm

esparrow2002,
Which version ANS do you use?
Best regards
ANS Team
ANS Team Dmitry

 
Posts: 96
Joined: Mon Sep 27, 2010 5:00 pm

Re: Warning: Invalid argument supplied for foreach() in..

Postby esparrow2002 » Thu Oct 21, 2010 6:39 am

version: 1.2

It works fine before and I didn't change any settings.
esparrow2002

 
Posts: 9
Joined: Wed Mar 10, 2010 10:59 am

Re: Warning: Invalid argument supplied for foreach() in..

Postby ANS Team Dmitry » Thu Oct 21, 2010 9:03 am

esparrow2002 wrote:version: 1.2
It works fine before and I didn't change any settings.

That is the problem. Amazon changed API, that is why it did not work.

Please, update ANS to latest version.
Best regards
ANS Team
ANS Team Dmitry

 
Posts: 96
Joined: Mon Sep 27, 2010 5:00 pm

Re: Warning: Invalid argument supplied for foreach() in..

Postby esparrow2002 » Thu Oct 21, 2010 10:23 am

But why the search function and result page works OK.

Sir, I PMed you my site FTP and the site admin login info,
Could you upgrade the script for me?

I am not good at PHP script, Please help me, Thanks a lot!
esparrow2002

 
Posts: 9
Joined: Wed Mar 10, 2010 10:59 am

Re: Warning: Invalid argument supplied for foreach() in..

Postby ANS Team Dmitry » Thu Oct 21, 2010 12:56 pm

esparrow2002 wrote:But why the search function and result page works OK.

Because that procedures do not depends from changes in Amazon API.
Best regards
ANS Team
ANS Team Dmitry

 
Posts: 96
Joined: Mon Sep 27, 2010 5:00 pm


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron