Converting 1.5 to 2.5 Component - Joomla! Forum - community, help and support


so wanted 1.5 component , needed on 2.5 site....i started convert manifest , changes items (root node) per http://docs.joomla.org/manifest_files

i moved sql files admin/sql folder , updated xml. seems once sql scripts run when install fails....how debug sql files? if run script on db puts tables in not correct prefix....

prefix - ids

code: select all

create table `#__tablename_cfg`(
                   `cfg_name` varchar(255) not null default '',
                   `cfg_value` mediumtext not null,
                    primary key  (`cfg_name`)
                   ) engine=myisam default charset=utf8;

when run above out of config file tables named
#__tablename_cfg without prefix. help!

500 - error has occurred.
installation unexpectedly terminated:component install: sql error file db function reports no errors

return control panel

call stack
# function location
1 jadministrator->dispatch() c:\inetpub\wwwroot\id\administrator\index.php:46
2 jcomponenthelper::rendercomponent() c:\inetpub\wwwroot\id\administrator\includes\application.php:153
3 jcomponenthelper::executecomponent() c:\inetpub\wwwroot\id\libraries\joomla\application\component\helper.php:351
4 require_once() c:\inetpub\wwwroot\id\libraries\joomla\application\component\helper.php:383
5 jcontroller->execute() c:\inetpub\wwwroot\id\administrator\components\com_installer\installer.php:18
6 installercontrollerinstall->install() c:\inetpub\wwwroot\id\libraries\joomla\application\component\controller.php:761
7 installermodelinstall->install() c:\inetpub\wwwroot\id\administrator\components\com_installer\controllers\install.php:29
8 jinstaller->install() c:\inetpub\wwwroot\id\administrator\components\com_installer\models\install.php:105
9 jinstallercomponent->install() c:\inetpub\wwwroot\id\libraries\joomla\installer\installer.php:472
10 jinstaller->abort() c:\inetpub\wwwroot\id\libraries\joomla\installer\adapters\component.php:454
11 jerror::raiseerror() c:\inetpub\wwwroot\id\libraries\joomla\installer\installer.php:417
12 jerror::raise() c:\inetpub\wwwroot\id\libraries\joomla\error\error.php:251

i submitted whole sql script mysql through phpmyadmin , created tables (not named right, same above script worked). tables there data. why won't install? how more detailed sql information on script failure?





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support