Elxis CMS Forum

Extensions => Modules => Topic started by: jason on August 14, 2010, 03:47:06

Title: Marketplace_Latest5 PHP error
Post by: jason on August 14, 2010, 03:47:06
after uploaded marketplace_latest5 module

in the website module shows follows message as follows:

PHP Error
Fatal error: require_once() [function.require]: Failed opening required '/home/easytrip/public_html/components/com_marketplace/language/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/easytrip/public_html/modules/mod_marketplace_latest5.php on line 21

do somebody know how to solve it?
Title: Re: Marketplace_Latest5 PHP error
Post by: datahell on August 14, 2010, 19:44:24
Do you have component marketplace installed? The module should be installed only on sites that the component is also installed.
Title: Re: Marketplace_Latest5 PHP error
Post by: jason on August 17, 2010, 08:44:33
I follow your instruction, component marketplace already installed

But another three error happened!

1)URI: index.php
Message: Unknown column 'use_price' in 'field list'
SELECT use_price, use_negotiation, dialect1, dialect2, dialect3, dialect4 FROM elx_marketplace_config LIMIT 1

2)URI: index.php
Message: Unknown column 'a.ad_currency' in 'field list'
SELECT a.id, a.category, a.ad_headline, a.ad_text, a.ad_price, a.ad_currency, a.ad_negotiation, a.ad_type, a.ad_image, a.flag_top, a.flag_featured, a.flag_commercial, date_format( a.date_created, '%d.%m.%Y' ) AS af_date, b.namedialect1, b.namedialect2, b.namedialect3, b.namedialect4 FROM elx_marketplace_ads AS a, elx_marketplace_categories AS b WHERE a.ad_image > 0 AND b.published = '1' AND a.category = b.id AND a.published = '1' ORDER BY a.id DESC LIMIT 5

3)URI: index.php
Path: /modules/mod_marketplace_latest5.php
Line: 58
Invalid argument supplied for foreach()

Could you help me with that?  Thanks

Title: Re: Marketplace_Latest5 PHP error
Post by: datahell on August 17, 2010, 12:25:59
Some database fields do not exist. It seems like you are using a module with an older version of the marketplace.
Uninstall everything.
install component marketplace.
install the modules.
if the problem persists contact the marketplace creator (jazzman).
Title: Re: Marketplace_Latest5 PHP error
Post by: speck on August 17, 2010, 12:37:16
HI!
sorry if i answer now but i was in holidays.
marketplace latest 5, as other market place modules of mine, works only with market place version: 0.1.4.6 and upper.

to solve your problem u need use only appropriate modules for your marketplace version.

Title: Re: Marketplace_Latest5 PHP error
Post by: datahell on August 17, 2010, 18:00:00
Speck marketplace is yours? Sorry, I thought it was Ivan's.
Title: Re: Marketplace_Latest5 PHP error
Post by: speck on August 17, 2010, 20:13:34
No datahell, the version are two on EDC:

- one of Ivan (older version) that i suppose use the guy seeing the mysql errors gives to him.
- another one of mine (newest version in multilingual)  ;)

about the modules, on EDC is write the version they are compatibles  :).
My version is not compatible with the ivan version and also this is write on EDC because the db was all rewrited about the many improvement i did it.
if someone want use marketplace from zero, is better use the newest version.
Title: Re: Marketplace_Latest5 PHP error
Post by: jason on August 18, 2010, 06:22:06
Really!

Finally, I try The marketplace photo is working,    but marketplace lastest5 MySql Problem I think as you said need proper module.

There is one more question, when add a ads on the component, but I still can't see it on the website.  It just empty there?

You will be greatly appreciated