Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 11 of 11

This is a discussion on Will not create files... in the Shared & Semi-Dedicated forum
Hi guys, I'm about to install a php script. During the installation the script is supposed to create it's own config.php file. This isn't happening... ...

  1. #1
    JPC Member
    Join Date
    Jun 2004
    Location
    Norway
    Posts
    29

    Question Will not create files...

    Hi guys,

    I'm about to install a php script. During the installation the script is supposed to create it's own config.php file. This isn't happening... I have tried it on another server outside Jaguarpc and it works like a charm there. Can it be a server issue?

  2. #2
    JPC Member
    Join Date
    Jun 2004
    Location
    Norway
    Posts
    29
    Nobody..?

  3. #3
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    partang2,

    First perl, then php. What's next... C++, vBasic, Python? You're assuming we know what we are talking about.
    Last edited by Spathiphyllum; 06-13-2004 at 09:10 AM.

  4. #4
    JPC Guru
    Join Date
    Jan 2004
    Location
    I'm right behind you....
    Posts
    389
    If you're referring to a phpBB installation, I also have that problem. It always tells me my config.php is unwriteable when I install. It should give you the option to download it and ftp the config file in place yourself. It's irksome, but a small thing to contend with.

  5. #5
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Just change permissions of the directory where config.php file will be created. The permission should be 777.

    After installation is completed, change it back to 755.

    Let us know how it goes.

  6. #6
    JPC Member
    Join Date
    Jun 2004
    Location
    Norway
    Posts
    29
    No that doesn't help at all... Can it be something in PHP?

  7. #7
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    No.
    It's either permission issue or a wrong path.
    The reason it might work elsewhere is because a server might be running Windows or it might be configured to run PHP under your username.

  8. #8
    Jag Veteran dkadave's Avatar
    Join Date
    Sep 2001
    Location
    California, from Hawaii! Gotta love the ocean...
    Posts
    558
    PHP has no problems, I've had scripts create files just fine. Maybe you check the script? Check where it's trying to create file in(folder/path)? Check folder permissions? Check if there is a file already there, if so change the permissions to that file?

    So many stuff to look into.
    ------------------------------------------------------------------------------------------------
    http://www.dkanet.com - http://www.vi01.com
    http://www.dkahost.com
    ------------------------------------------------------------------------------------------------
    AIM: dkadave - YIM: dkadave
    E-mail: dkanet@dkanet.com
    ------------------------------------------------------------------------------------------------

  9. #9
    JPC Addict
    Join Date
    May 2004
    Location
    Leeds, UK
    Posts
    161
    This is a dangerous thing to do for your final version, but may be an idea to find out what is going wrong.

    When you do your install make everything chmod 777, from the root folder up: folders and files. See if it still kicks up the errors.

    If it doesn't it's definitely a permissions thing. If it does, post here and try something else! If it does work, simply work backwards to find the prob. I would not recommend usiong a fully chmod777 copy of anything!!!
    Orbic

  10. #10
    Ron
    Guest
    cgis will fail if they are world-writable

  11. #11
    JPC Addict
    Join Date
    May 2004
    Location
    Leeds, UK
    Posts
    161
    What are you trying to install?
    Orbic

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •