Jump to content

custom form


Recommended Posts

HELLO everybody 

I look for adding New form for customer in order detail page to uploading files, can any body help me in my last steps?

 so what i need to do is:

+adding form in order detail page : done

+adding field to order details table (id_file_customer) :done

+adding table to database file_customer(id_file_customer,destination):done

+adding folder to store the files in it :done

+override the order detail class adding $id_file_custome attribute and override the create function : done

+ adding PHP file to execute the form action destination and store the tmp file in session : ERROR (1)

+if order validate move_uploded_file to destination and save in database :NOT DONE YET

ERROR 1 :<form action="{$base_dir}override/classes/order/piece.php" method="post" enctype="multipart/form-data">


You don't have permission to access /override/classes/order/piece.php on this server.

i change the URL<form action="{$base_dir}fr/override/classes/order/piece.php" method="post" enctype="multipart/form-data"> andi get this notice

page introuvable

Notice: Trying to get property of non-object in C:\wamp\www\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 50



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...