cindyd Posted July 12, 2003 Share Posted July 12, 2003 Hi: I am really confused. I already have Mysql, PHP and Apache installed and have been running a forum for a couple of years already. So, there is an existing database, etc. It was set up before I came on board and I am learning all this stuff recently. I uploaded all the files, CHMOD the permissions. But now I am stuck, if I try to go to catalog/install/install.php, I get a window that says this: You don't have permission to access /catalog/install/install.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.27 Server at www.glassmavenhaven.com Port 80 I keep looking at the instructions and I just can't see where I have gone wrong, unless it is in the part about "create your database" Which I would if I knew how. I did download the configure.php file and that doesn't have any info in it, and I think it should. Can someone enlighten me? I have the admin folder inside the catalog folder which is in my public_html directory. Thanks in advance. Cindyd Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 I would check the permissions of the catalog and install directories again and the permissions of install.php. For testing purposes, try 777 for each (this is wrong, but should work). If it still doesn't work, I'm wondering if you might need to change something in httpd.conf to recognize that the catalog sub-directory should be accessible. Normally you wouldn't, but maybe you have a rule in there from your existing site that is causing a problem. Good luck, Matt Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 Hi Matt: I changed those, but still get the same error. You lost me with this " httpd.conf" What should I try next? Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 looks like you found the problem Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 No, I haven't found the problem, I still can't install anything or access the pages. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 Is this on your own machine or a hosting provider ? The_Bear Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 I got it going now. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 What was it? chown to user? Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 I have no idea.....but now I am stuck on the very first step. I keep getting this message: A test connection made to the database was NOT successful. The error message returned is: Access denied for user: '[email protected]' (Using password: YES) Please click on the Back graphic to review your database server settings. I am so frustrated. Link to comment Share on other sites More sharing options...
radders Posted July 12, 2003 Share Posted July 12, 2003 You probably have to create the database first. Try using Phpmyadmin to do this or maybe you don't have permission to create a new database. Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 I created the new database and gave it the same user as my other database and gave it the permissions. Now I am banging my head on the desk trying to figure out what is wrong. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 Is you server Unix or Unix-like? Do you have SSH/Telnet access? If so, go to the level above to your public web directory, let's say your path is something like: /home/cindyd/public_html you would go to /home/cindyd/ and type this at the prompt: chown -R cindyd.cindyd public_html That would give you ownership of the whole public_html and sub-directories structure. And would make your pages web-visible. I have found that in my server, if the root owns the files, usually they can't be seen via web. Please feedback. cheers, Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 Hi Nugar: This is the server info: Operating System Linux Kernel Version 2.4.20-1-grsec Apache Version 1.3.27 (Unix) Perl Version 5.006001 PHP Version 4.3.2 MySQL Version 3.23.56 Path to Perl /usr/bin/perl Path to sendmail /usr/sbin/sendmail Aletia Panel Version 2.0b1 Cpanel Version 6.4.2-STABLE 75 I don't understand about the prompt you mentioned. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 Do you have access via SSH or Telnet? If you don't have it, you won't be able to access the prompt, which looks as an old DOS window. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 Ok, forget about the prompt, I just re-read the thread and realized you can already access the install directory. Now, you need to put the correct data to access your database. As I read, you already have a database created, an user created and the user added to the database, right? Now, when entering the user and db name remeber that they have a prefix. So let's say your account is cindyd, and you created an user names OSC, you will probably have to tell the installer that the user is: cindyd_OSC The same goes for the database, it will be cindyd_something Also, remember that the host name is "localhost" I hope this helps you, as I have to run now :( Please feedback cheers, Link to comment Share on other sites More sharing options...
cindyd Posted July 12, 2003 Author Share Posted July 12, 2003 I give up. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.