What platform are you using to browse and upload the file. When I see this file name "/Users/JRuoto/Downloads/img044.jpg" It makes me think this is from a linux platform since windows would typically be "C:\Users\JRouto\Downloads\img044.jpg" at the time of selecting the file to upload. Have you tried re-uploading the original development web file that you created on your computer prior to uploading to the server. Some times I've seen webservers attempt to optimize files and while doing so the line breaks get all wacky breaking the files functions. Very rarely have I see that but I have seen it happen.
Thanks Albert for responding. It is on Linux - I did try uploading the original as well as recreating it from scratch and no luck. This is truly baffling. I do appreciate your time though. I have no idea why this all of the sudden started happening. Any other things I should look at?
Since this all of sudden started happening on the server, do you have a development server to test the script on to make sure it's only related to the live server?
I'm afraid I do not - here is an interesting thing though. I noticed it was running on PHP 4 - I toggled to PHP 5 and am now getting a different error, but it appears it has passed the form validation in that mode.An error occurred while inserting the records.
File upload error: Error uploading file. Missing a temporary upload folder.tNG_multipleInsert error.
An error occurred while inserting the records. (MINS_ERROR)
File upload error: Error uploading file. Missing a temporary upload folder. (FILE_UPLOAD_ERROR)
- tNG_insert.executeTransaction - execute sql
I guess I can contact my hosting company and ask about the temp file it needs and see if going from 4 to 5 will fix this - though that still sounds odd to me.
Hmmm no development server. You should consider setting one up. LAMP??? something to consider; no really, I mean it!!! haha.
No clue but it does sound odd. I inclined to say its the server but no way to check if you only have one.
Did you mix up your includes with different versions of ADDT?
Thanks Albert for all you help and you are right! No development server is a big no-no. So in another interesting twist, the hosting company updated the php.ini to include the Temp upload folder and guess what, the upload is working again! This of course does not sit well with me for I have no reason why it would work in PHP 5 and not 4 - but we are at least up and running. Of course now we wait to see if any other functionality gets effected by the switch potentially.
To answer your other question, yes perhaps the includes did get mixed and matched. I build this site on a PC running CS3 and that crashed a while back and went to a Mac running CS4 with of course the latest version of ADDT since it was not compatible with CS3. Perhaps that is waht caused all of this.
I again appreciate you taking the time to help troubleshoot! Have a great day!