I am trying to install a myspace script on my server. I am getting errors on every page except the main page, such as "Warning: main(ROOT_DIR/include/db.php): failed to open stream: No such file or directory in...." My website is 4profiles.net. Can someone familiar with this script please tell me how this is fixed? I have never had a problem like this before with any other scripts. I tried editing the config.php file in many ways and I still get this error. I'm not sure if the problem is because I am running it on a windows server.
Judging from the error, the program cannot find the file because it cannot find the directory "ROOT_DIR/include/" If you have a variable which equals "ROOT_DIR" in the configuration file, I would change that to the actual root directory on your machine for the site. For instance, "c:/mywebsite" if the files are located in the directory "c:/mywebsite/include"
I tried that and still got the same error. I think I need linux and apache. I don't think it's ISS and windows compatible. Does anyone know if this is the case or had the same problem? I have installed the free script without problem.
I have the same script. Make sure that file is uploaded. For some reason my upload kept cutting that folder upload out, for some unknown reason.
It turns out this script needs apache to run. It does not work on IIS. After changing to a linux server it works. Thanks