Author Topic: Installation Problems - first time using this...  (Read 1790 times)

0 Members and 1 Guest are viewing this topic.

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Installation Problems - first time using this...
« on: November 15, 2009, 02:34:22 PM »
Hi,

I came across PHP Director today and tried to install it. So i copied the contents of the PHPdirector 2.0 folder onto my server. I could not find any installation instructions anywhere, the only thing i could find was a readme file which said:

Quote
Replace All Files,

Goto yoursite.com/phpdirector/update.php

then its done

What kind of readme file is this? like replace all files with what?  then it says "It's done" but whats done? the installation? it seems to me like i'm missing some other documentation or caught the end of a paragraph or something!

It didn't appear to make any sense to me as there is no folder called phpdirector (it was a similar title but not exactly this, so i renamed the folder containing all the files to this), but also there is no file titled update.php none of this made any sense to me.

so next thing i did was go to the index.php file in my browser which brought me to an install PHP director screen, so i thought i was on track here. I got to the bit where it asks for my MySQL details to create the tables, so i guessed that i would first need to create a mysql database, so i did this and entered the details into the form,. however, my MySQL does not have any username+password to get into it, so i could not fill in these 2 fields, the form already asks for the admin username+password but i'm not uesed to getting any extra login details for my MySQL, i did try filling this part in with my main admin user+pass but still didn;t work. It kept saying failed to connect.

Can anyone help me? is there some kind of installation documentation with PHP director? are there any config files i need to be editing or stuff like this?

Any help most appreciated...

Thanks
« Last Edit: November 15, 2009, 02:37:58 PM by ruffa »

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Installation Problems - first time using this...
« Reply #1 on: November 15, 2009, 03:58:25 PM »
I think you downloaded the wrong file.

I attached the correct file....


------readme------

Upload files to directory

run http://yourdirectory.com/install

follow all instructions

and it should be all done

if you need help feel free to ask :) good luck

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #2 on: November 15, 2009, 06:14:01 PM »
Thanks for the reply, the version i had was 281kb and yours was 282kb but the one you sent was missing the readme bit, apart from that they seem exactly the same.

I did what you said on the version i already have installed on the server and went through the installation part and only got as far as the Create Tabels part for the MySQL and as explanined it asks for a Database username+password but i have never been familiar with using a username and password for my MySQL database before, i simply login via my cpanel then create a database etc. the only passwords or usernames i've ever used are my cpanel admin username+pass etc. 
Any idea where i would get a database username+password from?
Should the installation work without me filing in these 2 fields?
Do i have to manually create a mysql database in order to fill in the details it's asking me for? (i presume i do, and i have done this)

Is there any installation manual i can get?

I just can't get past this create tables part, i've filled in all the info i have but don't have a MySQL user+password. I access all my MySQL databases via my cpanel or vistapanel control.

Any help appreciated,

Thanks

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Installation Problems - first time using this...
« Reply #3 on: November 15, 2009, 07:30:46 PM »
ok to create a MYSQL on your server..

1. Log into cpanel

2. Go down to databases

3. click on MySQL databases

4. type database name into new database field - Click create database

5. Scroll down a bit to Add new user

6. Fill in the fields with the unsername and password you want (something like admin and a password (doesnt have to be admin just a example) - Click create user

7. scroll down to Add User To Database and seclect the user and database you just created - Click add

8. Check All privileges

9. There are your usrename and database you just created (then use those and the password you used for the user you created on that database to install the script)


sorry about it being so long I tried to make it clear for ya

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #4 on: November 15, 2009, 07:51:23 PM »
Thanks Jeff, will have a go at this now....


Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #5 on: November 15, 2009, 08:05:20 PM »
Tried what u said but there is no bit which says ADD NEW USER or CREATE USER in the cpanel under MySQL Databases.
I have created one and can create tables or do queries etc. but there is no option to add a user anywhere as far as i can see. I've checked everwhere i can think of. The only option i get once i create the database is either BACKUP or ADMIN, so i go into admin but this takes u to the database and all it's settings, no place to create users.

I thought all cpanels where the same as well.


Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #6 on: November 15, 2009, 08:09:59 PM »
i know i said i was using cpanel, and the control panels URL has the words cpanel in it but when i'm in the panel it says VISTA PANEL at the top, so maybe i'm actually using Vista Panel, not 100% sure.
I use Byethost if that helps...

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #7 on: November 15, 2009, 08:12:36 PM »
i also have PHPmyAdmin tool to edit the databases....

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #8 on: November 15, 2009, 08:17:57 PM »
I got it working!!!!

I searched some info on my hosts site and it says that the mysql username is the same as my login name for my webhost so i've managed to get past the bit i was stuck on,

Thanks for your help.....most appreciated

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Installation Problems - first time using this...
« Reply #9 on: November 15, 2009, 08:21:53 PM »
YAY!!!! glad to hear that you got it working...


Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #10 on: November 15, 2009, 08:24:02 PM »
Maybe i spoke to soon!

I seemed to have got past the bit where it wouldn't accept the info i gave it, it then showed up the options box where you give the name of the page it defaulted to 'Bens Videos' so i changed this, and it also asked 'How many videos per page' i left it at 10, i clicked enter and a message came up saying incorrect database name!

Eek!! but it looked like it had worked when i put the info in, i'm sure it said successfully created or somehting like that.

What is supposed to happen if i did this correctly? is it supposed to take me to some admin page or do i need to manually load up the admin or config bit?


Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #11 on: November 15, 2009, 08:25:10 PM »
this is the Url im uploading to:

XXXXXXXXXXXXremovedXXXXXXXXXXXXX

well this is the URL it's showing up right now when it gives me the incorrect database name error, still on the screen with the blue background, the install screen i think.

« Last Edit: November 15, 2009, 08:41:03 PM by ruffa »

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #12 on: November 15, 2009, 08:31:49 PM »
I'm just going through the installation process again, i've re-entered all the fields and it gives me this message:

Success, Wrote DB data to file. Success

I click continue and it takes me to the options part:

Name:  Bens Videos
Videos Per Page:  10
News:  PHP Director Just Installed
 
   Then has an edit button below, last time i lciked edit i got the incorrect database name message. Will try again

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #13 on: November 15, 2009, 08:33:30 PM »
Weird!

ok, i clicked the edit button, this time without changing the Bens Videos name, and it worked ok, got this message:

You have sucesfully installed PHP Director

You must Delete the install folder now.

You can visit the admin section where i recommend you add a category

**************

The only problem now is, will my page now be called 'Bens Videos'?? any idea how i can change this?

Offline ruffa

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
Re: Installation Problems - first time using this...
« Reply #14 on: November 15, 2009, 08:50:13 PM »
Looks like a great script..

anyway, i managed to get into the admin panel, i submitted a couple of videos, yet neither of them is showing  up, why i have no idea....

Do i need to CHMOD any of the files of folders to anything special?

Also do you have any documentation about how to edit the site to our own liking, like colours or how to change templates, this kinda thing.

One more thing, there seems to be a bug, firstly when i made the categories for the videos, it give me to blank fields, one for the category name, the second i presume is for an image URL?? i guessed this because there was the word IAMAGE and EDIT floating above the fields somewhere but didn't look like they where in the right place and the EDIt bit was not a button, just text.

When i get to view the site, there is a big grey bar blocking out the search bar, any idea what might becausing this?

Thanks