CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Employee Directory - upload fail

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.