LILHOMIE wrote:
I have a folder in my pages folder called upload. Deleted the few links that I had from my directory and readded them.
Changed the add.cgi and modify.cgi to <form action="<%db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">
I do not know where I can get an updated Template.pm. According to the template.pm I have it is version 2.01
I have the link in detailed.html not link so I did not do thie link.html change.
I added upload_url change to add and modfy form in site html template.pl
I added Image_1 and the others to add and modify globals.
Under modify I still receive this error To replace an existing image you need to check the 'delete image' box.
when I add a fresh link from add.cgi it works. picture loads up. and it show up on the detailed page.
thanks for helping me on the add. part
And on the add part it does not have the ID number.
So now any ideas on the modify part? I'll post all the code that I am using in the next post. I originally thought it was because I did not modify the links in the links.db, but since I deleted them all and readded, and still receiving the same error I am lost. Like I said I will post all the code that your modification is attached too. Thanks in advanced for your help. I am almost done modifying the Links Directory, then I can start adding the real links.
Ok, when I don't do anything with modifying the pictures, I get this error Missing the ID, URL, or Contact Email address of the resource to modify.