[Solved] Site won't load Fatal error: Call to undefined function node_load

I was backing up a client's site using Filezilla. I viewed the index.php to insure I was in the proper directory, I also viewed includes/sites/all. To my knowledge I edited, and saved nothing.

Now the site loads with the following error.

Fatal error: Call to undefined function node_load() in /data/23/2/124/136/2287462/user/2513700/htdocs/includes/menu.inc on line 593

The site is 4pt0.org It's currently running 7.1.7

Please helo

Webform: Double-Opt-In E-Mail-Address

Hi Drupal-fans,

I would like a user to confirm his e-mail-address so that I can use it for e-mail-marketing.

how to let the user to enable more upload fields including text field

I would like to allow users to add more than one file to a content type, including a text description field.
I can set the maximum number of files with
Structure > Content Types > type?? > Edit > Manage Fields > Image > Edit > Number OF Values

How can I enable additional text fields for each image or file uploads like:

Label Machine name Field type Widget
Document field_document File File
Image field_image image image

[SOLVED]Printing a block in node.tpl.php

Would appreciate it if someone could let me know how to print a block in node.tpl.php. I basically have a block created through a view and I haven't set a region for that block as I would like to do is display this block in a specific position in all my node pages. I tried rendering the block in my custom theme's template file in the mytheme_preprocess_node function and then printing it in my node.tpl.php file. However, that is not working for me. Is it too late to render a block in the preprocess_node function?

Updating with custom changes

Not sure whether to post this here or in the module upgrade section.
I've made a few sites with Drupal, but have not done a lot under the hood. I am need of modifying a module (php) in the sites folder. No problem, I know what I need to do to make it work. My question is that I have read stay out of the core, but changes in site are okay. Stupid question, if a module needs updating, are my changes at risk of being overwritten? I have had the luxury of simply updating modules. Will I need to start engaging in version control?

How to find and delete unlinkt files on yur drupal server

Hello

I believe I have a lot of files that are no longer linkt to nodes. Nor as attachments nor in the body.

But they ar still found by google.

How can I find al thes files en delete them.

Anyone an idea? Maybe a module that can fix my problem?

Thanx
Sylvie

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x