Exclusive eBooks, Software Solutions, Quality Guaranteed
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00


ForumsPlus » DragonflyCMS Projects » DragonflyAds » Database Error on Install *CMS Warning line 75*
Database Error on Install *CMS Warning line 75*
Advanced classifieds.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Community » DragonflyAds

View previous topic :: View next topic  
Author Message
JJKKING
Operator
Operator

Offline Offline
Joined: Jan 24, 2007
Posts: 25

PostPosted: Wed Aug 13, 2008 12:01 am
Post subject: Database Error on Install *CMS Warning line 75*

Sorry to be a pain so quick.

My Specs

CMS Version 9.2.1
PHP Version 5.2.5
MySQL Version 5.0.51a-log (client: 5.0.32)

This isnt related to the issue I had with treasury and MySQL 5 is it?

Thanks again for everything

Got a database error on Install.

A Database Error has occurred.....


Code::
includes/db/db.php

    * CMS Warning line 75: On /admin.php?op=modules&install=DragonflyAds While executing query "CREATE TABLE cms_ads_ads ( id_ads int(11) NOT NULL auto_increment, id_catg mediumint(9) NOT NULL default '0', title varchar(255) NOT NULL default '', ads_desc text NOT NULL, imageads varchar(50) NOT NULL default '', curr tinyint(4) NOT NULL default '0', price decimal(11,2) NOT NULL default '0.00', submitter mediumint(9) NOT NULL default '0', submitip VARBINARY(17) NOT NULL, email varchar(50) NOT NULL default '', website varchar(50) NOT NULL default '', dateposted int(11) NOT NULL default '0', validuntil int(11) NOT NULL default '0', hits mediumint(9) NOT NULL default '0', language varchar(50) NOT NULL default '', active tinyint(4) NOT NULL default '0', feature tinyint(4) NOT NULL default '0', PRIMARY KEY (id_ads)) TYPE=MyISAM DEFAULT CHARSET=utf8" the following error occured: Table 'cms_ads_ads' already exists In: /homepages/28/d144494854/htdocs/ESB/clan/public_html/includes/classes/installer.php on line: 61


JJKKING's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux//5.0.32/ 5.2.5/9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Wed Aug 13, 2008 5:18 am
Post subject: Re: Database Error on Install *CMS Warning line 75*

hmm, shouldn't be as it doesn't use the new installer - that error is saying you already have the table installed?

In any event, I'll do a test install on MySQL5 - it's been a while since I last installed it and that would have been on MySQL4 anyway. I expect your original problem was this
Code::
includes\db\db.php

    * CMS Warning line 75: On /921/admin.php?op=modules&install=DragonflyAds While executing query "CREATE TABLE cms_ads_comments ( no_comment int(11) NOT NULL auto_increment, id_ads int(11) NOT NULL default '0', commentby varchar(30) NOT NULL default '', subject varchar(200) NOT NULL default '', comment text NOT NULL, hostname varchar(50) NOT NULL default '', date int(10) UNSIGNED NOT NULL DEFAULT '.gmtime().', PRIMARY KEY (no_comment)) TYPE=MyISAM DEFAULT CHARSET=utf8" the following error occured: Invalid default value for 'date' In: C:\wamp\www\921\includes\classes\installer.php on line: 61
I should have done a test install Sad pretty silly really because my local is set for MySQL Strict which is a perfect test vehicle.

Download updated - just remember to manually remove the existing cms_ads_* tables before re-installing.
nukebiz.com/Downloads/...ils/id=70/


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
JJKKING
Operator
Operator

Offline Offline
Joined: Jan 24, 2007
Posts: 25

PostPosted: Wed Aug 13, 2008 6:21 am
Post subject: Re: Database Error on Install *CMS Warning line 75*

Opps Im sorry. Yeah I forgot to delete the tables before getting the error again.

All works fine with the new DL.

Thank you again for all your help.


JJKKING's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux//5.0.32/ 5.2.5/9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Wed Aug 13, 2008 8:20 am
Post subject: Re: Database Error on Install *CMS Warning line 75*

You're most welcome, and many thanks for the contribution Very Happy

I won't be surprised if there are some further small glitches - I've been making bulk changes to bring it up to standard, which means I may make the occasional typo.

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Thu Aug 14, 2008 7:31 pm
Post subject: Re: Database Error on Install *CMS Warning line 75*

I recommend updating with the latest download.

No database changes involved but numerous file changes involving bug fixes, security fixes and further database query reductions.

Search and Advanced search is now especially functional.

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
JJKKING
Operator
Operator

Offline Offline
Joined: Jan 24, 2007
Posts: 25

PostPosted: Thu Aug 14, 2008 11:33 pm
Post subject: Re: Database Error on Install *CMS Warning line 75*

Thank you very much sir will do so as soon as I get home.


JJKKING's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux//5.0.32/ 5.2.5/9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Thu Aug 28, 2008 4:30 am
Post subject: Re: Database Error on Install *CMS Warning line 75*

Download updated » nukebiz.com/Downloads/...ils/id=70/

Added extra fields to ads like country, state, city, keywords.

Database changes so you need to backup the ads db tables and to upgrade the module.

Also some bug fixes and numerous code enhancements.

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
JJKKING
Operator
Operator

Offline Offline
Joined: Jan 24, 2007
Posts: 25

PostPosted: Sun Sep 07, 2008 12:07 am
Post subject: Re: Database Error on Install *CMS Warning line 75*

Got it thanks. Smile


JJKKING's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux//5.0.32/ 5.2.5/9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Community » DragonflyAds
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum