PDA

View Full Version : config.php Permissions


Leslie
01-13-2008, 06:38 AM
Hi there

Firstly, this project and its open source nature totally rocks! Thank you very much for providing such a cool utility.


I am, however, having a problem with installation of the latest version.

I followed the installation page directions and uploaded the contents of the "upload" folder. Then I surfed to the directory and it opened up a window! Yay!

So I put in my details and then clicked "install".

Got an error saying "can not install due to permissions" or something like that.

So I went into FileManager in cPanel and found the config.php file in the root directory and selected "change Permissions"...

..but this is where I get lost.

I tried all sorts of different combinations with "write" and "execute" and so on.

What, exactly, is the permission # that is required for OS-Ticket's installer to do its thang?

Much appreciated,
Leslie

4ice
01-17-2008, 04:05 PM
You should set the permission to 777, but I don't know if you have tried this already.

Leslie
01-26-2008, 11:18 AM
Thank you 4ice!

I appreciate your response. It worked no problem.

----------------------

Also, to anyone else who reads this because they got the same message, be aware that the installation page was ambiguous to me the first time I read it.

I wasn't sure if I needed to create the database beforehand or whether the installer would "create and populate the database" all by itself.

I think my original problem with permissions was that I hadn't created the database beforehand and added a user to it. THESE are the values you need in the last set of boxes for the installation, where it says "Table prefix _ott" and Host "local" (or something like that, from memory).

The next three values (database name, username and password) have to be the three values that you created when you set up the database in your cPanel.

This may be dead obvious for people who work with databases, but I'm kinda new to it and this is where I went wrong, I think.

So...

1. create your database in cPanel
2. create a user and password
3. write down these two values (username and password)
4. add that user to the database you've created
5. write down the full name of the database (cPanel will add a prefix to it--probably your Username for your ISP)

6. Use these three pieces of information to run the installer! :D