|
|
|
|
Installing the Tell-a-Friend script (PHP version) FAQ
Where are the instructions? |
| Question: Where can I find the instructions or installing this script? | Answer: You can find the installation instructions in the readme.txt file included in the .zip file. Note that installation should be extremely simple, it's really just a matter of deciding where you want the script and uploading it there.
|
Problem with the script creating directories |
Question: Hi,
I called for the gbook.php and got the following error messages on my browser.
Warning: mkdir() [function.mkdir]: Permission denied in /home/[username removed]/public_html/dir/index.php on line 28
Warning: mkdir() [function.mkdir]: No such file or directory in /home/[username removed]/public_html/dir/index.php on line 28
Warning: fopen(anibook/data/settings.txt) [function.fopen]: failed to open stream: No such file or directory in /home/[username removed]/public_html/dir/index.php on line 28
Warning: file(anibook/data/head.txt) [function.file]: failed to open stream: No such file or directory in /home/[username removed]/public_html/dir/index.php on line 28
Warning: Invalid argument supplied for foreach() in /home/[username removed]/public_html/dir/index.php on line 28 I was unable to open the data file for writing.
| Answer: My scripts are designed to create the directories that they need to operate. In most situations, this will go off without a problem -- however, some servers may restrict the abilities of scripts to create directories which can cause a problem.
The first thing to do is to make sure that the directory that the script is in, as well as the script itself, have their permissions set to 755. This is read/write/execute for the owner, read and execute (but not write) for group and public.
If that fails to fix the problem, you may need to create the directories manually.
|
Ask a question |
|
|
|