Nov 23, 2008 | 03:28 AM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mrblackbirdus
MD user level 4
MD user level 4


Joined: Dec 16, 2003
Posts: 46

Member
Post  Posted: Oct 06, 2006 - 01:34 AM Reply with quote Back to top
Post subject: Download & CMPro Modules for MDlite

I would like to know if there are modules (Download and CMpro) for MDlite (see gpldev.org).
Those modules are the same for MDlite or I need to change something?
What should I change?
View user's profile Visit poster's website
mrblackbirdus
MD user level 4
MD user level 4


Joined: Dec 16, 2003
Posts: 46

bannato
Post  Posted: Oct 06, 2006 - 05:09 AM Reply with quote Back to top

I installed cmpro e download in mdlite but I have some problem....
When I go in download in control panel I have this message:
Fatal error: Call to a member function Close() on a non-object in ...\www\mdlite\modules\Downloads\admin.php on line 61

when I want to show the map in cmpro control panel (index.php?module=CMpro&type=admin&func=showmap) I have this message:

Hai avuto un errore durante questa operazione:Errore nel database scelto: SELECT md_cmpro.subid, md_cmpro.subname, md_cmpro.suburl, md_cmpro.subimage, md_cmpro.subactive FROM md_cmpro WHERE ( = 1 OR = 0) ORDER BY md_cmpro.suborder
Can somebody help me?
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Oct 07, 2006 - 05:14 PM Reply with quote Back to top

Download module is not ready for MDLite

Not use MDLite in any production site, soon we release first RC and it have lot of things changed

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
mrblackbirdus
MD user level 4
MD user level 4


Joined: Dec 16, 2003
Posts: 46

bannato
Post  Posted: Oct 09, 2006 - 01:03 PM Reply with quote Back to top

Ok for the Download Module, but I don't remember where I read that CMpro is ready for the MDlite changing a little bit code...
I'm testing MDlite in local, so I'm trying something...
View user's profile Visit poster's website
cyaneo
MD user level 5
MD user level 5


Joined: Aug 21, 2003
Posts: 138
Location: AUSTRIA
bannato
Post  Posted: Jan 27, 2007 - 01:37 PM Reply with quote Back to top

I still have this error with MDLite RC2 and Downloads 1.4.5 - seems to be the same DL module as using on MDMods.com.
Or did I miss something?
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Jan 28, 2007 - 03:46 PM Reply with quote Back to top

you need to modify pntable.php file, something like that

http://www.maxdev.com/MDForum-viewtopic-t-7627.phtml

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
cyaneo
MD user level 5
MD user level 5


Joined: Aug 21, 2003
Posts: 138
Location: AUSTRIA
bannato
Post  Posted: Jan 29, 2007 - 04:15 AM Reply with quote Back to top

Sorry, I'm no php programmer...

...so I think, I have to wait for the release of the already working DL module of mdmods.com - thanks.

_________________
Best wishes,
cyaneo

Zen Cart - the Art of eCommerce
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Jan 29, 2007 - 06:38 AM Reply with quote Back to top

Hey Cyaneo just add this code in your pntable.php or sure ... wait a little we are working to release new download module template for Autorender Very Happy



Code:
$downloads_categories = $prefix . '_downloads_categories';
$pntable['downloads_categories'] = $downloads_categories;
$pntable['downloads_categories_column'] = array ('cid'          => $downloads_categories . '.pn_cid',
                                                 'title'        => $downloads_categories . '.pn_title',
                                                 'cdescription' => $downloads_categories . '.pn_description');

$downloads_downloads = $prefix . '_downloads_downloads';
$pntable['downloads_downloads'] = $downloads_downloads;
$pntable['downloads_downloads_column'] = array ('lid'                   => $downloads_downloads .                                                       '.pn_lid',
                                                'cid'                   => $downloads_downloads . '.pn_cid',
                                                'sid'                   => $downloads_downloads . '.pn_sid',
                                                'title'                 => $downloads_downloads . '.pn_title',
                                                'url'                   => $downloads_downloads . '.pn_url',
                                                'image'                 => $downloads_downloads . '.pn_image',
                                                'topic'                 => $downloads_downloads . '.pn_topic',
                                                'description'           => $downloads_downloads . '.pn_description',
                                                'date'                  => $downloads_downloads . '.pn_date',
                                                'name'                  => $downloads_downloads . '.pn_name',
                                                'email'                 => $downloads_downloads . '.pn_email',
                                                'hits'                  => $downloads_downloads . '.pn_hits',
                                                'submitter'             => $downloads_downloads . '.pn_submitter',
                                                'downloadratingsummary' => $downloads_downloads . '.pn_ratingsummary',
                                                'totalvotes'            => $downloads_downloads . '.pn_totalvotes',
                                                'totalcomments'         => $downloads_downloads . '.pn_totalcomments',
                                                'filesize'              => $downloads_downloads . '.pn_filesize',
                                                'version'               => $downloads_downloads . '.pn_version',
                                                'homepage'              => $downloads_downloads . '.pn_homepage');

$downloads_editorials = $prefix . '_downloads_editorials';
$pntable['downloads_editorials'] = $downloads_editorials;
$pntable['downloads_editorials_column'] = array ('downloadid'         => $downloads_editorials . '.pn_id',
                                                 'adminid'            => $downloads_editorials . '.pn_adminid',
                                                 'editorialtimestamp' => $downloads_editorials . '.pn_timestamp',
                                                 'editorialtext'      => $downloads_editorials . '.pn_text',
                                                 'editorialtitle'     => $downloads_editorials . '.pn_title');

$downloads_modrequest = $prefix . '_downloads_modrequest';
$pntable['downloads_modrequest'] = $downloads_modrequest;
$pntable['downloads_modrequest_column'] = array ('requestid'       => $downloads_modrequest . '.pn_requestid',
                                                 'lid'             => $downloads_modrequest . '.pn_lid',
                                                 'cid'             => $downloads_modrequest . '.pn_cid',
                                                 'sid'             => $downloads_modrequest . '.pn_sid',
                                                 'title'           => $downloads_modrequest . '.pn_title',
                                                 'url'             => $downloads_modrequest . '.pn_url',
                                                 'image'           => $downloads_modrequest . '.pn_image',
                                                 'topic'           => $downloads_modrequest . '.pn_topic',
                                                 'description'     => $downloads_modrequest . '.pn_description',
                                                 'modifysubmitter' => $downloads_modrequest . '.pn_modifysubmitter',
                                                 'brokendownload'  => $downloads_modrequest . '.pn_brokendownload',
                                                 'name'            => $downloads_modrequest . '.pn_name',
                                                 'email'           => $downloads_modrequest . '.pn_email',
                                                 'filesize'        => $downloads_modrequest . '.pn_filesize',
                                                 'version'         => $downloads_modrequest . '.pn_version',
                                                 'homepage'        => $downloads_modrequest . '.pn_homepage');

$downloads_newdownload = $prefix . '_downloads_newdownload';
$pntable['downloads_newdownload'] = $downloads_newdownload;
$pntable['downloads_newdownload_column'] = array ('lid'         => $downloads_newdownload . '.pn_lid',
                                                  'cid'         => $downloads_newdownload . '.pn_cid',
                                                  'sid'         => $downloads_newdownload . '.pn_sid',
                                                  'title'       => $downloads_newdownload . '.pn_title',
                                                  'url'         => $downloads_newdownload . '.pn_url',
                                                  'image'       => $downloads_newdownload . '.pn_image',
                                                  'topic'       => $downloads_newdownload . '.pn_topic',
                                                  'description' => $downloads_newdownload . '.pn_description',
                                                  'name'        => $downloads_newdownload . '.pn_name',
                                                  'email'       => $downloads_newdownload . '.pn_email',
                                                  'submitter'   => $downloads_newdownload . '.pn_submitter',
                                                  'filesize'    => $downloads_newdownload . '.pn_filesize',
                                                  'version'     => $downloads_newdownload . '.pn_version',
                                                  'homepage'    => $downloads_newdownload . '.pn_homepage');

$downloads_subcategories = $prefix . '_downloads_subcategories';
$pntable['downloads_subcategories'] = $downloads_subcategories;
$pntable['downloads_subcategories_column'] = array ('sid'   => $downloads_subcategories . '.pn_sid',
                                                    'cid'   => $downloads_subcategories . '.pn_cid',
                                                    'title' => $downloads_subcategories . '.pn_title');

$downloads_votedata = $prefix . '_downloads_votedata';
$pntable['downloads_votedata'] = $downloads_votedata;
$pntable['downloads_votedata_column'] = array ('ratingdbid'      => $downloads_votedata . '.pn_id',
                                               'ratinglid'       => $downloads_votedata . '.pn_lid',
                                               'ratinguser'      => $downloads_votedata . '.pn_user',
                                               'rating'          => $downloads_votedata . '.pn_rating',
                                               'ratinghostname'  => $downloads_votedata . '.pn_hostname',
                                               'ratingcomments'  => $downloads_votedata . '.pn_comments',
                                               'ratingtimestamp' => $downloads_votedata . '.pn_timestamp');

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
puzzled
New MD user
New MD user


Joined: May 12, 2007
Posts: 5

bannato
Post  Posted: May 13, 2007 - 01:53 AM Reply with quote Back to top
Post subject: CMpro 1.2.1

Just downloaded CMpro 1.2.1 from downloads/content

Have activated module under modules.

I am receiving folowing error ...

An error occurred during this operation:
Database select error: SELECT md_cmpro.subid, md_cmpro.gid, md_cmpro.subname, md_cmpro.subimage, md_cmpro.suburl, md_cmpro.suburlnew FROM md_cmpro WHERE md_cmpro.subactive = 1 AND ='0' ORDER BY md_cmpro.suborder

Thank you for your time.
View user's profile
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: May 13, 2007 - 02:33 AM Reply with quote Back to top

Do you are tried to install it in MDLite ?
Do you have checked if tables are present in your db ?

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
MDMods.com
MD user level 5
MD user level 5


Joined: Jan 06, 2007
Posts: 55

bannato
Post  Posted: May 13, 2007 - 05:00 AM Reply with quote Back to top

puzzled: Think I've fixed your problem. Download the attached version of CMPro and overwrite it. In the future, you need to say where exactly you're getting the error, otherwise people will struggle to give you any assistance.

Problem is that if your website isn't multilingual then the column name isn't defined, so the fix is to move the database table definition outside of the if (pnConfigGetVar('multilingual') == 1) statement. Thought I already sorted this out about a year ago now, that's the only reason I already knew what your problem was.

Of course, if you're using MDLite, you'd be better off using the Newer beta version that's designed for MDLite

_________________
MDMods for all your MDLite module needs
View user's profile Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits