I have a bit of a problem: I have installed an encrypted script. The site can integrate with the database from its directory off the main root; however, the admin panel (in the sub directory /admin off the installation directory can not contact the database. All files have full (777) permissions. Is it the HOSTS table in MySQL that is stopping my sb directory from working correctly, or is it some other problem? I am right in saying that creating an OBDC is pointless as that is to do with connecting to the database instead of by normal PHP channels (just checking) If anyone has had this problem or knows what im doing wrong I would greatly appreciate your expertise. Thanks in advance
I cant - its encrypted! The link is: http://www.premiervillasinthesun.co.uk/Bookings/index.php (works fine) all sub directories: http://www.premiervillasinthesun.co.uk/Bookings/admin/index.php http://www.premiervillasinthesun.co.uk/Bookings/affiliate/index.php http://www.premiervillasinthesun.co.uk/Bookings/caretaker/index.php dont work. I have emailed the provider of the script, but they are not very quick at answering. ?? Thanks in advance.
Sorry, what it means "don't work"? They show a blank page? They give you an error? If so, what is it? I get this error on the subdirectory pages: "The page isn't redirecting properly" - and that shouldn't have anything to do with MySQL...
Do you have any idea what may be wrong, for instance: if you were to go to www.premiervillasinthesun.co.uk/Bookings (not /index.php) the script does not load. Will this have something to do with it? The fact that the server does not accept the php extension as able to go to it (index.php) directly? PS: Its on a Windows Server. Thanks 4 all your help picouli btw !!
By 'Windows Server' do you mean IIS or Apache on Windows? Because if it's IIS, it doesn't support htaccess / mod_rewrite which is probably what's being used to channel everything back to index.php...
This definitely looks like a server configuration problem, not a PHP one - and what the server is? If it's IIS you are in tough luck (from me, at least...) as I don't know a think about that Microsoft stuff...
er, yeh - it is IIS. would you suggest transferring to Apache/Linux? thinking about it - i heard that windows servers do mess up on certain issues - maybe this is one, but on my old server it didnt (!!!). the script doesnt use htaccess files - i checked that first.