Home page
Home page
i don't know if i should use a cms as my homepage for a website, or should i code one. Maybe i should use a blog? This might of sound like gibrish so here: i cant figure out what i should use to make my home page for my website.
when i go to run setup script i get mysql error check it http://artisticwar.com/battle/setup.php
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 18
- Location: In your eye floaters.
- Contact:
hmm...can have different reasons, first make sure all database connetcion settings are properly (user, pass, databasename, host). if it still doesn't work there are 2 reasons that are likely: if you are lucky it's only a wrong path...create a file with the following content:
place it in your webspace and call it in the browser, if I remember it right you will also find the path to the MySQL socket there, if it's different from the one in the setup.php script (/var/lib/mysql/mysql.sock) edit it (in setup.php I mean).
if this is also correct it is most likely a permission problem (you can't access /var/lib/mysql/mysql.sock because you haven't the proper permissions)...in this case you will have to contact the webspace provider and ask for help...
p.s. don't forget to delete the phpinfo file afterwards, it provides a lot of info that is nothing for the public.
Code: Select all
<?php
phpinfo();
?>
if this is also correct it is most likely a permission problem (you can't access /var/lib/mysql/mysql.sock because you haven't the proper permissions)...in this case you will have to contact the webspace provider and ask for help...
p.s. don't forget to delete the phpinfo file afterwards, it provides a lot of info that is nothing for the public.