#16: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Sat Nov 07, 2009 1:15 pm ---- I make this perfectly but i have this after i click on install from modules:
Database Error
A database error has occurred
The webmaster has been notified of the error
This on only for the module "DownloadPro" others works
#17: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 2:03 pm ---- I thinks Download pro get old db data so get an error for this(installing), to reset his installation from mysql? and reintall from zero?
I thinking for that..
#18: Re: Re-Make old same structure dragonfly site Author: layingback, Posted: Mon Nov 09, 2009 3:38 pm ---- (Re-)Install DownloadsPro from here.
#19: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 3:42 pm ---- thanks but you don't understand or i wrote bad, i reinstall from new downloaded version ok? but I have an old version registered in my old database...so if i install from new it say an error database....
#20: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 3:43 pm ---- i think i must clear database in download pro table?
#21: Re: Re-Make old same structure dragonfly site Author: layingback, Posted: Mon Nov 09, 2009 3:46 pm ----
NanoCaiordo wrote:
Just make sure u upload all modules were previously installed (DownloadsPro and others if any) and THEN hit install.php.
#22: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 4:06 pm ---- I made..:D but this is when i click on install(modules)
A database error has occurred
The webmaster has been notified of the error
#23: Re: Re-Make old same structure dragonfly site Author: layingback, Posted: Mon Nov 09, 2009 4:14 pm ---- OK, so what is the error?
#24: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 6:43 pm ---- doesn't specific the error, the error is
A database error has occurred
The webmaster has been notified of the error
In header after install clicked
#25: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 7:23 pm ---- I found this error!
includes/db/db.php
* CMS Warning line 75: On /dg/admin.php?op=modules&install=Downloads While executing query "CREATE TABLE cms_downloads_categories ( cid INT NOT NULL auto_increment, title varchar(50) NOT NULL, cdescription text NOT NULL, parentid INT NOT NULL DEFAULT 0, PRIMARY KEY (cid), KEY title (title)) TYPE=MyISAM DEFAULT CHARSET=utf8" the following error occured: Table 'cms_downloads_categories' already exists In: /web/htdocs/www.pesmagazine.net/home/dg/includes/classes/installer.php on line: 61
What i can do?
#26: Re: Re-Make old same structure dragonfly site Author: layingback, Posted: Mon Nov 09, 2009 8:55 pm ---- I'm guessing:
Export the DownloadsPro db files, delete DownloadsPro db files, install DownloadsPro, copy back (import) DownloadsPro db files. Worth a try?
#27: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 9:19 pm ---- i will try if i found db download pro files
#28: Re: Re-Make old same structure dragonfly site Author: layingback, Posted: Mon Nov 09, 2009 9:26 pm ---- Look at the code in modules/Downloads/cpg_inst.php - they are listed there - as lines with $installer->add_query('CREATE' in them.
#29: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Mon Nov 09, 2009 11:26 pm ---- I made it with this:
Deleting "Downloads-*" tables
Deleting 1colum in admin user: radmindownloads or similar i don't remember
Reinstall and works.
Thanks for tips.
NoThanks for who ask money to resolve via pm (i will hack you soon hahahahah, joke no panic)
#30: Re: Re-Make old same structure dragonfly site Author: angel777, Location: Toscana Pistoia ItalyPosted: Sun Nov 15, 2009 3:32 am ---- Sorry i "reopen" dowload pro reinstallation problem becouse seems to be resolved but, only admin can view download pro area i don't undestand why lol!
If users click on download area see this:
index.php?name=Downloads, is temporarily unavailable.
We're sorry, but this module has been disabled
But under admin view i see it in cpg menu and in toolbar menu fine with all folders..