Having problems installing Drupal? See the Installation Guide for more information.

Premature end of script error in multi-site configuration (v. 4.6.1)

I've seen some other discussion of this error (like in http://drupal.org/node/10682) but my situation I think is more site-specific. I have a multi-site setup running Drupal 4.6.1 with 3 sites that work fine. The one that is throwing the error is set up the same way as the others with a sites/xxxxxx directory and a properly configured settings.php file.

edit primary link FAILED aswell as search

hi,

1.
i get the following error message if i try to pree the link "edit primary link"

-> warning: mkdir(files): Permission denied in /var/www/html/drupal/includes/file.inc on line 78.

2.
i tryed to mkdir files by myself, but looks like i did it all the time in the wrong directory, still i have the error message.
i see on my server that there are some directorys in my drupal path with the following access rights
drwxr-sr-x includes

images problem

I have Drupal 4.6.0 up and running ok, however when I post an image the image does not appear on the webpage - just the image title.

When I look in the site directories, the image has been uploaded to my files/images directory and resized twice.

I have chmod the files & images directories to 777 yet no images load on the page.

If I try to change chmod on the image files themselves I get an error - and if upload the image by ftp directly to the folder and overwrite it, it appears on my Drupal page!

I'm stumped - What is going wrong!

ERROR 500

Last night i rewrite the file .htaccess from my HD to main folder of drupal in my ftp server, and then i only have this:

ERROR 500

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@100webspace.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Upgrading from PHP 4.3.2 to PHP 4.3.11 leaves all my sites blank... any PHP experts to help me? :)

Hi,

I've had to upgrade PHP from 4.3.2 to 4.3.11 in order to fix the search functionality in Drupal 4.6 (doesn't seem to work right with PHP < 4.3.4).

All of my other websites are fine, but all of my drupal sites are now blank! Going to http://mysite.com leaves me with a blank page and nothing else.

Any help, or ideas on where to start looking would be *greatly* appreciated! :)

Cheers,

s.

Where does phptemplate.engine get value for $file?

I have seen questions regarding this error and/or ones similar to it posted several times but none of the solutions that were offered have worked for me.

I am working with the phptemplate greenthing theme and getting two errors at the top of screen

phptemplate_init(themes/greenthing/template.php): failed to open stream: No such file or directory in /home/sharapk/public_html/themes/engines/phptemplate/phptemplate.engine on line 41.

and

warning: phptemplate_init(): Failed opening 'themes/greenthing/template.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/sharapk/public_html/modules/marksmarty/') in /home/sharapk/public_html/themes/engines/phptemplate/phptemplate.engine on line 41.

Line 41 in phptemplate.engine is :

if ($file = $engine_code[dirname($template->filename) . '/template.php']) {

part of this function:

function phptemplate_init($template) {
require_once(realpath('themes/engines/phptemplate/template.php'));
//tried the below per http://drupal.org/node/23407
//require_once('themes/engines/phptemplate/template.php');
$engine_code = variable_get('phptemplate_extra_logic', array());

if ($file = $engine_code[dirname($template->filename) . '/template.php']) {
include_once($file);
}
}

The template.php file resides in the themes/engines/phptemplate directory -- note that the error indicates it is being looked for in the themes/greething directory.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal