Fabrik Home

Go Back   Fabrik > Fabrik 2.0.x > Community Support


Community Support This forum is for Registered member support (those who have not Subscribed). Members of staff will respond on a best effort basis, which will depend on the current Subscriber Support load. We also encourage community self-help in this forum, so if you can help someone, please do so! Good karma up for grabs.

Reply
 
Thread Tools
Old 01-31-2010, 06:50 PM   #1
cmichael
Junior Member
Supporter
 
Join Date: Jan 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
cmichael has not earned any Fabrik kudos yet
Question Component Installation Error

I keep getting this error when I try to install the Fabrik 2.0 component.

500 - •An error has occurred.•

JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''rollover= hover_text_title= comment= password=0 maxlength=255 text_format=text ' at line 1 SQL=INSERT INTO jos_fabrik_elements (`id`, `name`, `group_id`, `plugin`, `label`, `checked_out`, `checked_out_time`, `created`, `created_by`, `created_by_alias`, `modified`, `modified_by`, `width`, `height`, `default`, `hidden`, `eval`, `ordering`, `show_in_table_summary`, `can_order`, `filter_type`, `filter_exact_match`, `state`, `button_javascript`, `link_to_detail`, `primary_key`, `auto_increment`, `access`, `use_in_page_title`, `sub_values`, `sub_labels`, `sub_intial_selection`, `attribs`) VALUES(4, 'created_by', 1, 'fabrikuser', 'creator', 0, '0000-00-00 00:00:00', '2008-04-08 10:47:19', 62, 'admin', '0000-00-00 00:00:00', 0, 20, 0, '', 1, 0, 4, 1, 0, '', 0, 1, '', 0, 0, 0, 0, 0, '', '', '', 'rollover= hover_text_title= comment= password=0 maxlength=255 text_format=text integer_length=6 decimal_length=2 text_format_string= guess_linktype=0 disable=0 readonly=0 ck_value= ck_default_label= element_before_label=0 options_per_row=4 allow_frontend_addtocheckbox=0 chk-allowadd-onlylabel=0 chk-savenewadditions=0 radio_element_before_label=0 allow_frontend_addtoradio=0 rad-allowadd-onlylabel=0 rad-savenewadditions=0 use_wysiwyg=0 textarea-showmax=0 textarea-maxlength=255 multiple=0 allow_frontend_addtodropdown=0 dd-allowadd-onlylabel=0 dd-savenewadditions=0 drd_initial_selection= ul_max_file_size=16000 ul_file_types= ul_directory= ul_email_file=0 ul_file_increment=0 upload_allow_folderselect=1 fu_fancy_upload=0 upload_delete_image=1 default_image= make_link=0 fu_show_image_in_table=0 fu_show_image=0 image_library=gd2 fu_main_max_width= fu_main_max_height= make_thumbnail=0 thumb_dir= thumb_prefix= thumb_max_height= thumb_max_width= imagepath=/ selectImage_root_folder=/ image_front_end_select=0 show_image_in_table=0 image_float=none link_url= my_table_data=id update_on_edit=0 date_table_format=Y-m-d date_form_format=%Y-%m-%d date_showtime=0 date_time_format=%H:%M date_defaulttotoday=0 date_firstday=0 database_join_display_type=dropdown joinType=simple join_conn_id=-1 join_db_name= join_key_column= join_val_column= database_join_where_sql= diysql= database_join_noselectionvalue= fabrikdatabasejoin_frontend_add=0 yoffset= link_target=_self view_access=0 show_in_rss_feed=0 show_label_in_rss_feed=0 use_as_fake_key=0 element_alt_table_heading= icon_folder=images/stories/food custom_link= use_as_row_class=0 filter_access=0 full_words_only=0 inc_in_adv_search=1 sum_on=0 sum_access=0 sum_split= avg_on= avg_access=0 avg_split= median_on=0 median_access=0 median_split= count_on=0 count_condition= count_access=0 count_split= )
500 - •An error has occurred.•

JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''rollover= hover_text_title= comment= password=0 maxlength=255 text_format=text ' at line 1 SQL=INSERT INTO jos_fabrik_elements (`id`, `name`, `group_id`, `plugin`, `label`, `checked_out`, `checked_out_time`, `created`, `created_by`, `created_by_alias`, `modified`, `modified_by`, `width`, `height`, `default`, `hidden`, `eval`, `ordering`, `show_in_table_summary`, `can_order`, `filter_type`, `filter_exact_match`, `state`, `button_javascript`, `link_to_detail`, `primary_key`, `auto_increment`, `access`, `use_in_page_title`, `sub_values`, `sub_labels`, `sub_intial_selection`, `attribs`) VALUES(4, 'created_by', 1, 'fabrikuser', 'creator', 0, '0000-00-00 00:00:00', '2008-04-08 10:47:19', 62, 'admin', '0000-00-00 00:00:00', 0, 20, 0, '', 1, 0, 4, 1, 0, '', 0, 1, '', 0, 0, 0, 0, 0, '', '', '', 'rollover= hover_text_title= comment= password=0 maxlength=255 text_format=text integer_length=6 decimal_length=2 text_format_string= guess_linktype=0 disable=0 readonly=0 ck_value= ck_default_label= element_before_label=0 options_per_row=4 allow_frontend_addtocheckbox=0 chk-allowadd-onlylabel=0 chk-savenewadditions=0 radio_element_before_label=0 allow_frontend_addtoradio=0 rad-allowadd-onlylabel=0 rad-savenewadditions=0 use_wysiwyg=0 textarea-showmax=0 textarea-maxlength=255 multiple=0 allow_frontend_addtodropdown=0 dd-allowadd-onlylabel=0 dd-savenewadditions=0 drd_initial_selection= ul_max_file_size=16000 ul_file_types= ul_directory= ul_email_file=0 ul_file_increment=0 upload_allow_folderselect=1 fu_fancy_upload=0 upload_delete_image=1 default_image= make_link=0 fu_show_image_in_table=0 fu_show_image=0 image_library=gd2 fu_main_max_width= fu_main_max_height= make_thumbnail=0 thumb_dir= thumb_prefix= thumb_max_height= thumb_max_width= imagepath=/ selectImage_root_folder=/ image_front_end_select=0 show_image_in_table=0 image_float=none link_url= my_table_data=id update_on_edit=0 date_table_format=Y-m-d date_form_format=%Y-%m-%d date_showtime=0 date_time_format=%H:%M date_defaulttotoday=0 date_firstday=0 database_join_display_type=dropdown joinType=simple join_conn_id=-1 join_db_name= join_key_column= join_val_column= database_join_where_sql= diysql= database_join_noselectionvalue= fabrikdatabasejoin_frontend_add=0 yoffset= link_target=_self view_access=0 show_in_rss_feed=0 show_label_in_rss_feed=0 use_as_fake_key=0 element_alt_table_heading= icon_folder=images/stories/food custom_link= use_as_row_class=0 filter_access=0 full_words_only=0 inc_in_adv_search=1 sum_on=0 sum_access=0 sum_split= avg_on= avg_access=0 avg_split= median_on=0 median_access=0 median_split= count_on=0 count_condition= count_access=0 count_split= )

Call stack#FunctionLocation1JAdministrator->dispatch()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/index.php:972JComponentHelper->renderComponent()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/includes/application.php:1363require_once()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/application/component/helper.php:1624JController->execute()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/components/com_installer/admin.installer.php:445InstallerController->doInstall()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/application/component/controller.php:2366InstallerModelInstall->install()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/components/com_installer/controller.php:717JInstaller->install()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/components/com_installer/models/install.php:868JInstallerComponent->install()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/installer/installer.php:3329com_install()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/installer/adapters/component.php:29310JDatabaseMySQL->query()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/administrator/components/com_fabrik/installation/install.fabrik.php:20911JError->raiseError()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/database/database/mysql.php:23112JError->raise()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/error/error.php:17113JException->__construct()/data/22/2/11/75/2011075/user/2200360/htdocs/jmadon/libraries/joomla/error/error.php:136

It seems the library and views zip files never get uncompressed and loaded. Ideas?

cmichael is offline   Reply With Quote


Old 01-31-2010, 08:15 PM   #2
cheesegrits
Support Gopher
 
cheesegrits's Avatar
 
Join Date: Aug 2007
Location: Huntsville, AL
Posts: 16,760
Thanks: 167
Thanked 527 Times in 492 Posts
cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God cheesegrits is a Fabrik God
Send a message via MSN to cheesegrits Send a message via Yahoo to cheesegrits Send a message via Skype™ to cheesegrits
Default

Wow, I don't know how we managed to this long with that error. There is indeed an error on line 208 of ./administrator/components/com_fabrik/installation/install.fabrik.php. But as we don't check for query errors, it has been silently failing all this time (it's not a critical one, it should just create the 'created by' element on our sample calendar table.).

Do you have J!'s debug mode turned on? That would explain why your installa ctually showed the error and blew up.

Until we can create a new install ZIP (Rob has to do that on his machine), try this:

unpack the main 2.0RC4 ZIP on your local machine. Edit the file I refence above, find line 208, which look like this:

PHP Code:
        $db->setQuery($fields ."(4, 'created_by', $groupid, 'fabrikuser', 'creator', 0, '0000-00-00 00:00:00', '2008-04-08 10:47:19', 62, 'admin', '0000-00-00 00:00:00', 0, 20, 0, '', 1, 0, 4, 1, 0, '', 0, 1, '', 0, 0, 0, 0, 0, '', '', '', 'rollover=\nhover_text_title=\ncomment=\npassword=0\nmaxlength=255\ntext_format=text\ninteger_length=6\ndecimal_length=2\ntext_format_string=\nguess_linktype=0\ndisable=0\nreadonly=0\nck_value=\nck_default_label=\nelement_before_label=0\noptions_per_row=4\nallow_frontend_addtocheckbox=0\nchk-allowadd-onlylabel=0\nchk-savenewadditions=0\nradio_element_before_label=0\nallow_frontend_addtoradio=0\nrad-allowadd-onlylabel=0\nrad-savenewadditions=0\nuse_wysiwyg=0\ntextarea-showmax=0\ntextarea-maxlength=255\nmultiple=0\nallow_frontend_addtodropdown=0\ndd-allowadd-onlylabel=0\ndd-savenewadditions=0\ndrd_initial_selection=\nul_max_file_size=16000\nul_file_types=\nul_directory=\nul_email_file=0\nul_file_increment=0\nupload_allow_folderselect=1\nfu_fancy_upload=0\nupload_delete_image=1\ndefault_image=\nmake_link=0\nfu_show_image_in_table=0\nfu_show_image=0\nimage_library=gd2\nfu_main_max_width=\nfu_main_max_height=\nmake_thumbnail=0\nthumb_dir=\nthumb_prefix=\nthumb_max_height=\nthumb_max_width=\nimagepath=/\nselectImage_root_folder=/\nimage_front_end_select=0\nshow_image_in_table=0\nimage_float=none\nlink_url=\nmy_table_data=id\nupdate_on_edit=0\ndate_table_format=Y-m-d\ndate_form_format=%Y-%m-%d\ndate_showtime=0\ndate_time_format=%H:%M\ndate_defaulttotoday=0\ndate_firstday=0\ndatabase_join_display_type=dropdown\njoinType=simple\njoin_conn_id=-1\njoin_db_name=\njoin_key_column=\njoin_val_column=\ndatabase_join_where_sql=\ndiysql=\ndatabase_join_noselectionvalue=\nfabrikdatabasejoin_frontend_add=0\nyoffset=\nlink_target=_self\nview_access=0\nshow_in_rss_feed=0\nshow_label_in_rss_feed=0\nuse_as_fake_key=0\nelement_alt_table_heading=\nicon_folder=images/stories/food\ncustom_link=\nuse_as_row_class=0\nfilter_access=0\nfull_words_only=0\ninc_in_adv_search=1\nsum_on=0\nsum_access=0\nsum_split=\navg_on=\navg_access=0\navg_split=\nmedian_on=0\nmedian_access=0\nmedian_split=\ncount_on=0\ncount_condition=\ncount_access=0\ncount_split=\n)"); 
and add the closing single quote, so the end of the line looks like this:

count_split=\n')");

Then, either re-ZIP it and do a normal ZIP install, or upload everything to a folder in your J! tmp dir, and do an 'install from folder'.

-- hugh
__________________
SVN Info
Unfuddle (username and password 'anonymous')
Tutorials
cheesegrits is offline   Reply With Quote
Old 01-31-2010, 11:28 PM   #3
cmichael
Junior Member
Supporter
 
Join Date: Jan 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
cmichael has not earned any Fabrik kudos yet
Default

I did have debug turned on. Let me try this fix tomorrow and I will let you know how it goes.
cmichael is offline   Reply With Quote
Old 02-08-2010, 05:07 AM   #4
assist
Junior Member
Supporter
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
assist has not earned any Fabrik kudos yet
Default Tried fix - still does not install

Tried installing zip file after fixing line 208 and rezipping and the install still does not work on either localhost (test site) or host (production site). When do you think you will have corrected install file. Both are running the same versions of Apache, MySQL, PHP, and Joomla and meet the requirements listed in your manual. By the way debug was turned on on both sites.

Last edited by assist; 02-08-2010 at 05:10 AM.. Reason: added that debug was turned on
assist is offline   Reply With Quote
Old 02-08-2010, 01:38 PM   #5
assist
Junior Member
Supporter
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
assist has not earned any Fabrik kudos yet
Default Problem with fix resolved - install now works

Redownloaded installation package and edited install file with a different editor. DO NOT USE WINDOWS NOTEPAD SUGGEST USING SourceForge's Notepad++ (it is open source and free to download and use) so as not to corrupt file.
assist is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation error Terox Fabrik 2.0 Beta Testing 3 05-22-2009 03:22 AM
I'm not able to install Fabrik component. This is my error msg paoleos Installation and Upgrading 2 04-26-2009 09:01 PM
fabrik 1.0.6 error accessing component cruxiality Installation and Upgrading 5 09-11-2008 02:07 AM
2.0b Installation Error jerryh_nc Installation and Upgrading 2 06-18-2008 01:31 PM
error after installation dcook23 Installation and Upgrading 3 06-01-2007 09:57 AM

» Unfuddle SVN
Project: Fabrik 2.x
Rev Comment
3745 fixed: J1.5.20 with mootools upgrade plugin enabled - table and form plugin code in admin section was not working fixed: js...
3744 fixed issue with emailtable plus js on send button
3743 fixed: js issues with table plugins, js issues with new mootools 1.2.4 system upgrade plugin in Joomla 1.5.20
3742 http://fabrikar.com/forums/showthread.php?t=17010
3741 j1.6 installation work - should now be installable if you make a zip with the folllowing folders: admin (for the...
3740 j16 - added update xml manifest in theory this allows for discovery and installation of upgrades to the component by...
3739 fixed: fabrikyoutube barfed if you entered an URL containing "watch?v=" which is exactly what's in a youtube URL if you copy...
3738 j1.6 fixed spelling mistake in language folder name
3737 added installation instruction file
3736 fixed: js error in email table plus
Powered by vBadvanced CMPS v3.0.0

All times are GMT. The time now is 03:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios