Jerry
|
| Posted: 12/23/2002, 6:36 PM |
|
I have downloaded the Employee Directory with picture upload, but when I attempt to upload a picture the following error displays. Help !!!!
PHP & MYSQL
Warning: open_basedir restriction in effect. File is in wrong directory in /home/ictdesicom/public_html/EmpsRecord.php on line 32
Warning: Cannot add header information - headers already sent by (output started at /home/ictdesicom/public_html/EmpsRecord.php:32) in /home/ictdesicom/public_html/EmpsRecord.php on line 54
|
|
|
 |
Jerry
|
| Posted: 12/25/2002, 2:47 PM |
|
Solved problem
Open_dir restriction means server will not allow "copy" function but changed to "move_uploaded_file" in line 32
line 54 is due to virtual server hosting changed
"location: AdminPropertyRecord.php?item_id=" . CCGetSession("item_id", ""));"
to
"home/domain_name/public_html/estate/AdminPropertyRecord.php?item_id=" . CCGetSession("item_id", ""));"
Works ok now
|
|
|
 |
|