PDA

View Full Version : Install won't work


webcat
02-25-2004, 09:31 AM
just found another post which states that the CHMOD should be 777 for the files, rather than 767 or 757 as I would have thought.

it's now working!!

777 is the key!!







I am trying to install phpdig on my web server which does have php and mysql. My provider has set me up the database and I have all the passwords correct.

I have set all the permissions correctly and I still can't get phpdig to install.

I am a complete newbie to php and mysql, so don't really know what I should be doing.

when I try to set up tables only (as I know the database has already been created) I get the message :-

Can't write connexion template.

what does this mean?????


should I ask my web space provider to reset some other permissions on the actual database??

any help, greatly appreciated!

meanwhile, I'm going to read my new book, PHP and MySQL for Dynamic Web Sites by Larry Ullman.

Charter
02-28-2004, 03:48 PM
Hi. In the install.php file is the following code:

else if (!is_writable($relative_script_path.'/includes/')) {
$error .= phpdigMsg('error2');
}

The 'error2' message is the "Can't write connexion template" message.

Try making sure that the following are set to 777 permissions:

[PHPDIG_DIR]/text_content
[PHPDIG_DIR]/includes
[PHPDIG_DIR]/admin/temp