I’m very new to PHP and PHPHVMS in particular. I host my website on bluehost and am encountering a problem with accessing my newly created database. I used to have another php system on my website which someone else designed for me but I decided to opt for PHPVMS because of the opportunities it has to offer.
Now, to be honest, the install guide isn’t much helpful and after having looked in this forum, all request for help was either answered specific to the host type (which is why I mentioned my host) or was re-directed to the primary guide - but that’s the reason why we resort for help to these forums. That aside, I would like to know how I should exactly fill out the installer with the correct type of data. eg.:
Database: It’s ok, I just copied and pasted the exact name in the installer - I had a new database created for PHPVMS
Database Server: By default, it’s set to “localhost” - I tried replacing it with “bluehost”, but no luck
Database Username: Same as Database, I copied and pasted it.
Database Password: I input exactly the same password as I specified for the database itself
Database Type: Mine is MySQL so I left to the default MYSQL
Table Prefix: By default it’s phpvms_ should I leave it like so or do I have to change it to correspond with something?
Most if not all hosts, give you a database name such as host_databasename and a user name like host_username, localhost is the usual, make sure that the php version your host has is php5 it might not work with php4 but i dont really know for sure if that would stop it from installing. table prefix is just the prefix the tables in the database will have, that won’t stop an installation from being successful. You could give the prefix kreums_ and it would still be a successful install.
Ok, I changed the server to localhost, got the green light and went ahead completing the setup. However, when I try to proceed to the admin page, I get this error:
Generated Wed, 06 May 2009 09:17:04 GMT by proxy.um.edu.mt (squid/2.5.STABLE14)
From what I could understand, localhost is litteraly local in that it’s not the default PHPVMS location on my website but the very PC I am using. Am I right?
no, localhost is just a generic thing that most hosts use for mysql databases as the mysql databases reside on the same server as the files. What is most likely happening is the upload didn’t upload some files, try re uploading them.
No can do, I keep getting access denied when I specify the right criteria. only localhost will do. Is it because of bluehost?
My honest opinion, if anything is missing, then it’s not out of the upload procedure, but because it was already missing prior to the download.
I’d say the problem lies with the specification of the host server. everything except that is working. Does anyone know what the server name for bluehost is? Do I have to put in a URL? Or an IP?
Email your host and see, but you didn’t understand my last reply, i just explained that localhost means that the database server and the files are all located on the same server.
Sorry for all the troubles! Let’s see if we can help
You should use “localhost” for the database, unless your host specifies otherwise. Localhost means it’s using that local computers IP address, since the web server and database server are on the same server.
The table prefix is just that - a prefix to use in the mysql tables. People sometimes use the database with multiple applications, the prefix is to make sure two different programs don’t use the same tables and cause a conflict.
In your core/local.config.php, make sure the SITE_URL is correct, though it seems as though your site did install, so it should be correct