PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I’m new here and I had a nooby question and since there are a lot of php experts here I hope someone can help me out.
I’m trying to install a php script on my domain. My domain name is hosted by dreamhost.
During installation of the script it asks me to enter the
Base Path (ends with /)
So I enter /home/username/domainname/
Where I enter my user name and domain name instead. It says that path is wrong. I tried all possible combinations and I’m just sick and tired. Anyone have any idea what I’m doing wrong?
What folder are you installing to? You can try throwing down a path of '/' for your server root path, or for a subfolder, you can try '/subfolder/'. Not sure if it will work, but it is worth a shot.
Everah wrote:What folder are you installing to? You can try throwing down a path of '/' for your server root path, or for a subfolder, you can try '/subfolder/'. Not sure if it will work, but it is worth a shot.
Thanks for your reply Everah,
I'm trying to install it to my main domain so there is no subfolder
You might want to take the links down. Are all the files that you are needed for this thing to run in your base path? I noticed that when I got through to the point where you are having a problem and it is saying that the files are not in that specified path. If the files are there, there may be a problem with the script installer.
PS I noticed that the nicecoder.com website is down. I wonder if maybe they are a tad shady?
Everah wrote:You might want to take the links down. Are all the files that you are needed for this thing to run in your base path? I noticed that when I got through to the point where you are having a problem and it is saying that the files are not in that specified path. If the files are there, there may be a problem with the script installer.
PS I noticed that the nicecoder.com website is down. I wonder if maybe they are a tad shady?
- It checks for the file called "indexu_exe.idf" and this file and all other files are in the base path. I double checked this several times. Here is even the link to the file:
http://****.com/indexu_exe.idf
- nicecoder is well known. It's just a coincidence that their website is down. Unless the code trys contacting the website somehow but I don't think that's the problem here.
- Here is the part of the code that does the checking:
// check executable files inside base_path
if (!$handle = opendir($HTTP_POST_VARS["base_path"]))
{
$err = "Base path " . $_POST['base_path'] " was not able to be opened...<br />";
}
while ($file = readdir($handle)) {
echo $file . "...<br />";
if ($file=="indexu_exe.idf") { $found_exe=true; }
}
closedir($handle);
This is going to echo out quite a bit of information about your files and system, so once it is up, test it and see what might be getting returned by the app. Once you get the info, change the code back to the original.