April 7th, 2013, 04:06 PM
Php direcotry not found error
i have a config.php for a script:
what am i supposed to put in $directory line?
/* Database config */
$db_host = '';
$db_user = '';
$db_pass = '';
$db_database = '';
/* End config */
/* File directory: */
anything i put it gives me this error when i want to use this script:
"There is an error with your file directory!"
the php file is placed in a folder named "cntr"
so i put 'cntr/' in the directory line but it still says error
April 7th, 2013, 05:10 PM
You'll have to check with whoever wrote the script. Obviously a computer has a lot of directories on it, and we have no idea which one the script is looking for.
April 8th, 2013, 08:17 AM
If I had to guess given the 2 clues you've given, I bet it's a directory for uploaded files, which should be something like 'images' and then there should be an 'images' folder inside the folder with that script, and that folder should be read/writable by PHP.
Though the manual for this software would be more helpful than my random guess.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.
April 8th, 2013, 03:02 PM
yup you r right! thanks alot