Hello All -
Complete newbie here. I have been building a site locally for the last couple of weeks. Nothing complex, just an "upload your image and post your review and rating" site. And it allows registered users to add to the existing reviews.
It's a very "barebones" site and I still have a lot of tweaking to do. I just wanted to take the uploading to the server "leap". I set up the database on the remote server and imported the local one just fine. The only issue is the list of CCK errors displaying on the homepage. I did uninstall and reinstall CCK and I still get errors.
I did look through the forum, seems this is a common problem, and found the thread mentioning the link_preview_warning.patch. That's as far as I got. I have no idea if the patch applies to my issue and I have no idea how to run a patch :)
Here is info that may help:
I am running Drupal 6.2
CCK version is 6.x-2.0-rc7
Here are the errors that show up on the homepage. Interior pages are fine.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1130.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/modules/content_permissions/content_permissions.module on line 21.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1130.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/modules/content_permissions/content_permissions.module on line 21.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
* warning: Invalid argument supplied for foreach() in /home/fractalr/public_html/grocerycritic/sites/all/modules/cck/content.module on line 1170.
Again - I know similar errors have been discussed. I did see the same issues discussed, but with an older version of CCK. If this is just a matter of running a patch please give me very detailed instructions on how to do this. Like what directory to put the patch file in, etc. This is my first Drupal attempt and I am very determined to learn this!
Thanks in advance!
Kecia
Comments
Are you using any other CCK
Are you using any other CCK Field modules such as Link?
------------------------------
http://fraggles.artsci.wustl.edu (Drupal user documentation and development blog)
I did install a custom link
I did install a custom link Module - haven't had a chance to learn how to use it. It doesn't show up in the CCK module, it shows up under Other with the DHTML menu.
I installed the Custom Link module in hopes of being able to change "Add child page" to "Post your review", but I have a feeling that will be a whole new post. :)
Info on Link Module is:
Custom Links 6.x-1.4
Thank you for your quick reply!
Kecia
If you're not using the
If you're not using the custom links module just yet, what about disabling it temporarily to see if that fixes the error you're getting? I know CCK made some changes a week or so ago that affected most of the modules that were dependent on it, so that may be the problem you're seeing (since that module hasn't had a new release in the past 6 months).
------------------------------
http://fraggles.artsci.wustl.edu (Drupal user documentation and development blog)
I went so far as to
I went so far as to uninstall - not just disable, figure I can reinstall if needed. Didn't change anything. All the errors are still there. I made sure to compare to see if any of them changed. No change at all.
Thanks
Kecia
Removed CCK - Have new issue
The solution - remove CCK
I don't think I need it as I don't have a blog or forum on my site. The only reason I installed it was because I was reading the Drupal 6 book and that mainly deals with setting up blogs and forums.
So now all the errors are gone from the home page. My new issue is, the About Us page will not show up. I have it pointing to front in the menu and the only thing showing on the homepage is n/a with the RSS feed icon below that.
Any suggestions?
Thanks
Kecia
I'm having the same after
I'm having the same after updating to last CCK (6.x-2.0-rc7).
I'm having this only for blog content type. I was suspecting an unexisting image field while the site deployment but after reactivating image module I don't see any image field in the blog content type fields, so it shouldn't come from here.. I'm pretty clueless for now. Removing contents and recreating new ones doesn't fix it as well.
I had no trouble at all with the previous version.
Went directly in MySQL to
Went directly in MySQL to remove blog nodes in the node table, for some reason some of them were not showing up in the content list but were there.
i have same problem
it occured after i changed some node data in mySQL database but not sure if that is related.