Jump to content

[SOLVED] news module


Recommended Posts

Hi prestashop users,

 

I am encountering once again a problem.

This time it is the news module I just payed for in prestashop add-ons website.

 

I am encountering the next error:

Warning: Invalid argument supplied for foreach() in /customers/5/d/0/genncompsys.com/httpd.www/gennwinkel/Development/www.genncompsys.com/modules/news/class/news.class.php on line 188

 

And if I try to post a new news topic it says this in the BO:

There was an error with the post insertion/update

 

Don't know what happened here or what should be done.

Check website: http://www.genncomps...genncompsys.com

 

Thanks in advance!

Edited by helldog2004 (see edit history)
Link to comment
Share on other sites

Yes I have send an e-mail directly to the developer via Prestashop website.

Yet no response yet, would be nice if someone of Prestashop or a member of the forum could help me out with this problem before he would even had a change to answer!

 

Regards Helldog!

Link to comment
Share on other sites

helldog2004 see your Site in Explor

 

FireFox Good

 

Explor is bad like my some Error no know why

 

Yeah cheers didn't looked at the I.E before, this is probably and error because of my news module..

 

Okay uninstalled news module and problem seems to be solved..

I need to find a fix for this news module, else I can't put my website online anymore ... :x

Link to comment
Share on other sites

Okay I found the problem my self

If anyone download the News Blog & Newsletter module go to modules/news/class and open news.class.php

 

on line 188 you will find this code:

foreach( $post as $element => $value )

 

Change it to

foreach( (array)$post as $element => $value )

 

Problem solved also for in I.E

Thanks and cheers Helldog!

  • Like 1
Link to comment
Share on other sites

I got a new error on the news section I would like to share for members who are using the same module.

 

If you changed the table names from PS_ to something you like, as I have GenNshop_ you might encounter a next problem.

You can't upload news articles from BO to FO.

Do this:

Go to Modules/News/sql and open create.sql and drop.sql

 

Change all PS_ to whatever your tables are called in Database!

Link to comment
Share on other sites

×
×
  • Create New...