Keyword

category & item creation problem

  • eliott
  • eliott's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #71528 by eliott
category & item creation problem was created by eliott
hello, i installed (2 times) k2 to try to solve my problem without result.

when i try to create a new category, here is the message :
tablek2category::store failed - Table 'xxxxxbase.jos_k2_categories' doesn't exist SQL=INSERT INTO `jos_k2_categories` ( `id`,`name`,`alias`,`description`,`parent`,`extraFieldsGroup`,`published`,`access`,`ordering`,`params` ) VALUES ( '','hh','hh','','0','0','1','0','','inheritFrom=0\ntheme=\nnum_leading_items=2\nnum_leading_columns=1\nleadingImgSize=Large\nnum_primary_items=4\nnum_primary_columns=2\nprimaryImgSize=Medium\nnum_secondary_items=4\nnum_secondary_columns=1\nsecondaryImgSize=Small\nnum_links=4\nnum_links_columns=1\nlinksImgSize=XSmall\ncatCatalogMode=0\ncatFeaturedItems=1\ncatOrdering=\ncatPagination=2\ncatPaginationResults=1\ncatTitle=1\ncatTitleItemCounter=1\ncatDescription=1\ncatImage=1\ncatFeedLink=1\nsubCategories=1\nsubCatColumns=2\nsubCatOrdering=\nsubCatTitle=1\nsubCatTitleItemCounter=1\nsubCatDescription=1\nsubCatImage=1\nitemImageXS=\nitemImageS=\nitemImageM=\nitemImageL=\nitemImageXL=\ncatItemTitle=1\ncatItemTitleLinked=1\ncatItemFeaturedNotice=0\ncatItemAuthor=1\ncatItemDateCreated=1\ncatItemRating=0\ncatItemImage=1\ncatItemIntroText=1\ncatItemIntroTextWordLimit=\ncatItemExtraFields=0\ncatItemHits=0\ncatItemCategory=1\ncatItemTags=1\ncatItemAttachments=0\ncatItemAttachmentsCounter=0\ncatItemVideo=0\ncatItemImageGallery=0\ncatItemDateModified=0\ncatItemReadMore=1\ncatItemCommentsAnchor=1\ncatItemK2Plugins=1\nitemDateCreated=1\nitemTitle=1\nitemFeaturedNotice=1\nitemAuthor=1\nitemFontResizer=1\nitemPrintButton=1\nitemEmailButton=1\nitemSocialButton=1\nitemVideoAnchor=1\nitemImageGalleryAnchor=1\nitemCommentsAnchor=1\nitemRating=1\nitemImage=1\nitemImgSize=Large\nitemImageMainCaption=1\nitemImageMainCredits=1\nitemIntroText=1\nitemFullText=1\nitemExtraFields=1\nitemDateModified=1\nitemHits=1\nitemTwitterLink=1\nitemCategory=1\nitemTags=1\nitemShareLinks=1\nitemAttachments=1\nitemAttachmentsCounter=1\nitemRelated=1\nitemRelatedLimit=5\nitemVideo=1\nitemVideoCaption=1\nitemVideoCredits=1\nitemImageGallery=1\nitemNavigation=1\nitemComments=1\nitemAuthorBlock=1\nitemAuthorImage=1\nitemAuthorDescription=1\nitemAuthorURL=1\nitemAuthorEmail=1\nitemAuthorLatest=1\nitemAuthorLatestLimit=5\nitemK2Plugins=1\n\n' )



And when i try to create an item, it says me :
Warning: Invalid argument supplied for foreach() in /homez.63/xxxxx/www/administrator/components/com_k2/views/items/tmpl/default.php on line 65

Do you have an idea on my problem
Thanks

Please Log in or Create an account to join the conversation.

  • Chris Carlo Enterprises
  • Chris Carlo Enterprises's Avatar
  • Offline
  • New Member
More
15 years 2 months ago #71529 by Chris Carlo Enterprises
Replied by Chris Carlo Enterprises on topic category & item creation problem
I get similar problem.. and it wouldnt' let me import my articles.. This not making sense to because everything seems to be fine on my Local Test Server (WAMP server). I really like this component and I'm sure this going to be great if I can find help on these issues.

From the Dashboard..

click on the add items i get that.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/tags/tmpl/default.php on line 44

click on the categories... no warnings... but when I try to add a new category and when click on Apply... I get this..
Fatal error: Call to undefined function: mb_internal_encoding() in /home/ccarlo/public_html/administrator/components/com_k2/tables/k2category.php on line 46

click on tags... I get this warning.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/tags/tmpl/default.php on line 44

click on comments .. I get this warning..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/comments/tmpl/default.php on line 52

click on users... I get 2 warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/users/view.html.php on line 88
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/users/tmpl/default.php on line 53

click on user groups.. I get this warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/usergroups/tmpl/default.php on line 35

click on extra fields... I get 2 warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/usergroups/tmpl/default.php on line 35
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/extrafields/tmpl/default.php on line 51

click on extra field groups.. I get this warning.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/extrafieldsgroups/tmpl/default.php on line 36

System information

Check Result

Web Server Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a
PHP version 4.4.2
MySQL version 4.0.27-standard
GD image library bundled (2.0.28 compatible)
Upload limit 2M
Memory limit
Open remote files (allow url fopen) Yes
Simple Image Gallery Plugin Not installed
Simple Image Gallery PRO Plugin Not installed
AllVideos Plugin Not installed
Directory Permissions

Check Result

media/k2 Writable
media/k2/attachments Writable
media/k2/categories Writable
media/k2/galleries Writable
media/k2/items Writable
media/k2/users Writable
media/k2/videos Writable
cache Writable

I'm sure you guys can help fix or find a solution the issues I have posted, thanks.

-Chris Carlo

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #71530 by CLEMENT
Replied by CLEMENT on topic category & item creation problem
Idem
And in Mysqyl tabs doesn't exists !! We must manually create the tabs ??

tablek2category::store failed - Table 'xxxxxbase.jos_k2_categories' doesn't exist SQL=INSERT INTO `jos_k2_categories` ( `id`,`name`,`alias`,`description`,`parent`,`extraFieldsGroup`,`published`,`access`,`ordering`,`params` ) VALUES ( '','hh','hh','','0','0','1','0','','inheritFrom=0\ntheme=\nnum_leading_items=2\nnum_leading_columns=1\nleadingImgSize=Large

I use a 1and1 mutualised server... What is the problem ??

It was nice to use K2, so please help us !!!!!!


Chris Carlo said:I get similar problem.. and it wouldnt' let me import my articles.. This not making sense to because everything seems to be fine on my Local Test Server (WAMP server). I really like this component and I'm sure this going to be great if I can find help on these issues.
From the Dashboard..

click on the add items i get that.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/tags/tmpl/default.php on line 44

click on the categories... no warnings... but when I try to add a new category and when click on Apply... I get this..
Fatal error: Call to undefined function: mb_internal_encoding() in /home/ccarlo/public_html/administrator/components/com_k2/tables/k2category.php on line 46

click on tags... I get this warning.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/tags/tmpl/default.php on line 44

click on comments .. I get this warning..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/comments/tmpl/default.php on line 52

click on users... I get 2 warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/users/view.html.php on line 88
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/users/tmpl/default.php on line 53

click on user groups.. I get this warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/usergroups/tmpl/default.php on line 35

click on extra fields... I get 2 warnings..
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/usergroups/tmpl/default.php on line 35
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/extrafields/tmpl/default.php on line 51

click on extra field groups.. I get this warning.
Warning: Invalid argument supplied for foreach() in /home/ccarlo/public_html/administrator/components/com_k2/views/extrafieldsgroups/tmpl/default.php on line 36

System information

Check Result

Web Server Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a
PHP version 4.4.2
MySQL version 4.0.27-standard
GD image library bundled (2.0.28 compatible)
Upload limit 2M
Memory limit
Open remote files (allow url fopen) Yes
Simple Image Gallery Plugin Not installed
Simple Image Gallery PRO Plugin Not installed
AllVideos Plugin Not installed
Directory Permissions

Check Result

media/k2 Writable
media/k2/attachments Writable
media/k2/categories Writable
media/k2/galleries Writable
media/k2/items Writable
media/k2/users Writable
media/k2/videos Writable
cache Writable

I'm sure you guys can help fix or find a solution the issues I have posted, thanks.

-Chris Carlo

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #71531 by Julius Kramer
Replied by Julius Kramer on topic category & item creation problem
I get exactly the same problem. Are there any solutions for that?

I`d really like to use K2 - but in this way it's not gonna work at all.

Please help!

Thank you
Julius

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #71532 by Frank Stratmann
Replied by Frank Stratmann on topic category & item creation problem
OK, Here is the next one!

I run K2 at two instances. The first of all, no problem.
At the second one, the above issues are coming up, after every new installation. Could there be help or is this our k2 death?

This are the two Warning messages I get responded after a new complete installation:
Warning: Invalid argument supplied for foreach() in /homepages/19/d11779911/htdocs/[...]/cms/libraries/joomla/database/database/mysql.php on line 678

and ...

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/19/d11779911/htdocs/[...]/cms/administrator/components/com_k2/install.k2.php on line 72

For security I merged a [...] in the path. But the problem should be able to create. Thanks

Bye
Frank

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #71533 by klinkz
Replied by klinkz on topic category & item creation problem
Hi,

not sure if it my help (have half a bottle of vodka into the body..it's a long story...)
but maybe this would help
www.gnomeontherun.com/downloads/
content to k2

Cheers
Attachments:

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #71534 by Frank Stratmann
Replied by Frank Stratmann on topic category & item creation problem
Morning!

I solved the problem for myself by changing the database to the version 5. Perhaps it helpf others, die get this problem logged. to be on the safe side, I changed the php-version too by modifying my .htaccess.

Nice Weekend.

Frank Stratmann said:OK, Here is the next one!
I run K2 at two instances. The first of all, no problem.
At the second one, the above issues are coming up, after every new installation. Could there be help or is this our k2 death?

This are the two Warning messages I get responded after a new complete installation:
Warning: Invalid argument supplied for foreach() in /homepages/19/d11779911/htdocs/[...]/cms/libraries/joomla/database/database/mysql.php on line 678

and ...

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/19/d11779911/htdocs/[...]/cms/administrator/components/com_k2/install.k2.php on line 72

For security I merged a [...] in the path. But the problem should be able to create. Thanks

Bye
Frank

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum