CHMOD

Dr. GBooky is here to help you with your guestbook problems ...
Locked
FruitBeard
Posts: 38
Joined: Thu Jul 21, 2005 6:25 pm

CHMOD

Post by FruitBeard »

Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

To save you having to manually chmod files,as some have had dificulties, try this.

find inside gbook.php this code
require_once('settings.php')
and place below it this code:
chmod ($settings['logfile'], 0666);
FruitFully yours

http://www.fgps.com/keith/
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Stickied.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
FruitBeard
Posts: 38
Joined: Thu Jul 21, 2005 6:25 pm

Post by FruitBeard »

Hello there all,

The return of the beard...

Refering to the 1st post of this thread.

find inside gbook.php
require_once('settings.php')
and place underneath
if ($settings['system'] == 1) chmod ($settings['logfile'], 0666);
this will just not give errors with windows sever.
FruitFully yours

http://www.fgps.com/keith/
CanadianQueenie
Posts: 1
Joined: Sun Sep 28, 2008 6:41 pm

Post by CanadianQueenie »

FruitBeard wrote:Hello there all,

The return of the beard...

Refering to the 1st post of this thread.

find inside gbook.php
require_once('settings.php')
and place underneath
if ($settings['system'] == 1) chmod ($settings['logfile'], 0666);
this will just not give errors with windows sever.
I did this and I also did the 666 within Filezilla and still getting the same error.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Then you are probably on a Windows server. Open a new topic and post your phpinfo file (you will find it in the "read this before posting a new topic" post) so we can have a look. I will lock this topic now as I don't want it to become a list of "I have the same problem" replies :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked