At the moment I'm integrating with threads 6.5, same as before. Later, I intend to upgrade to Threads 7, but in I'm tryong to first get photopost upgraded under the current forum. After the upgrade when I try to upload a picture, I get that error. I added echo statement in bulkupload.php to echo the variable $upuserid and it appears to be Empty (or null). my echo statement says
echo "the userid = ".$upuserid;
Are you not suppose to be running threads 7 though not threads?
You can try removing the bold code in uploadphoto.php
Content visible to verified customers only.
Chuck, I am currently running Threads 6.5.X and have my PP integrated with that. I am not ready to go live with my Threads 7 yet, and it was suggested that I first upgrade PP under my old Threads and then port it over to Threads 7 once I get it working on Threads. So for now, I am integrated with the old threads (which was working fine until I upgraded from 5.3 to 5.6.2).
Ok, I did a search and found a discussion about a similar problem and so in bulkupload.php I made the following change in line 139:
instead of userid=$upuserid
I put: userid='$upuserid'
This seems to have gotten me past THAT prolem, but now I have another:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Hmm, then my mistake must have been way back when I upgraded to 5.3 because I was running 5.3 when I upgraded to 5.6.2. So, is there any danger in re-running the scripts from 5.2 up to 5.6.2 again on current install?
Well, I re-ran the scripts and we're getting closer. I can now upload and not get that error, but on the next screen when it shows a thumbnail and has the check mark to "add picture", when I hit the button labled "process" I get this error:
Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 523, 1166378787, 'Daimler', 'Daimler', '', 'IMG_0849.JPG', 800, 600, 89362, ' at line 3
Last edited by Basil; December 17th, 2006 at 12:27 PM.
Ok, I had removed the wrong thing before. I took out the || $Globals['vbversion'] == "threads" and now it seems to be working (so far).
I'm a little confused why I would remove the code for threads, but it worked (remember I am running threads 6.5). So, when I am finally ready to move to Threads 7, should I then replace the above code for threads, but remove the code for threads7 ?